ML: usecases for examples implemented
authormlang
Tue, 07 Jun 2005 18:43:29 +0200
changeset 23842a8d62a4c18a
parent 2383 bbee3857047f
child 2385 935314cbdc07
ML: usecases for examples implemented
src/java-tests/isac/functest/examples/Testall.java
     1.1 --- a/src/java-tests/isac/functest/examples/Testall.java	Tue Jun 07 18:43:29 2005 +0200
     1.2 +++ b/src/java-tests/isac/functest/examples/Testall.java	Tue Jun 07 18:43:29 2005 +0200
     1.3 @@ -17,23 +17,24 @@
     1.4  import junit.framework.TestSuite;
     1.5  
     1.6  /**
     1.7 - * Collect the testcases and testsuites from this directory
     1.8 - * and from the subdirectories
     1.9 + * Collect the testcases and testsuites from this directory and from the
    1.10 + * subdirectories
    1.11 + * 
    1.12   * @author Walther Neuper Oct 1, 2004, 3:44:31 PM
    1.13   * @version 1.0
    1.14 - **/
    1.15 + */
    1.16  public class Testall extends TestCase {
    1.17  
    1.18 -	public static Test suite() {
    1.19 -		System.out.println("---isac.gui.browser.example.Testall");		
    1.20 -		TestSuite suite = new TestSuite("isac.gui.browser.example.Testall");
    1.21 -		
    1.22 -		//tests in this directory
    1.23 -		//...see for instance java-tests.isac.bridge.Testall.java
    1.24 +    public static Test suite() {
    1.25 +        System.out.println("---isac.gui.browser.example.Testall");
    1.26 +        TestSuite suite = new TestSuite("isac.gui.browser.example.Testall");
    1.27  
    1.28 -		//tests in subdirectories
    1.29 -		//...see for instance java-tests.isac.Testall.java
    1.30 -		
    1.31 -		return suite;
    1.32 -	}
    1.33 -}
    1.34 +        //tests in this directory
    1.35 +        suite.addTestSuite(TestExample.class);
    1.36 +
    1.37 +        //tests in subdirectories
    1.38 +        //...see for instance java-tests.isac.Testall.java
    1.39 +
    1.40 +        return suite;
    1.41 +    }
    1.42 +}
    1.43 \ No newline at end of file