Class ExasolMetadata
- java.lang.Object
-
- com.exasol.extensionmanager.itest.ExasolMetadata
-
public class ExasolMetadata extends Object
This class simplifies verifying the content of Exasol's metadata tables, e.g. scripts or virtual schemas.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassertConnection(org.hamcrest.Matcher<ResultSet> matcher)Verify the content of theSYS.EXA_ALL_CONNECTIONStable.voidassertNoConnections()Verify that theSYS.EXA_ALL_CONNECTIONStable is empty.voidassertNoScripts()Verify that theSYS.EXA_ALL_SCRIPTStable is empty.voidassertNoVirtualSchema()Verify that theSYS.EXA_ALL_VIRTUAL_SCHEMAStable is empty.voidassertScript(org.hamcrest.Matcher<ResultSet> matcher)Verify the content of theSYS.EXA_ALL_SCRIPTStable.voidassertVirtualSchema(org.hamcrest.Matcher<ResultSet> matcher)Verify the content of theSYS.EXA_ALL_VIRTUAL_SCHEMAStable.
-
-
-
Method Detail
-
assertScript
public void assertScript(org.hamcrest.Matcher<ResultSet> matcher)
Verify the content of theSYS.EXA_ALL_SCRIPTStable.- Parameters:
matcher- matcher for verifying the table content
-
assertNoScripts
public void assertNoScripts()
Verify that theSYS.EXA_ALL_SCRIPTStable is empty.
-
assertConnection
public void assertConnection(org.hamcrest.Matcher<ResultSet> matcher)
Verify the content of theSYS.EXA_ALL_CONNECTIONStable.- Parameters:
matcher- matcher for verifying the table content
-
assertNoConnections
public void assertNoConnections()
Verify that theSYS.EXA_ALL_CONNECTIONStable is empty.
-
assertVirtualSchema
public void assertVirtualSchema(org.hamcrest.Matcher<ResultSet> matcher)
Verify the content of theSYS.EXA_ALL_VIRTUAL_SCHEMAStable.- Parameters:
matcher- matcher for verifying the table content
-
assertNoVirtualSchema
public void assertNoVirtualSchema()
Verify that theSYS.EXA_ALL_VIRTUAL_SCHEMAStable is empty.
-
-