Modifier and Type | Class and Description |
---|---|
class |
XmlWriter
Supports creation of an XML document stream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MocoServerTestWriter.writeConfigDependencies(IndentedWriter targetWriter)
Writes server configuration dependencies to the given stream.
|
protected void |
MocoServerTestWriter.writeConfigInit(IndentedWriter targetWriter)
Writes server configuration initializations to the given stream.
|
protected void |
MocoServerTestWriter.writeConfigRule(IndentedWriter targetWriter)
Writes the server configuration TestRule to the given stream.
|
protected void |
MocoServerTestWriter.writeDeclarations(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test declarations to the given stream.
|
protected void |
MocoServerTestWriter.writeDependencies(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test dependencies to the given stream.
|
void |
MocoServerConfigPojo.PojoWriter.writePojo(String serverName,
IndentedWriter targetWriter)
Writes the Mojo API code to configure the given server.
|
protected void |
SocketServerTestWriter.writePojoDependencies(IndentedWriter targetWriter)
Writes the target test dependencies for the POJO server configuration to the given stream.
|
protected void |
RestServerTestWriter.writePojoDependencies(IndentedWriter targetWriter)
Writes the target test dependencies for the POJO server configuration to the given stream.
|
protected abstract void |
MocoServerTestWriter.writePojoDependencies(IndentedWriter targetWriter)
Writes the target test dependencies for the POJO server configuration to the given stream.
|
protected void |
HttpsServerTestWriter.writePojoDependencies(IndentedWriter targetWriter)
Writes the target test dependencies for the POJO server configuration to the given stream.
|
protected void |
HttpServerTestWriter.writePojoDependencies(IndentedWriter targetWriter)
Writes the target test dependencies for the POJO server configuration to the given stream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RestAssuredTestCaseWriter.writeAuthDef(String testName,
AuthDef authDef,
IndentedWriter targetWriter)
Writes a request authentication definition for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeAuthDefs(String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes request authentication definitions for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeBody(String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes the request body for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeBodyBinary(String testName,
DataValue<?> value,
IndentedWriter targetWriter)
Writes the request body as a byte array for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeBodyForm(String testName,
MessageData body,
IndentedWriter targetWriter)
Writes the request body as an
application/x-www-form-urlencoded form for a target test case to the given stream. |
protected void |
RestAssuredTestCaseWriter.writeBodyMultipart(String testName,
MessageData body,
IndentedWriter targetWriter)
Writes the request body as
multipart/form-data form for a target test case to the given stream. |
void |
RestAssuredTestCaseWriter.writeClosing(String testName,
IndentedWriter targetWriter)
Writes the closing for target test cases to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeCookieParam(String testName,
ParamData param,
IndentedWriter targetWriter)
Writes a cookie parameter definition for a target test case to the given stream.
|
void |
RestAssuredTestCaseWriter.writeDeclarations(String testName,
IndentedWriter targetWriter)
Writes the declarations for target test cases to the given stream.
|
void |
RestAssuredTestCaseWriter.writeDependencies(String testName,
IndentedWriter targetWriter)
Writes the dependencies for target test cases to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeExpectResponse(String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes response expectations for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeHeaderParam(String testName,
ParamData param,
IndentedWriter targetWriter)
Writes a header parameter definition for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeMultipartPart(String property,
DataValue<?> value,
EncodingData encoding,
IndentedWriter targetWriter)
Writes the content of the
multipart/form-data part for the given body object property. |
protected void |
RestAssuredTestCaseWriter.writeParam(String testName,
ParamData param,
IndentedWriter targetWriter)
Writes a request parameter definition for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeParams(String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes request parameter definitions for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writePathParam(String testName,
ParamData param,
IndentedWriter targetWriter)
Writes a path parameter definition for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeQueryParam(String testName,
ParamData param,
IndentedWriter targetWriter)
Writes a query parameter definition for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeRequest(String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes the request definition for a target test case to the given stream.
|
protected void |
RestAssuredTestCaseWriter.writeResponseHeadersDef(String testName,
IndentedWriter targetWriter,
BaseTestCaseWriter.Depends dependencies)
Writes the definition of standard methods to extract response headers.
|
protected void |
RestAssuredTestCaseWriter.writeServer(String testName,
URI testServer,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes the server URI for a target test case to the given stream.
|
void |
RestAssuredTestCaseWriter.writeTestCase(String testName,
URI testServer,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes a target test case to the given stream.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JavaTestWriter.writeClosing(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test closing to the given stream.
|
void |
TestCaseWriter.writeClosing(String testName,
IndentedWriter targetWriter)
Writes the closing for target test cases to the given stream.
|
protected abstract void |
TestWriter.writeClosing(T target,
String testName,
IndentedWriter targetWriter)
Writes the target test closing to the given stream.
|
protected void |
JavaTestWriter.writeDeclarations(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test declarations to the given stream.
|
void |
TestCaseWriter.writeDeclarations(String testName,
IndentedWriter targetWriter)
Writes the declarations for target test cases to the given stream.
|
protected abstract void |
TestWriter.writeDeclarations(T target,
String testName,
IndentedWriter targetWriter)
Writes the target test declarations to the given stream.
|
protected void |
JavaTestWriter.writeDependencies(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test dependencies to the given stream.
|
protected void |
AnnotatedJavaTestWriter.writeDependencies(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test dependencies to the given stream.
|
void |
TestCaseWriter.writeDependencies(String testName,
IndentedWriter targetWriter)
Writes the dependencies for target test cases to the given stream.
|
protected abstract void |
TestWriter.writeDependencies(T target,
String testName,
IndentedWriter targetWriter)
Writes the target test dependencies to the given stream.
|
protected void |
TestWriter.writeEpilog(T target,
String testName,
IndentedWriter targetWriter)
Writes the target test epilog to the given stream.
|
protected void |
JavaTestWriter.writeOpening(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test opening to the given stream.
|
protected abstract void |
TestWriter.writeOpening(T target,
String testName,
IndentedWriter targetWriter)
Writes the target test opening to the given stream.
|
protected void |
TestWriter.writeProlog(T target,
String testName,
IndentedWriter targetWriter)
Writes the target test prolog to the given stream.
|
protected void |
TestNgTestWriter.writeTestAnnotation(JavaTestTarget target,
String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes the annotation for a target test case to the given stream.
|
protected void |
JUnitTestWriter.writeTestAnnotation(JavaTestTarget target,
String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes the annotation for a target test case to the given stream.
|
protected abstract void |
AnnotatedJavaTestWriter.writeTestAnnotation(JavaTestTarget target,
String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes the annotation for a target test case to the given stream.
|
protected void |
TestNgTestWriter.writeTestAnnotationDependencies(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test annotation dependencies to the given stream.
|
protected void |
JUnitTestWriter.writeTestAnnotationDependencies(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test annotation dependencies to the given stream.
|
protected abstract void |
AnnotatedJavaTestWriter.writeTestAnnotationDependencies(JavaTestTarget target,
String testName,
IndentedWriter targetWriter)
Writes the target test annotation dependencies to the given stream.
|
protected void |
AnnotatedJavaTestWriter.writeTestCase(JavaTestTarget target,
String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes a target test case to the given stream.
|
void |
TestCaseWriter.writeTestCase(String testName,
URI testServer,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes a target test case to the given stream.
|
protected void |
TestWriter.writeTestCase(T target,
String testName,
RequestCase requestCase,
IndentedWriter targetWriter)
Writes a target test case to the given stream.
|
protected void |
TestWriter.writeTestCases(T target,
String testName,
List<RequestCase> requestCases,
IndentedWriter targetWriter)
Writes the target test cases to the given stream.
|
Modifier and Type | Method and Description |
---|---|
static void |
TestCaseWriterUtils.writeAuthCredentialsDef(String testName,
IndentedWriter targetWriter,
BaseTestCaseWriter.Depends dependencies)
Writes the definition of standard methods for runtime specification of authentication credentials to the given stream.
|
static void |
TestCaseWriterUtils.writeResponseValidatorDef(String testName,
IndentedWriter targetWriter)
Writes the definition of standard response validator to the given stream.
|
static void |
TestCaseWriterUtils.writeStatusCodeMatcherDef(String testName,
IndentedWriter targetWriter,
BaseTestCaseWriter.Depends dependencies)
Writes the definition of standard status code matcher methods to the given stream.
|
static void |
TestCaseWriterUtils.writeTestServerDef(String testName,
IndentedWriter targetWriter,
BaseTestCaseWriter.Depends dependencies)
Writes the definition of standard methods for runtime specification of the API server URI to the given stream.
|
Copyright © 2024 The Cornutum Project. All rights reserved.