public class DocumentWorkerSaveResultProcessor<TTestInput> extends com.hpe.caf.worker.testing.OutputToFileProcessor<DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation>
| Constructor and Description |
|---|
DocumentWorkerSaveResultProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation> configuration,
com.hpe.caf.worker.testing.WorkerServices workerServices) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
getOutputContent(DocumentWorkerResult workerResult,
com.hpe.caf.api.worker.TaskMessage message,
com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem) |
protected Path |
getRelativeLocation(Path contentFile) |
protected Path |
saveContentFile(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
String baseFileName,
String extension,
InputStream dataStream) |
getOutputFolder, getSaveFilePath, getSerializedTestItem, processResult, processWorkerResultpublic DocumentWorkerSaveResultProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation> configuration, com.hpe.caf.worker.testing.WorkerServices workerServices)
protected byte[] getOutputContent(DocumentWorkerResult workerResult, com.hpe.caf.api.worker.TaskMessage message, com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem) throws Exception
getOutputContent in class com.hpe.caf.worker.testing.OutputToFileProcessor<DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation>Exceptionprotected Path saveContentFile(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem, String baseFileName, String extension, InputStream dataStream) throws IOException
IOExceptionCopyright © 2016–2021 EntIT Software LLC, a Micro Focus company. All rights reserved.