|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.TestSuite org.pentaho.di.repository.RepositoryUnitTest
public class RepositoryUnitTest
This class serves as a collection of tests for transformation steps and other Kettle capabilities that need to interact with a database repository. It offers performance benefits over putting repo-related tests into the individual unit test classes, as it is a test suite that establishes a connection to the test database repository once before all internal test cases are executed, and disconnects after all tests have been run.
Constructor Summary | |
---|---|
RepositoryUnitTest()
|
Method Summary | |
---|---|
void |
setUp()
This method is called once before each test case is executed. |
static void |
setUpBeforeClass()
setUpBeforeClass is a method called once before all tests are run. |
void |
tearDown()
This method is called once after each test case is executed. |
static void |
tearDownAfterClass()
This method is called once after all test cases have been run, and is used to perform suite-level cleanup such as disconnecting from the test repository. |
void |
testGetXMLDataMetaSaveAndReadRep()
This test is to ensure that the metadata for the GetXMLData step is preserved when saving to a repository. |
Methods inherited from class junit.framework.TestSuite |
---|
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString, warning |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RepositoryUnitTest()
Method Detail |
---|
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void setUp() throws Exception
Exception
public void tearDown() throws Exception
Exception
public void testGetXMLDataMetaSaveAndReadRep()
GetXMLDataMeta.readRep(org.pentaho.di.repository.Repository, org.pentaho.di.repository.ObjectId, java.util.List, java.util.Map)
.
Test method for org.pentaho.di.trans.steps.getxmldata.GetXMLDataMeta#saveRep(org.pentaho.di.repository.Repository, org.pentaho.di.repository.ObjectId, jorg.pentaho.di.repository.ObjectId)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |