/*
 * Copyright 2015 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.google.gwt.emultest;

import junit.framework.Test;
import junit.framework.TestSuite;

/** TestSuite for all of GWT's emul suites. */
public class AllTests {

  public static Test suite() {
    TestSuite suite = new TestSuite("All Emul tests");
    suite.addTest(BigDecimalSuite.suite());
    suite.addTest(BigIntegerSuite.suite());
    suite.addTest(CollectionsSuite.suite());
    suite.addTest(EmulSuite.suite());
    suite.addTest(EmulJava8Suite.suite());
    suite.addTest(TreeMapSuiteSub.suite());
    suite.addTest(TreeSetSuiteSub.suite());
    return suite;
  }
}

@@ -625,36 +625,40 @@
 %0Aimport 
+org.
 junit.
-framework.Test
+runner.RunWith
 ;%0Aimport
@@ -662,516 +662,307 @@
 ort 
+org.
 junit.
-framework.TestSuite;%0A%0A/** TestSuite for all of GWT's emul suites. */%0Apublic class AllTests %7B%0A%0A  public static Test suite() %7B%0A    TestSuite suite = new TestSuite(%22All Emul tests%22);%0A    suite.addTest(BigDecimalSuite.suite());%0A    suite.addTest(BigIntegerSuite.suite());%0A    suite.addTest(CollectionsSuite.suite());%0A    suite.addTest(EmulSuite.suite());%0A    suite.addTest(EmulJava8Suite.suite());%0A    suite.addTest(TreeMapSuiteSub.suite());%0A    suite.addTest(TreeSetSuiteSub.suite());%0A    return suite;%0A  %7D%0A
+runners.Suite;%0Aimport org.junit.runners.Suite.SuiteClasses;%0A%0A/** TestSuite for all of GWT's emul suites. */%0A@RunWith(Suite.class)%0A@SuiteClasses(%7B%0A  BigDecimalSuite.class,%0A  BigIntegerSuite.class,%0A  CollectionsSuite.class,%0A  EmulSuite.class,%0A  EmulJava8Suite.class,%0A%7D)%0Apublic class AllTests %7B
 %7D%0A

Use @RunWith(Suite.class) for emul test suites.