|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.pentaho.di.trans.steps.combinationlookup.CombinationLookupTest
public class CombinationLookupTest
Test class for combination lookup/update. HSQL is used as database in memory to get an easy playground for database tests. H2 does not support all SQL features but it should proof enough for most of our tests.
Field Summary | |
---|---|
static String[] |
databasesXML
|
Constructor Summary | |
---|---|
CombinationLookupTest()
|
Method Summary | |
---|---|
void |
checkResults(Database db)
Check the results in the target dimension table. |
RowMetaInterface |
createSourceRowMetaInterface()
|
void |
createTables(Database db)
Create source and target table. |
RowMetaInterface |
createTargetRowMetaInterface()
|
void |
testCombinationLookup()
Test case for Combination lookup/update. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, getName, run, run, runBare, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String[] databasesXML
Constructor Detail |
---|
public CombinationLookupTest()
Method Detail |
---|
public RowMetaInterface createTargetRowMetaInterface()
public RowMetaInterface createSourceRowMetaInterface()
public void createTables(Database db) throws Exception
Exception
public void checkResults(Database db) throws Exception
db
- database to use.
Exception
public void testCombinationLookup() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |