Package com.google.gwt.junit.tools

Examples of com.google.gwt.junit.tools.GWTTestSuite


/**
* All Constraints tests that GWTTestCase.
*/
public class ExampleValidationClientGwtSuite {
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite(
        "Validation Example tests that require GWT");
    suite.addTestSuite(AuthorTest.class);
    suite.addTestSuite(BookTest.class);
    suite.addTestSuite(NotSpecifiedGroupsTest.class);
    return suite;
  }
View Full Code Here


* {@link com.google.gwt.core.ext.test.LinkerTest}.
*/
public class LinkerSuite {

  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Smoke test for linkers");

    // $JUnit-BEGIN$
    suite.addTestSuite(CrossSiteIframeLinkerTest.class);
    suite.addTestSuite(IFrameLinkerTest.class);
    suite.addTestSuite(LinkerUnitTest.class);
    suite.addTestSuite(StandardCompilationResultTest.class);
    suite.addTestSuite(SelectionScriptJavaScriptTest.class);
    suite.addTestSuite(SelectionScriptLinkerUnitTest.class);
    suite.addTestSuite(XSLinkerTest.class);
    suite.addTestSuite(SingleScriptLinkerTest.class);
    // $JUnit-END$
    return suite;
  }
View Full Code Here

/**
* TypedArray tests for client code running as a GWT test.
*/
public class TypedArraysSuite {
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("TypedArray client tests");

    // $JUnit-BEGIN$
    suite.addTestSuite(ClientSupportTest.class);
    suite.addTestSuite(GwtDataViewTest.class);
    suite.addTestSuite(GwtFloat32ArrayTest.class);
    suite.addTestSuite(GwtFloat64ArrayTest.class);
    suite.addTestSuite(GwtInt16ArrayTest.class);
    suite.addTestSuite(GwtInt32ArrayTest.class);
    suite.addTestSuite(GwtInt8ArrayTest.class);
    suite.addTestSuite(GwtUint16ArrayTest.class);
    suite.addTestSuite(GwtUint32ArrayTest.class);
    suite.addTestSuite(GwtUint8ArrayTest.class);
    suite.addTestSuite(GwtUint8ClampedArrayTest.class);
    suite.addTestSuite(StringArrayBufferTest.class);
    // $JUnit-END$

    return suite;
  }
View Full Code Here

* All validation client GWT tests.
*/
public class ValidationClientGwtSuite {

  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite(
        "Test suite for all validation code.");
    suite.addTestSuite(BaseMessageInterpolatorTest.class);
    suite.addTestSuite(GwtValidatorContextTest.class);
    suite.addTestSuite(SimpleSampleTest.class);
    return suite;
  }
View Full Code Here

/**
* Tests script and resource injection.
*/
public class ModuleSuite {
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite();

    suite.addTestSuite(ConfigurationPropertiesTest.class);
    suite.addTestSuite(SingleScriptInjectionTest.class);
    suite.addTestSuite(DoubleScriptInjectionTest.class);
    suite.addTestSuite(ScriptInjectionEncodingTest.class);
    suite.addTestSuite(NoDeployTest.class);

    return suite;
  }
View Full Code Here

* Tests the ClientBundle framework.
*/
public class ResourcesGwtSuite {
  public static Test suite() {

    GWTTestSuite suite = new GWTTestSuite("Test for com.google.gwt.resources");
    suite.addTestSuite(DataResourceDoNotEmbedTest.class);
    suite.addTestSuite(DataResourceMimeTypeTest.class);
    suite.addTestSuite(ExternalTextResourceJsonpTest.class);
    suite.addTestSuite(ExternalTextResourceTest.class);
    suite.addTestSuite(ImageResourceNoInliningTest.class);
    suite.addTestSuite(ImageResourceTest.class);
    suite.addTestSuite(NestedBundleTest.class);
    suite.addTestSuite(TextResourceTest.class);
    suite.addTestSuite(CSSResourceTest.class);

    // GSS
    suite.addTestSuite(AutoConversionTest.class);
    suite.addTestSuite(GssResourceTest.class);
    suite.addTestSuite(DebugObfuscationStyleTest.class);
    suite.addTestSuite(PrettyObfuscationStyleTest.class);
    suite.addTestSuite(StableShortTypeObfuscationStyleTest.class);
    suite.addTestSuite(StableNoTypeObfuscationStyleTest.class);
    suite.addTestSuite(StableObfuscationStyleTest.class);
    return suite;
  }
View Full Code Here

/**
* Tests of the view package.
*/
public class ViewSuite {
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Test suite for all view classes");

    suite.addTestSuite(AbstractDataProviderTest.class);
    suite.addTestSuite(AbstractSelectionModelTest.class);
    suite.addTestSuite(AsyncDataProviderTest.class);
    suite.addTestSuite(DefaultNodeInfoTest.class);
    suite.addTestSuite(DefaultSelectionEventManagerTest.class);
    suite.addTestSuite(DefaultSelectionModelTest.class);
    suite.addTestSuite(ListDataProviderTest.class);
    suite.addTestSuite(MultiSelectionModelTest.class);
    suite.addTestSuite(NoSelectionModelTest.class);
    suite.addTestSuite(OrderedMultiSelectionModelTest.class);
    suite.addTestSuite(RangeTest.class);
    suite.addTestSuite(SingleSelectionModelTest.class);
    return suite;
  }
View Full Code Here

* Tests that GWT.runAsync works with the cross-site linker.
*/
public class CrossSiteRunAsyncSuite {

  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Test for com.google.gwt.dev.jjs");

    suite.addTestSuite(CrossSiteRunAsyncMetricsTest.class);
    suite.addTestSuite(CrossSiteRunAsyncFailureTest.class);
    suite.addTestSuite(CrossSiteRunAsyncTest.class);
   
    return suite;
  }
View Full Code Here

/**
* Tests that GWT.runAsync works with the cross-site iframe linker.
*/
public class CrossSiteIframeRunAsyncSuite {
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Test for runAsync with the cross-site iframe linker");

    suite.addTestSuite(CrossSiteIframeRunAsyncFailureTest.class);
    suite.addTestSuite(CrossSiteIframeRunAsyncTest.class);

    return suite;
  }
View Full Code Here

* The complete compiler suite.
*/
public class CompilerSuite {

  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Test for com.google.gwt.dev.jjs");

    // $JUnit-BEGIN$
    suite.addTestSuite(AnnotationsTest.class);
    suite.addTestSuite(AutoboxTest.class);
    suite.addTestSuite(BlankInterfaceTest.class);
    suite.addTestSuite(ClassCastTest.class);
    suite.addTestSuite(ClassLiteralsTest.class);
    suite.addTestSuite(CodeSplitterCollapsedPropertiesTest.class);
    suite.addTestSuite(CompilerTest.class);
    suite.addTestSuite(CompilerMiscRegressionTest.class);
    suite.addTestSuite(CoverageTest.class);
    suite.addTestSuite(EnhancedForLoopTest.class);
    suite.addTestSuite(EnumsTest.class);
    suite.addTestSuite(EnumsWithNameObfuscationTest.class);
    suite.addTestSuite(FieldInitializationOrderTest.class);
    suite.addTestSuite(GenericCastTest.class);
    suite.addTestSuite(GwtIncompatibleTest.class);
    suite.addTestSuite(HostedTest.class);
    suite.addTestSuite(InitialLoadSequenceTest.class);
    suite.addTestSuite(InnerClassTest.class);
    suite.addTestSuite(InnerOuterSuperTest.class);
    // Java7Test cannot be the first one in a suite. It uses a hack
    // to avoid executing if not in a Java 7+ environment.
    suite.addTestSuite(Java7Test.class);
    suite.addTestSuite(JavaAccessFromJavaScriptTest.class);
    suite.addTestSuite(JsniConstructorTest.class);
    suite.addTestSuite(JsniDispatchTest.class);
    suite.addTestSuite(JsoTest.class);
    suite.addTestSuite(JsStaticEvalTest.class);
    suite.addTestSuite(JStaticEvalTest.class);
    suite.addTestSuite(MemberShadowingTest.class);
    suite.addTestSuite(MethodBindTest.class);
    suite.addTestSuite(MethodCallTest.class);
    suite.addTestSuite(MethodInterfaceTest.class);
    suite.addTestSuite(MiscellaneousTest.class);
    suite.addTestSuite(NativeLongTest.class);
    suite.addTestSuite(ObjectIdentityTest.class);
    suite.addTestSuite(ScriptOnlyTest.class);
    suite.addTestSuite(SingleJsoImplTest.class);
    suite.addTestSuite(StackTraceLineNumbersTest.class);
    suite.addTestSuite(TypeHierarchyTest.class);
    suite.addTestSuite(UnusedImportsTest.class);
    suite.addTestSuite(UnstableGeneratorTest.class);
    suite.addTestSuite(VarargsTest.class);
    // $JUnit-END$

    return suite;
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.junit.tools.GWTTestSuite

Copyright © 2018 www.massapicom. 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.