Class CastorTestSuiteRunner

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.castor.xmlctf.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 final String
    The root directory of the place where all the files generated by the different tests have to be put.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor that takes a name per test case.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    Runs the Castor Testing Framework.
    static junit.framework.Test
    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 Details

    • TEST_OUTPUT_ROOT

      public static final 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:
  • Constructor Details

    • CastorTestSuiteRunner

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

    • 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(String[] args)
      Runs the Castor Testing Framework.
      Parameters:
      args - the standard command-line arguments