org.pentaho.di.trans.steps.janino
Class JaninoStepTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.pentaho.di.trans.steps.janino.JaninoStepTest
All Implemented Interfaces:
junit.framework.Test

public class JaninoStepTest
extends junit.framework.TestCase

Test class for the Janino step.

Author:
Slawomir Chodnicki

Constructor Summary
JaninoStepTest()
           
 
Method Summary
 void checkRows(List<RowMetaAndData> rows1, List<RowMetaAndData> rows2)
          Check the 2 lists comparing the rows in order.
 List<RowMetaAndData> createExpectedList()
           
 List<RowMetaAndData> createInputList()
           
 RowMetaInterface createRowMetaInterface()
           
 void testJaninoStep()
          Test case for janino step.
 
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

JaninoStepTest

public JaninoStepTest()
Method Detail

createRowMetaInterface

public RowMetaInterface createRowMetaInterface()

createInputList

public List<RowMetaAndData> createInputList()

createExpectedList

public List<RowMetaAndData> createExpectedList()

checkRows

public void checkRows(List<RowMetaAndData> rows1,
                      List<RowMetaAndData> rows2)
Check the 2 lists comparing the rows in order. If they are not the same fail the test.


testJaninoStep

public void testJaninoStep()
                    throws Exception
Test case for janino step.

Throws:
Exception