|
||||||||||
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.scriptvalues_mod.JavaScriptSpecialTest
public class JavaScriptSpecialTest
Test class for the Modified Javascript step for the special functions. Things tested: LuhnCheck().
Constructor Summary | |
---|---|
JavaScriptSpecialTest()
|
Method Summary | |
---|---|
void |
checkRows(List<RowMetaAndData> rows1,
List<RowMetaAndData> rows2)
Check the 2 lists comparing the rows in order. |
List<RowMetaAndData> |
createData1()
|
List<RowMetaAndData> |
createData3()
|
List<RowMetaAndData> |
createResultData1()
Create result data for test case 1. |
List<RowMetaAndData> |
createResultData2()
|
List<RowMetaAndData> |
createResultData3()
|
RowMetaInterface |
createRowMetaInterface1()
|
RowMetaInterface |
createRowMetaInterface3()
|
RowMetaInterface |
createRowMetaInterface4()
|
RowMetaInterface |
createRowMetaInterfaceResult1()
Create the meta data for the results (ltrim/rtrim/trim). |
void |
testJavaInterface()
Test case for JavaScript/Java/JavaScript interfacing. |
void |
testLuhnCheck()
Test case for javascript functionality: ltrim(), rtrim(), trim(). |
void |
testTransStatus()
Test case for javascript functionality: trans_Status and SKIP_TRANSFORMATION. |
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 |
Constructor Detail |
---|
public JavaScriptSpecialTest()
Method Detail |
---|
public RowMetaInterface createRowMetaInterface1()
public List<RowMetaAndData> createData1()
public RowMetaInterface createRowMetaInterfaceResult1()
public List<RowMetaAndData> createResultData1()
public List<RowMetaAndData> createResultData2()
public RowMetaInterface createRowMetaInterface3()
public List<RowMetaAndData> createData3()
public RowMetaInterface createRowMetaInterface4()
public List<RowMetaAndData> createResultData3()
public void checkRows(List<RowMetaAndData> rows1, List<RowMetaAndData> rows2)
public void testLuhnCheck() throws Exception
Exception
public void testTransStatus() throws Exception
Exception
public void testJavaInterface() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |