blob: b0479a3603e29ec8c4843fa15f0ea017974e42e9 [file] [log] [blame]
/*
* Copyright 2010 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.java.math.BigDecimalArithmeticTest;
import com.google.gwt.emultest.java.math.BigDecimalCompareTest;
import com.google.gwt.emultest.java.math.BigDecimalConstructorsTest;
import com.google.gwt.emultest.java.math.BigDecimalConvertTest;
import com.google.gwt.emultest.java.math.BigDecimalScaleOperationsTest;
import com.google.gwt.junit.tools.GWTTestSuite;
import junit.framework.Test;
/**
* Test JRE emulation of BigDecimal.
*/
public class BigDecimalSuite {
/** Note: due to compiler error, only can use one Test Case at a time. */
public static Test suite() {
GWTTestSuite suite = new GWTTestSuite("Tests for BigDecimal");
suite.addTestSuite(BigDecimalArithmeticTest.class);
suite.addTestSuite(BigDecimalCompareTest.class);
suite.addTestSuite(BigDecimalConstructorsTest.class);
suite.addTestSuite(BigDecimalConvertTest.class);
suite.addTestSuite(BigDecimalScaleOperationsTest.class);
return suite;
}
}