|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.pentaho.di.trans.steps.xslt.XsltTest
public class XsltTest
| Constructor Summary | |
|---|---|
XsltTest()
|
|
| Method Summary | |
|---|---|
void |
checkRows(List<RowMetaAndData> rows1,
List<RowMetaAndData> rows2,
int fileNameColumn)
Check the 2 lists comparing the rows in order. |
List<RowMetaAndData> |
createData(String fileName)
|
List<RowMetaAndData> |
createResultData1()
Create result data for test case 1. |
RowMetaInterface |
createResultRowMetaInterface()
|
RowMetaInterface |
createRowMetaInterface()
|
void |
runTestWithParams(String xmlFieldname,
String resultFieldname,
boolean xslInField,
boolean xslFileInField,
String xslFileField,
String xslFilename,
String xslFactory)
|
void |
testXslt1()
Test case for XSLT step, getting the filename from a field, JAXP factory |
void |
testXslt2()
Test case for XSLT step, getting the filename from a field, SAXON factory |
void |
testXslt3()
Test case for XSLT step, getting the XSL from a field, JAXP factory |
void |
testXslt4()
Test case for XSLT step, getting the XSL from a field, SAXON factory |
void |
testXslt5()
Test case for XSLT step, getting the XSL from a file, JAXP factory |
void |
testXslt6()
Test case for XSLT step, getting the XSL from a file, SAXON factory |
String |
writeInputFile()
Write the file to be used as input (as a temporary file). |
| 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 XsltTest()
| Method Detail |
|---|
public String writeInputFile()
throws IOException
IOException - UPONpublic RowMetaInterface createRowMetaInterface()
public List<RowMetaAndData> createData(String fileName)
public RowMetaInterface createResultRowMetaInterface()
public List<RowMetaAndData> createResultData1()
public void checkRows(List<RowMetaAndData> rows1,
List<RowMetaAndData> rows2,
int fileNameColumn)
rows1 - set 1 of rows to comparerows2 - set 2 of rows to comparefileNameColumn - Number of the column containing the filename. This is only checked
for being non-null (some systems maybe canonize names differently
than we input).
public void testXslt1()
throws Exception
Exception - Upon any exception
public void testXslt2()
throws Exception
Exception - Upon any exception
public void testXslt3()
throws Exception
Exception - Upon any exception
public void testXslt4()
throws Exception
Exception - Upon any exception
public void testXslt5()
throws Exception
Exception - Upon any exception
public void testXslt6()
throws Exception
Exception - Upon any exception
public void runTestWithParams(String xmlFieldname,
String resultFieldname,
boolean xslInField,
boolean xslFileInField,
String xslFileField,
String xslFilename,
String xslFactory)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||