|
||||||||||
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.TransformationTestCase org.pentaho.di.trans.steps.stringcut.StringCutTest
public class StringCutTest
Test class for the StringCut step.
Constructor Summary | |
---|---|
StringCutTest()
|
Method Summary | |
---|---|
List<RowMetaAndData> |
createData1()
Create data rows. |
List<RowMetaAndData> |
createResultData1()
|
List<RowMetaAndData> |
createResultData2()
|
RowMetaInterface |
createResultRowMetaInterface1()
|
RowMetaInterface |
createResultRowMetaInterface2()
|
RowMetaInterface |
createRowMetaInterface()
|
void |
testStringCut1()
This is a test for PDI-8042, where the first row of meta has no output field but the second does. |
void |
testStringCut2()
This is a generic test using two input fields and different cuts for each |
Methods inherited from class org.pentaho.di.trans.TransformationTestCase |
---|
checkRows, createData, createRowMetaInterface |
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 StringCutTest() throws KettleException
KettleException
Method Detail |
---|
public RowMetaInterface createRowMetaInterface()
public RowMetaInterface createResultRowMetaInterface1()
public RowMetaInterface createResultRowMetaInterface2()
public List<RowMetaAndData> createData1()
nrRows
- nr of rows to insert (from 0 to 3 for the moment)
public List<RowMetaAndData> createResultData1()
public List<RowMetaAndData> createResultData2()
public void testStringCut1() throws KettleException
KettleException
public void testStringCut2() throws KettleException
KettleException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |