Package com.google.gwt.typedarrays

Source Code of com.google.gwt.typedarrays.TypedArraySuite

/*
* Copyright 2009-2011 Sönke Sothmann, Steffen Schäfer and others
*
* 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.typedarrays;

import com.google.gwt.junit.DoNotRunWith;
import com.google.gwt.junit.Platform;
import com.google.gwt.junit.tools.GWTTestSuite;
import com.google.gwt.typedarrays.client.ArrayBufferTest;
import com.google.gwt.typedarrays.client.ArrayBufferViewTest;
import com.google.gwt.typedarrays.client.DataViewTest;
import com.google.gwt.typedarrays.client.Float32ArrayTest;
import com.google.gwt.typedarrays.client.Float64ArrayTest;
import com.google.gwt.typedarrays.client.Int16ArrayTest;
import com.google.gwt.typedarrays.client.Int32ArrayTest;
import com.google.gwt.typedarrays.client.Int8ArrayTest;
import com.google.gwt.typedarrays.client.IntBasedTypedArrayTest;
import com.google.gwt.typedarrays.client.JsArrayUtilTest;
import com.google.gwt.typedarrays.client.TypedArrayTest;
import com.google.gwt.typedarrays.client.Uint16ArrayTest;
import com.google.gwt.typedarrays.client.Uint32ArrayTest;
import com.google.gwt.typedarrays.client.Uint8ArrayTest;
import com.google.gwt.typedarrays.client.Uint8ClampedArrayTest;

import junit.framework.Test;

/**
* Tests for TypedArrays.
*
*/
@DoNotRunWith(Platform.HtmlUnitUnknown)
public class TypedArraySuite {

  /**
   * @return the TestSuite.
   */
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Test suite for TypedArrays GWTTestCases");

    suite.addTestSuite(JsArrayUtilTest.class);
    suite.addTestSuite(ArrayBufferTest.class);
    suite.addTestSuite(ArrayBufferViewTest.class);
    suite.addTestSuite(TypedArrayTest.class);
    suite.addTestSuite(IntBasedTypedArrayTest.class);
    suite.addTestSuite(Int8ArrayTest.class);
    suite.addTestSuite(Int16ArrayTest.class);
    suite.addTestSuite(Int32ArrayTest.class);
    suite.addTestSuite(Uint8ArrayTest.class);
    suite.addTestSuite(Uint8ClampedArrayTest.class);
    suite.addTestSuite(Uint16ArrayTest.class);
    suite.addTestSuite(Uint32ArrayTest.class);
    suite.addTestSuite(Float32ArrayTest.class);
    suite.addTestSuite(Float64ArrayTest.class);
    suite.addTestSuite(DataViewTest.class);

    return suite;
  }

  private TypedArraySuite() {
  }

}
TOP

Related Classes of com.google.gwt.typedarrays.TypedArraySuite

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.