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
FieldsModifier and TypeFieldDescriptionprotected final EntityDefprotected static OMRSMetadataCollectionprotected static final Stringprotected static final Stringprotected StringFields inherited from class org.odpi.openmetadata.conformance.tests.performance.OpenMetadataPerformanceTestCase
cohortRepositoryConnector, performanceWorkPadFields inherited from class org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
defaultProfileId, defaultRequirementId, discoveredProperties, exceptionBean, notSupportedAssertions, successfulAssertions, successMessage, testCaseDescriptionURL, testCaseId, testCaseName, unsuccessfulAssertions, workPad -
Constructor Summary
ConstructorsConstructorDescriptionTestEntityPurge(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 voidrun()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, updateTestIdByTypeMethods 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:
runin classOpenMetadataTestCase- Throws:
Exception- something went wrong with the test.
-