public class TestApiOpTests extends ContractTestBase
TestApiOp
. Positive test for test() is performed
everytime connector facade is created and connector supports the operation.
Test uses the same configuration as ValidateApiOpTest.
Currently there is not ability in API to test contract in case connection is lost.Modifier and Type | Field and Description |
---|---|
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR
Constructor and Description |
---|
TestApiOpTests() |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation . |
void |
testTestFail()
Tests test() with configuration that should NOT be correct.
|
dispose, getConnectorFacade, getDataProvider, getOperationOptionsByOp, init
public static final String TEST_NAME
@Test public void testTestFail()
public Set<Class<? extends APIOperation>> getAPIOperations()
APIOperation
.
Method returns set of required API operations that are prerequisites for
running certain contract test.getAPIOperations
in class ContractTestBase
Copyright © 2022. All rights reserved.