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> configuration)
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> configuration,
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> configuration)
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> configuration,
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> configuration) throws Exception
getTaskFactory in class com.hpe.caf.worker.testing.execution.AbstractTestControllerProvider<DocumentWorkerConfiguration,DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation>configuration - Exceptionprotected com.hpe.caf.worker.testing.ResultProcessor getTestResultProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> configuration, com.hpe.caf.worker.testing.WorkerServices workerServices)
getTestResultProcessor in class com.hpe.caf.worker.testing.execution.AbstractTestControllerProvider<DocumentWorkerConfiguration,DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation>configuration - workerServices - protected com.hpe.caf.worker.testing.TestItemProvider getDataPreparationItemProvider(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> configuration)
getDataPreparationItemProvider in class com.hpe.caf.worker.testing.execution.AbstractTestControllerProvider<DocumentWorkerConfiguration,DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation>configuration - protected com.hpe.caf.worker.testing.ResultProcessor getDataPreparationResultProcessor(com.hpe.caf.worker.testing.TestConfiguration<DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation> configuration, com.hpe.caf.worker.testing.WorkerServices workerServices)
getDataPreparationResultProcessor in class com.hpe.caf.worker.testing.execution.AbstractTestControllerProvider<DocumentWorkerConfiguration,DocumentWorkerTask,DocumentWorkerResult,DocumentWorkerTestInput,DocumentWorkerTestExpectation>configuration - workerServices - Copyright © 2015–2017 Hewlett Packard Enterprise Development LP. All rights reserved.