blob: 0d90d045ccc0e4b43b98b43afd6cbd45f7c78660 [file] [log] [blame]
/*
* 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 com.google.gwt.emultest.java8.util.ComparatorTest;
import com.google.gwt.emultest.java8.util.DoubleSummaryStatisticsTest;
import com.google.gwt.emultest.java8.util.IntSummaryStatisticsTest;
import com.google.gwt.emultest.java8.util.LongSummaryStatisticsTest;
import com.google.gwt.emultest.java8.util.OptionalDoubleTest;
import com.google.gwt.emultest.java8.util.OptionalIntTest;
import com.google.gwt.emultest.java8.util.OptionalLongTest;
import com.google.gwt.emultest.java8.util.OptionalTest;
import com.google.gwt.emultest.java8.util.PrimitiveIteratorTest;
import com.google.gwt.emultest.java8.util.SpliteratorsTest;
import com.google.gwt.emultest.java8.util.StringJoinerTest;
import com.google.gwt.junit.tools.GWTTestSuite;
import junit.framework.Test;
/**
* Test Java8 JRE emulations.
*/
public class EmulJava8Suite {
public static Test suite() {
GWTTestSuite suite = new GWTTestSuite("Tests for com.google.gwt.emul.java8");
//-- java.util
suite.addTestSuite(ComparatorTest.class);
suite.addTestSuite(OptionalTest.class);
suite.addTestSuite(OptionalIntTest.class);
suite.addTestSuite(OptionalLongTest.class);
suite.addTestSuite(OptionalDoubleTest.class);
suite.addTestSuite(PrimitiveIteratorTest.class);
suite.addTestSuite(SpliteratorsTest.class);
suite.addTestSuite(StringJoinerTest.class);
suite.addTestSuite(DoubleSummaryStatisticsTest.class);
suite.addTestSuite(IntSummaryStatisticsTest.class);
suite.addTestSuite(LongSummaryStatisticsTest.class);
return suite;
}
}