jasco.testing
Class JAsCoTestMain

java.lang.Object
  extended by jasco.testing.JAsCoTestMain
All Implemented Interfaces:
junit.framework.Test

public class JAsCoTestMain
extends java.lang.Object
implements junit.framework.Test

Author:
Wim

Constructor Summary
JAsCoTestMain()
           
 
Method Summary
static void addDepend(IJAsCoTest test, IJAsCoTest dependsOn)
           
static void addDepend(IJAsCoTest test, java.util.Vector dependsOn)
           
static void addRunJAsCoProgramTests(java.lang.Class runner, java.lang.String descr, IJAsCoTest... depends)
           
 int countTestCases()
           
static void createTests(java.lang.String[] aspects, java.lang.String[] connectors, java.lang.Class<? extends RunJAsCoProgramTest> testClass)
           
protected static void emptyFolder(java.io.File dir)
           
protected static void emptyFolder(java.io.File dir, boolean deleteDir)
           
protected  void executeJunit(IJAsCoTest test, junit.framework.TestResult result, boolean alwaysExecute)
           
protected static boolean executeTest(IJAsCoTest test, boolean alwaysExecute)
           
static int getBenchBaseResult()
           
static java.util.Iterator getDepends(IJAsCoTest test)
           
static java.lang.String getPacoSuiteDir()
           
static void initOptions()
           
static void initTests()
           
static void main(java.lang.String[] args)
           
 void run(junit.framework.TestResult result)
           
static junit.framework.Test suite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAsCoTestMain

public JAsCoTestMain()
Method Detail

suite

public static junit.framework.Test suite()

initOptions

public static void initOptions()

countTestCases

public int countTestCases()
Specified by:
countTestCases in interface junit.framework.Test

run

public void run(junit.framework.TestResult result)
Specified by:
run in interface junit.framework.Test

executeJunit

protected void executeJunit(IJAsCoTest test,
                            junit.framework.TestResult result,
                            boolean alwaysExecute)

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

executeTest

protected static boolean executeTest(IJAsCoTest test,
                                     boolean alwaysExecute)

emptyFolder

protected static void emptyFolder(java.io.File dir)

emptyFolder

protected static void emptyFolder(java.io.File dir,
                                  boolean deleteDir)

initTests

public static void initTests()

addRunJAsCoProgramTests

public static void addRunJAsCoProgramTests(java.lang.Class runner,
                                           java.lang.String descr,
                                           IJAsCoTest... depends)

getPacoSuiteDir

public static java.lang.String getPacoSuiteDir()

getBenchBaseResult

public static int getBenchBaseResult()

addDepend

public static void addDepend(IJAsCoTest test,
                             java.util.Vector dependsOn)

addDepend

public static void addDepend(IJAsCoTest test,
                             IJAsCoTest dependsOn)

getDepends

public static java.util.Iterator getDepends(IJAsCoTest test)

createTests

public static void createTests(java.lang.String[] aspects,
                               java.lang.String[] connectors,
                               java.lang.Class<? extends RunJAsCoProgramTest> testClass)