org.pentaho.di.blackbox
Class BlackBoxTests

java.lang.Object
  extended by org.pentaho.di.blackbox.BlackBoxTests

public class BlackBoxTests
extends Object


Constructor Summary
BlackBoxTests(File transFile, List<File> expectedFiles)
           
 
Method Summary
 void fileCompare(File expected, File actual, LogChannelInterface log)
           
 String getPath(File file)
           
 String getPath(String filepath)
           
static Collection<Object[]> getTests()
           
 Result runTrans(String fileName, LogChannelInterface log)
           
 void runTransOrJob()
           
static void setupBlackbox()
           
 void writeLog(File logFile, String logStr)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlackBoxTests

public BlackBoxTests(File transFile,
                     List<File> expectedFiles)
Method Detail

setupBlackbox

public static void setupBlackbox()

getTests

public static Collection<Object[]> getTests()

runTransOrJob

public void runTransOrJob()
                   throws Exception
Throws:
Exception

writeLog

public void writeLog(File logFile,
                     String logStr)

getPath

public String getPath(File file)

getPath

public String getPath(String filepath)

fileCompare

public void fileCompare(File expected,
                        File actual,
                        LogChannelInterface log)
                 throws IOException
Throws:
IOException

runTrans

public Result runTrans(String fileName,
                       LogChannelInterface log)
                throws KettleException
Throws:
KettleException