public class ConformanceTestExtendedCrudClassServiceWriter extends ConformanceTestBaseCrudClassServiceWriter
MockImplServiceWriter.MethodType
H1_COMMENT_CHAR, H1_COMMENT_MARK_LENGTH, ROOT_PACKAGE
finder, methods, model, servKey
Constructor and Description |
---|
ConformanceTestExtendedCrudClassServiceWriter(ServiceContractModel model,
String directory,
String rootPackage,
String servKey,
List<ServiceMethod> methods,
boolean isR1) |
Modifier and Type | Method and Description |
---|---|
static String |
calcClassName(String servKey)
Given the service key (name), returns a calculated class name for the conformance tester.
|
void |
write()
Write out the entire file
|
void |
writetestCrudXXX_setDTOFieldsForTestCreate(String dtoObjectName,
List<MessageStructure> messageStructures)
Writes the section to set fields specific to this dto for testCreate section.
|
void |
writetestCrudXXX_setDTOFieldsForTestReadAfterUpdate(String dtoObjectName,
List<MessageStructure> messageStructures)
Writes the section to set fields specific to this dto for testReadAfterUpdate sections.
|
void |
writetestCrudXXX_setDTOFieldsForTestUpdate(String dtoObjectName,
List<MessageStructure> messageStructures)
Writes the section to set fields specific to this dto for testUpdate sections.
|
void |
writetestCrudXXX_testDTOFieldsForTestCreateUpdate(String dtoObjectName,
List<MessageStructure> messageStructures)
Writes the section to test fields specific to this dto for testCreate and testUpdate sections.
|
void |
writetestCrudXXX_testDTOFieldsForTestReadAfterUpdate(String dtoObjectName,
List<MessageStructure> messageStructures)
Writes the section to test fields specific to this dto for testReadAfterUpdate sections.
|
calcNamesOfDTOsWithCrudManagedByService, calcPackage, doTestImportsAdd, filterServices, getDtoObjectNamesWithCrud, indentPrintDecoratedComment, indentPrintDecoratedComment, isServiceMethodTestedAsPartofCrudInBaseConformanceTest, writeTestCreate, writeTestCrud, writeTestDelete, writeTestReadAfterUpdate, writeTestUpdate
calcMethodType, calcObjectName, calcServiceInterfaceClassName, fixServKey, initLower
closeBrace, getBody, getClassName, getDirectory, getFileName, getPackageName, getRootDirectory, importsAdd, indentPrintWrappedComment, openBrace, setPackageName, writeHeader, writeImports, writeJavaClassAndImportsOutToFile
decrementIndent, escapeXML, getIndent, getOut, incrementIndent, indent, indent, indentPrint, indentPrintln, print, println, setIndent, setOut, writeAttribute, writeComment, writeCommentBox, writeTag, writeTag
public ConformanceTestExtendedCrudClassServiceWriter(ServiceContractModel model, String directory, String rootPackage, String servKey, List<ServiceMethod> methods, boolean isR1)
public static String calcClassName(String servKey)
public void write()
write
in class ConformanceTestBaseCrudClassServiceWriter
public void writetestCrudXXX_setDTOFieldsForTestCreate(String dtoObjectName, List<MessageStructure> messageStructures)
writetestCrudXXX_setDTOFieldsForTestCreate
in class ConformanceTestBaseCrudClassServiceWriter
public void writetestCrudXXX_testDTOFieldsForTestCreateUpdate(String dtoObjectName, List<MessageStructure> messageStructures)
public void writetestCrudXXX_setDTOFieldsForTestUpdate(String dtoObjectName, List<MessageStructure> messageStructures)
writetestCrudXXX_setDTOFieldsForTestUpdate
in class ConformanceTestBaseCrudClassServiceWriter
public void writetestCrudXXX_testDTOFieldsForTestReadAfterUpdate(String dtoObjectName, List<MessageStructure> messageStructures)
public void writetestCrudXXX_setDTOFieldsForTestReadAfterUpdate(String dtoObjectName, List<MessageStructure> messageStructures)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.