Class TestEntityPurge
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
org.odpi.openmetadata.conformance.tests.performance.OpenMetadataPerformanceTestCase
org.odpi.openmetadata.conformance.tests.performance.purge.TestEntityPurge
- Direct Known Subclasses:
TestEntityPurgeHard
,TestEntityPurgeSoft
Test performance of entity purge operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
OpenMetadataTestCase.TestPhase
-
Field Summary
Modifier and TypeFieldDescriptionprotected final EntityDef
protected static OMRSMetadataCollection
protected static final String
protected static final String
protected String
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
ConstructorDescriptionTestEntityPurge
(PerformanceWorkPad workPad, EntityDef entityDef, String testCaseId, String testCaseName) Typical constructor sets up superclass and discovered information needed for tests -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract 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
-
Field Details
-
TEST_CASE_ID
- See Also:
-
TEST_CASE_NAME
- See Also:
-
entityDef
-
testTypeName
-
guidsByType
-
guidsByTypeRC
-
metadataCollection
-
-
Constructor Details
-
TestEntityPurge
public TestEntityPurge(PerformanceWorkPad workPad, EntityDef entityDef, String testCaseId, String testCaseName) throws Exception Typical constructor sets up superclass and discovered information needed for tests- Parameters:
workPad
- place for parameters and resultsentityDef
- type of valid entitiestestCaseId
- unique ID for the test casetestCaseName
- name for the test case- Throws:
Exception
- on any initialization error
-
-
Method Details
-
run
Method implemented by the actual test case.- Specified by:
run
in classOpenMetadataTestCase
- Throws:
Exception
- something went wrong with the test.
-