public class SchemaApiOpTests extends ContractTestBase
SchemaApiOp
operation.Modifier and Type | Field and Description |
---|---|
static String |
TEST_NAME |
_connFacade, LOG_SEPARATOR
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 |
dispose, getConnectorFacade, getDataProvider, getOperationOptionsByOp, init
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
@Test public void testUidNotPresent()
Uid
@Test public void testNamePresent()
Name
among its attributes.@Test public void testOpSupportedByAllOClasses()
@Test public void testSchemaExpected()
Copyright © 2022. All rights reserved.