Class OpenMetadataPlatformTestCase
java.lang.Object
org.odpi.openmetadata.conformance.beans.OpenMetadataTestCase
org.odpi.openmetadata.conformance.tests.platform.OpenMetadataPlatformTestCase
- Direct Known Subclasses:
TestOpenMetadataOrigin
OpenMetadataTestCase is the superclass for an open metadata conformance test. It manages the
test environment and reporting.
-
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.beans.OpenMetadataTestCase
defaultProfileId, defaultRequirementId, discoveredProperties, exceptionBean, notSupportedAssertions, successfulAssertions, successMessage, testCaseDescriptionURL, testCaseId, testCaseName, unsuccessfulAssertions, workPad
-
Constructor Summary
ModifierConstructorDescriptionprotected
OpenMetadataPlatformTestCase
(PlatformConformanceWorkPad workPad, String testCaseId, String testCaseName) Constructor passes the standard descriptive information to the superclass. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
logTestEnd
(String methodName) Log that the test case is ending.protected void
logTestStart
(String methodName) Log that the test case is starting.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, run, setSuccessMessage, startAsynchronousTest, toString, updateTestId, verifyCondition, verifyCondition, verifyObjectsAreEqual
-
Field Details
-
platformConformanceWorkPad
-
-
Constructor Details
-
OpenMetadataPlatformTestCase
protected OpenMetadataPlatformTestCase(PlatformConformanceWorkPad workPad, String testCaseId, String testCaseName) Constructor passes the standard descriptive information to the superclass.- Parameters:
workPad
- workspace.testCaseId
- id of the test casetestCaseName
- name of the test case
-
-
Method Details
-
logTestStart
Log that the test case is starting.- Specified by:
logTestStart
in classOpenMetadataTestCase
- Parameters:
methodName
- calling method name
-
logTestEnd
Log that the test case is ending.- Specified by:
logTestEnd
in classOpenMetadataTestCase
- Parameters:
methodName
- calling method name
-