Brian Jones <[EMAIL PROTECTED]> writes:

> In other words, your testsuite is looking for a
> class to implement gnu.test.Test (which the example doesn't)

Sure it does.

> and a public method called test(), which isn't shown.

It's implied.

Here's a more explicit version:

import gnu.test.*;
public class TestContainer {
  public static class test1 implements Test {
     String getName() {
       return "test1";
     }
     Result test() {
       // test1 ...
     }
  }
  public static class test2 implements Test {
    String getName() {
      return "test2";
    }
    Result test() {
      // test2 ...
    }
  }
}


> Is there some other method being used to determine the public
> inner classes available?

There's nothing magical going on.  In the tests.to.run file you'd
include:

TestContainer.test1
TestContainer.test2

-- 
Paul Fisher * [EMAIL PROTECTED]

Reply via email to