Class TestRelationshipCreation
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
org.odpi.openmetadata.conformance.tests.performance.OpenMetadataPerformanceTestCase
org.odpi.openmetadata.conformance.tests.performance.create.TestRelationshipCreation
Test performance of relationship creation operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
OpenMetadataTestCase.TestPhase
-
Field Summary
Fields inherited from class org.odpi.openmetadata.conformance.tests.performance.OpenMetadataPerformanceTestCase
cohortRepositoryConnector, performanceWorkPad
Fields inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
defaultProfileId, defaultRequirementId, discoveredProperties, exceptionBean, notSupportedAssertions, successfulAssertions, successMessage, testCaseDescriptionURL, testCaseId, testCaseName, unsuccessfulAssertions, workPad
-
Constructor Summary
ConstructorDescriptionTestRelationshipCreation
(PerformanceWorkPad workPad, RelationshipDef relationshipDef) Typical constructor sets up superclass and discovered information needed for tests -
Method Summary
Modifier and TypeMethodDescriptionprotected void
run()
Method implemented by the actual test case.Methods inherited from class org.odpi.openmetadata.conformance.tests.performance.OpenMetadataPerformanceTestCase
buildExceptionMessage, generatePropertiesForInstance, getAllPropertiesForInstance, getInstancesPerType, getMetadataCollection, getPrimitivePropertyValue, getPropertiesForTypeDef, getRepositoryConnector, getRepositoryHelper, logTestEnd, logTestStart, updateTestIdByType
Methods inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
addDiscoveredProperty, addNotSupportedAssertion, assertCondition, assertCondition, assertObjectsAreEqual, cleanTest, cleanup, endAsynchronousTest, executeTest, executeTest, getResult, getSummary, getTestCaseDescriptionURL, getTestCaseId, getTestCaseName, isTestPassed, isTestRan, run, setSuccessMessage, startAsynchronousTest, toString, updateTestId, verifyCondition, verifyCondition, verifyObjectsAreEqual
-
Constructor Details
-
TestRelationshipCreation
Typical constructor sets up superclass and discovered information needed for tests- Parameters:
workPad
- place for parameters and resultsrelationshipDef
- type of valid relationships
-
-
Method Details
-
run
Method implemented by the actual test case.- Specified by:
run
in classOpenMetadataTestCase
- Throws:
Exception
- something went wrong with the test.
-