| Modifier and Type | Method and Description |
|---|---|
protected com.hpe.caf.worker.testing.WorkerTaskFactory<DocumentWorkerTask,DocumentWorkerTestInput,DocumentWorkerTestExpectation> |
DocumentWorkerTestControllerProvider.getTaskFactory(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config)
Return a task factory for creating tasks.
|
| Modifier and Type | Method and Description |
|---|---|
DocumentWorkerTask |
DocumentWorkerTaskFactory.createTask(com.hpe.caf.worker.testing.TestItem<DocumentWorkerTestInput,DocumentWorkerTestExpectation> testItem) |
protected com.hpe.caf.worker.testing.TestItemProvider |
DocumentWorkerTestControllerProvider.getDataPreparationItemProvider(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config)
Return a result preparation provider for preparing test items from YAML files.
|
protected com.hpe.caf.worker.testing.ResultProcessor |
DocumentWorkerTestControllerProvider.getDataPreparationResultProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config,
com.hpe.caf.worker.testing.WorkerServices workerServices)
Return a save result processor for generating .testcase and result.content files found in test-data > input folder.
|
protected Map<String,Object> |
DocumentWorkerResultValidationProcessor.getExpectationMap(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
com.hpe.caf.api.worker.TaskMessage message,
DocumentWorkerResult documentWorkerResult) |
protected byte[] |
DocumentWorkerSaveResultProcessor.getOutputContent(DocumentWorkerResult workerResult,
com.hpe.caf.api.worker.TaskMessage message,
com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem) |
protected com.hpe.caf.worker.testing.WorkerTaskFactory<DocumentWorkerTask,DocumentWorkerTestInput,DocumentWorkerTestExpectation> |
DocumentWorkerTestControllerProvider.getTaskFactory(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config)
Return a task factory for creating tasks.
|
protected com.hpe.caf.worker.testing.ResultProcessor |
DocumentWorkerTestControllerProvider.getTestResultProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config,
com.hpe.caf.worker.testing.WorkerServices workerServices)
Return a result validation processor for validating the worker result is the same as the expected result in the test item.
|
protected Object |
DocumentWorkerResultValidationProcessor.getValidatedObject(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
com.hpe.caf.api.worker.TaskMessage message,
DocumentWorkerResult documentWorkerResult) |
protected boolean |
DocumentWorkerResultValidationProcessor.isCompleted(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
com.hpe.caf.api.worker.TaskMessage message,
DocumentWorkerResult documentWorkerResult) |
protected boolean |
DocumentWorkerResultValidationProcessor.processWorkerResult(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
com.hpe.caf.api.worker.TaskMessage message,
DocumentWorkerResult workerResult) |
protected Path |
DocumentWorkerSaveResultProcessor.saveContentFile(com.hpe.caf.worker.testing.TestItem<TTestInput,DocumentWorkerTestExpectation> testItem,
String baseFileName,
String extension,
InputStream dataStream) |
| Constructor and Description |
|---|
DocumentWorkerResultPreparationProvider(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config) |
DocumentWorkerResultValidationProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation> testConfiguration,
com.hpe.caf.worker.testing.WorkerServices workerServices) |
DocumentWorkerSaveResultProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,TTestInput,DocumentWorkerTestExpectation> configuration,
com.hpe.caf.worker.testing.WorkerServices workerServices) |
Copyright © 2016–2021 EntIT Software LLC, a Micro Focus company. All rights reserved.