/*
 * 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;
  }
}

/*
 * 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 org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;

/** TestSuite for all of GWT's emul suites. */
@RunWith(Suite.class)
@SuiteClasses({
  BigDecimalSuite.class,
  BigIntegerSuite.class,
  CollectionsSuite.class,
  EmulSuite.class,
  EmulJava8Suite.class,
})
public class AllTests {}

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

...and update J2CL AllTests accordingly.

I will delete duplicated J2CL suites in another CL.

commit 032e49ff8d12170b00ac3232174f365df0182f4e
Author: Goktug Gokdogan <goktug@google.com>
Date:   Wed Apr 12 20:06:35 2017 -0700

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

    Change-Id: I2fc94ccf4298714dfee8ba9628f9137e30cdb8a0

PiperOrigin-RevId: 153108807
