public class ValidateApiOpTests extends ContractTestBase
ValidateApiOp
operation.
Positive test for validate() is performed every time connector facade is created.Modifier and Type | Field and Description |
---|---|
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR, OBJECTCLASS_DATAPROVIDER, TESTSUITE
Constructor and Description |
---|
ValidateApiOpTests() |
Modifier and Type | Method and Description |
---|---|
Iterator<Object[]> |
createData(org.testng.ITestContext context,
Method method) |
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation . |
void |
testValidateFail(Object currentWrongConfigMap)
Tests validate() with configuration that should NOT be correct.
|
BeforeClass, dispose, getConnectorFacade, getDataProvider, getOperationOptionsByOp
public static final String TEST_NAME
public void testValidateFail(Object currentWrongConfigMap)
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 © 2019. All rights reserved.