public class SchemaApiOpTests extends ContractTestBase
SchemaApiOp
operation.Modifier and Type | Field and Description |
---|---|
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR, OBJECTCLASS_DATAPROVIDER, TESTSUITE
Constructor and Description |
---|
SchemaApiOpTests() |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends APIOperation>> |
getAPIOperations()
Ask the subclasses for the
APIOperation . |
void |
testNamePresent()
Tests that every object class contains
Name among its attributes. |
void |
testOpSupportedByAllOClasses()
Test ensures that following operations are supported by all object
classes when supported at all: ScriptOnConnectorApiOp, ScriptOnResourceApiOp,
TestApiOp, ValidateApiOp.
|
void |
testSchemaExpected()
Tests that returned schema by connector is the same as expected schema to
be returned.
|
void |
testUidNotPresent()
Tests that the schema doesn't contain
Uid |
BeforeClass, dispose, getConnectorFacade, getDataProvider, getOperationOptionsByOp
public static final String TEST_NAME
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
public void testUidNotPresent()
Uid
public void testNamePresent()
Name
among its attributes.public void testOpSupportedByAllOClasses()
public void testSchemaExpected()
Copyright © 2019. All rights reserved.