public class DocumentWorkerTestControllerProvider extends com.hpe.caf.worker.testing.execution.AbstractTestControllerProvider<DocumentWorkerConfiguration,DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation>
| Constructor and Description |
|---|
DocumentWorkerTestControllerProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected com.hpe.caf.worker.testing.TestItemProvider |
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 |
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 com.hpe.caf.worker.testing.WorkerTaskFactory<DocumentWorkerTask,DocumentWorkerTestInput,DocumentWorkerTestExpectation> |
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 |
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.
|
public DocumentWorkerTestControllerProvider()
protected com.hpe.caf.worker.testing.WorkerTaskFactory<DocumentWorkerTask,DocumentWorkerTestInput,DocumentWorkerTestExpectation> getTaskFactory(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config) throws Exception
getTaskFactory in class com.hpe.caf.worker.testing.execution.AbstractTestControllerProvider<DocumentWorkerConfiguration,DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation>config - Exceptionprotected com.hpe.caf.worker.testing.ResultProcessor getTestResultProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config, com.hpe.caf.worker.testing.WorkerServices workerServices)
getTestResultProcessor in class com.hpe.caf.worker.testing.execution.AbstractTestControllerProvider<DocumentWorkerConfiguration,DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation>config - workerServices - protected com.hpe.caf.worker.testing.TestItemProvider getDataPreparationItemProvider(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config)
getDataPreparationItemProvider in class com.hpe.caf.worker.testing.execution.AbstractTestControllerProvider<DocumentWorkerConfiguration,DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation>config - protected com.hpe.caf.worker.testing.ResultProcessor getDataPreparationResultProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> config, com.hpe.caf.worker.testing.WorkerServices workerServices)
getDataPreparationResultProcessor in class com.hpe.caf.worker.testing.execution.AbstractTestControllerProvider<DocumentWorkerConfiguration,DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation>config - workerServices - Copyright © 2016–2021 EntIT Software LLC, a Micro Focus company. All rights reserved.