Class CastorTestSuiteRunner

  • All Implemented Interfaces:
    junit.framework.Test

    public class CastorTestSuiteRunner
    extends junit.framework.TestCase
    Start tests for the Castor Testing Framework. This is the main class for the Castor Testing Framework. It is all driven from here.
    Version:
    $Revision:6775 $ $Date: 2005-12-31 08:08:19 -0700 (Sat, 31 Dec 2005) $
    Author:
    Sebastien Gignoux, Arnaud Blandin
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TEST_OUTPUT_ROOT
      The root directory of the place where all the files generated by the different tests have to be put.
    • Constructor Summary

      Constructors 
      Constructor Description
      CastorTestSuiteRunner​(java.lang.String name)
      Default constructor that takes a name per test case.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Runs the Castor Testing Framework.
      static junit.framework.Test suite()
      Starts a TestCaseAggregator to collect all the tests in the test root directory and its subdirectories.
      • Methods inherited from class junit.framework.TestCase

        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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • TEST_OUTPUT_ROOT

        public static final java.lang.String TEST_OUTPUT_ROOT
        The root directory of the place where all the files generated by the different tests have to be put.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CastorTestSuiteRunner

        public CastorTestSuiteRunner​(java.lang.String name)
        Default constructor that takes a name per test case.
        Parameters:
        name - test case name
    • Method Detail

      • suite

        public static junit.framework.Test suite()
        Starts a TestCaseAggregator to collect all the tests in the test root directory and its subdirectories.
        Returns:
        A non-null test suite.
      • main

        public static void main​(java.lang.String[] args)
        Runs the Castor Testing Framework.
        Parameters:
        args - the standard command-line arguments