public class HttpServiceTemplate extends AbstractTestTemplate
builtTestFile, DEFAULT_IP, DEFAULT_PORT, focusLineAcceptor, HTTP, HTTPS, imports, WS, WSS
Constructor and Description |
---|
HttpServiceTemplate(BLangPackage builtTestFile,
BLangService service,
BLangTypeInit init,
BiConsumer<Integer,Integer> focusLineAcceptor) |
Modifier and Type | Method and Description |
---|---|
void |
render(RendererOutput rendererOutput)
Renders content into this file template.
|
findServicePort, getSafeName, isNonExistImport, isSecureService, lowerCaseFirstLetter, upperCaseFirstLetter
public HttpServiceTemplate(BLangPackage builtTestFile, BLangService service, BLangTypeInit init, BiConsumer<Integer,Integer> focusLineAcceptor)
public void render(RendererOutput rendererOutput) throws TestGeneratorException
rendererOutput
- root RendererOutput
TestGeneratorException
- when template population process failsCopyright © 2019 WSO2. All rights reserved.