|
||||||||||
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.jsonoutput.JsonOutputTest
public class JsonOutputTest
This class was a "copy and modification" of Kettle's JsonOutputTests.
Constructor Summary | |
---|---|
JsonOutputTest()
|
Method Summary | |
---|---|
List<RowMetaAndData> |
createData()
Creates data... |
List<RowMetaAndData> |
createResultData1()
Create result data for test case 1. |
RowMetaInterface |
createResultRowMetaInterface()
Creates a row meta interface for the fields that are defined by performing a getFields and by checking "Result filenames - Add filenames to result from "Text File Input" dialog. |
RowMetaInterface |
createRowMetaInterface()
Creates a RowMetaInterface with a ValueMetaInterface with the name "filename". |
String |
test(boolean compatibilityMode)
|
void |
testCompatibilityMode()
|
void |
testNonCompatibilityMode()
|
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 JsonOutputTest()
Method Detail |
---|
public List<RowMetaAndData> createResultData1()
public RowMetaInterface createRowMetaInterface()
public List<RowMetaAndData> createData()
fileName
-
public RowMetaInterface createResultRowMetaInterface()
public String test(boolean compatibilityMode) throws Exception
Exception
public void testNonCompatibilityMode() throws Exception
Exception
public void testCompatibilityMode() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |