Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.jcorporate
Class AllProjectsTestSuite  view AllProjectsTestSuite download AllProjectsTestSuite.java

java.lang.Object
  extended byjunit.framework.TestSuite
      extended bycom.jcorporate.AllProjectsTestSuite
All Implemented Interfaces:
junit.framework.Test

public class AllProjectsTestSuite
extends junit.framework.TestSuite

Class for allowing testing of all jcorporate's products.


Field Summary
private static org.apache.log4j.Logger log
           
 
Fields inherited from class junit.framework.TestSuite
 
Constructor Summary
AllProjectsTestSuite()
           
AllProjectsTestSuite(java.lang.String name)
           
 
Method Summary
private static void addTestSuite(java.lang.String className, junit.framework.TestSuite ts)
          Adds a test suite _IF_ the class exists in the classpath Ignored the tests otherwise.
static void main(java.lang.String[] args)
           
static junit.framework.Test suite()
          This differes in that only test suites that are located in the project class path will be run.
 
Methods inherited from class junit.framework.TestSuite
addTest, addTestSuite, countTestCases, createTest, getName, getTestConstructor, run, runTest, setName, testAt, testCount, tests, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

private static org.apache.log4j.Logger log
Constructor Detail

AllProjectsTestSuite

public AllProjectsTestSuite()
                     throws java.lang.Exception

AllProjectsTestSuite

public AllProjectsTestSuite(java.lang.String name)
                     throws java.lang.Exception
Method Detail

main

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

suite

public static junit.framework.Test suite()
                                  throws java.lang.Exception
This differes in that only test suites that are located in the project class path will be run. This allows integration with Jcorp's commercial apps


addTestSuite

private static void addTestSuite(java.lang.String className,
                                 junit.framework.TestSuite ts)
Adds a test suite _IF_ the class exists in the classpath Ignored the tests otherwise.