< prev index next >

src/com/sun/javatest/TestRunner.java

Print this page
rev 145 : 7902237: Fixing raw use of parameterized class
Reviewed-by: jjg

@@ -198,11 +198,11 @@
      * this method must call {@link #notifyFinishedTest}.
      * @param testIter the iterator to be used to obtain the tests to be run
      * @return true if and only if all the tests executed successfully and passed
      * @throws InterruptedException if the test run was interrupted
      */
-    protected abstract boolean runTests(Iterator testIter) throws InterruptedException;
+    protected abstract boolean runTests(Iterator<TestDescription> testIter) throws InterruptedException;
 
     /**
      * This method must be called as each test is started, to notify any
      * registered observers.
      * @param tr the TestResult object for the test that has been started
< prev index next >