Package com.google.gwt.junit.tools

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


  /**
   * Note: due to compiler error, only can use one Test Case at a time.
   */
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Tests for com.google.gwt.emul.java");

    // $JUnit-BEGIN$
    //-- java.lang
    suite.addTestSuite(BooleanTest.class);
    suite.addTestSuite(ByteTest.class);
    suite.addTestSuite(CharacterTest.class);
    suite.addTestSuite(CompilerConstantStringTest.class);
    suite.addTestSuite(DoubleTest.class);
    suite.addTestSuite(FloatTest.class);
    suite.addTestSuite(LongTest.class);
    suite.addTestSuite(MathTest.class);
    suite.addTestSuite(IntegerTest.class);
    suite.addTestSuite(ObjectTest.class);
    suite.addTestSuite(ShortTest.class);
    suite.addTestSuite(StringBufferTest.class);
    suite.addTestSuite(StringTest.class);
    suite.addTestSuite(SystemTest.class);
    suite.addTestSuite(ThrowableTest.class);
    //-- java.math
    // BigDecimal is tested in {@link BigDecimalSuite}
    // BigInteger is tested in {@link BigIntegerSuite}
    suite.addTestSuite(RoundingModeTest.class);
    suite.addTestSuite(MathContextTest.class);
    suite.addTestSuite(MathContextWithObfuscatedEnumsTest.class);

    //-- java.security
    suite.addTestSuite(MessageDigestTest.class);

    //-- java.sql
    suite.addTestSuite(SqlDateTest.class);
    suite.addTestSuite(SqlTimeTest.class);
    suite.addTestSuite(SqlTimestampTest.class);
    // $JUnit-END$

    return suite;
  }
View Full Code Here


* Tests of the dom and HTML implementation of element builders.
*/
public class ElementBuilderGwtSuite {

  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("GWT tests for all builders");

    // Html implementation tests.
    suite.addTestSuite(GwtHtmlBuilderImplTest.class);
    suite.addTestSuite(GwtHtmlStylesBuilderTest.class);

    // DOM implementation tests.
    suite.addTestSuite(GwtDomBuilderImplTest.class);
    suite.addTestSuite(GwtDomStylesBuilderTest.class);

    // Element builder tests.
    suite.addTestSuite(GwtAnchorBuilderTest.class);
    suite.addTestSuite(GwtAreaBuilderTest.class);
    suite.addTestSuite(GwtAudioBuilderTest.class);
    suite.addTestSuite(GwtBaseBuilderTest.class);
    suite.addTestSuite(GwtBodyBuilderTest.class);
    suite.addTestSuite(GwtBRBuilderTest.class);
    suite.addTestSuite(GwtButtonBuilderTest.class);
    suite.addTestSuite(GwtCanvasBuilderTest.class);
    suite.addTestSuite(GwtDivBuilderTest.class);
    suite.addTestSuite(GwtDListBuilderTest.class);
    suite.addTestSuite(GwtFieldSetBuilderTest.class);
    suite.addTestSuite(GwtFormBuilderTest.class);
    suite.addTestSuite(GwtFrameBuilderTest.class);
    suite.addTestSuite(GwtFrameSetBuilderTest.class);
    suite.addTestSuite(GwtHeadBuilderTest.class);
    suite.addTestSuite(GwtHeadingBuilderTest.class);
    suite.addTestSuite(GwtHRBuilderTest.class);
    suite.addTestSuite(GwtIFrameBuilderTest.class);
    suite.addTestSuite(GwtImageBuilderTest.class);
    suite.addTestSuite(GwtInputBuilderTest.class);
    suite.addTestSuite(GwtLabelBuilderTest.class);
    suite.addTestSuite(GwtLegendBuilderTest.class);
    suite.addTestSuite(GwtLIBuilderTest.class);
    suite.addTestSuite(GwtLinkBuilderTest.class);
    suite.addTestSuite(GwtMapBuilderTest.class);
    suite.addTestSuite(GwtMetaBuilderTest.class);
    suite.addTestSuite(GwtOListBuilderTest.class);
    suite.addTestSuite(GwtOptGroupBuilderTest.class);
    suite.addTestSuite(GwtOptionBuilderTest.class);
    suite.addTestSuite(GwtParagraphBuilderTest.class);
    suite.addTestSuite(GwtParamBuilderTest.class);
    suite.addTestSuite(GwtPreBuilderTest.class);
    suite.addTestSuite(GwtQuoteBuilderTest.class);
    suite.addTestSuite(GwtScriptBuilderTest.class);
    suite.addTestSuite(GwtSelectBuilderTest.class);
    suite.addTestSuite(GwtSourceBuilderTest.class);
    suite.addTestSuite(GwtSpanBuilderTest.class);
    suite.addTestSuite(GwtStyleBuilderTest.class);
    suite.addTestSuite(GwtTableCaptionBuilderTest.class);
    suite.addTestSuite(GwtTableCellBuilderTest.class);
    suite.addTestSuite(GwtTableColBuilderTest.class);
    suite.addTestSuite(GwtTableBuilderTest.class);
    suite.addTestSuite(GwtTableRowBuilderTest.class);
    suite.addTestSuite(GwtTableSectionBuilderTest.class);
    suite.addTestSuite(GwtTextAreaBuilderTest.class);
    suite.addTestSuite(GwtTitleBuilderTest.class);
    suite.addTestSuite(GwtUListBuilderTest.class);
    suite.addTestSuite(GwtVideoBuilderTest.class);

    return suite;
  }
View Full Code Here

/**
* Tests <code>TreeMap</code>.
*/
public class TreeMapSuiteSub {
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Tests for com.google.gwt.emul.java.util.TreeMap");
    suite.addTestSuite(TreeMapStringStringTest.class);
    suite.addTestSuite(TreeMapStringStringWithComparatorTest.class);
    suite.addTestSuite(TreeMapIntegerDoubleTest.class);
    suite.addTestSuite(TreeMapIntegerDoubleWithComparatorTest.class);
    return suite;
  }
View Full Code Here

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

    suite.addTestSuite(AbstractCellTest.class);
    suite.addTestSuite(ActionCellTest.class);
    suite.addTestSuite(ButtonCellTest.class);
    suite.addTestSuite(CheckboxCellTest.class);
    suite.addTestSuite(ClickableTextCellTest.class);
    suite.addTestSuite(CompositeCellTest.class);
    suite.addTestSuite(DateCellTest.class);
    suite.addTestSuite(DatePickerCellTest.class);
    suite.addTestSuite(EditTextCellTest.class);
    suite.addTestSuite(IconCellDecoratorTest.class);
    suite.addTestSuite(ImageCellTest.class);
    suite.addTestSuite(ImageLoadingCellTest.class);
    suite.addTestSuite(ImageResourceCellTest.class);
    suite.addTestSuite(NumberCellTest.class);
    suite.addTestSuite(SelectionCellTest.class);
    suite.addTestSuite(TextButtonCellTest.class);
    suite.addTestSuite(TextCellTest.class);
    suite.addTestSuite(TextInputCellTest.class);
    return suite;
  }
View Full Code Here

*/
public class BigIntegerSuite {

  /** Note: due to compiler error, only can use one Test Case at a time. */
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Tests for BigInteger");
    suite.addTestSuite(BigIntegerAddTest.class);
    suite.addTestSuite(BigIntegerAndTest.class);
    suite.addTestSuite(BigIntegerCompareTest.class);
    suite.addTestSuite(BigIntegerConstructorsTest.class);
    suite.addTestSuite(BigIntegerConvertTest.class);
    suite.addTestSuite(BigIntegerDivideTest.class);
    suite.addTestSuite(BigIntegerHashCodeTest.class);
    suite.addTestSuite(BigIntegerModPowTest.class);
    suite.addTestSuite(BigIntegerMultiplyTest.class);
    suite.addTestSuite(BigIntegerNotTest.class);
    suite.addTestSuite(BigIntegerOperateBitsTest.class);
    suite.addTestSuite(BigIntegerOrTest.class);
    suite.addTestSuite(BigIntegerSubtractTest.class);
    suite.addTestSuite(BigIntegerToStringTest.class);
    suite.addTestSuite(BigIntegerXorTest.class);
    return suite;
  }
View Full Code Here

* Test JRE Collections emulation.
*/
public class CollectionsSuite {

  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Tests for emulation of Java Collections");

    // $JUnit-BEGIN$
    suite.addTestSuite(ArrayListTest.class);
    suite.addTestSuite(ArraysTest.class);
    suite.addTestSuite(CollectionsTest.class);
    suite.addTestSuite(ComparatorTest.class);
    suite.addTestSuite(DateTest.class);
    suite.addTestSuite(EnumMapTest.class);
    suite.addTestSuite(EnumSetTest.class);
    suite.addTestSuite(HashMapSmokeTest.class);
    suite.addTestSuite(HashMapTest.class);
    suite.addTestSuite(HashSetTest.class);
    suite.addTestSuite(IdentityHashMapTest.class);
    suite.addTestSuite(LinkedHashMapTest.class);
    suite.addTestSuite(LinkedHashSetTest.class);
    suite.addTestSuite(LinkedListTest.class);
    suite.addTestSuite(ObjectsTest.class);
    suite.addTestSuite(PriorityQueueTest.class);
    suite.addTestSuite(RandomTest.class);
    suite.addTestSuite(StackTest.class);
    suite.addTestSuite(VectorTest.class);
    suite.addTest(TreeMapSuiteSub.suite());
    suite.addTest(TreeSetSuiteSub.suite());
    // $JUnit-END$

    return suite;
  }
View Full Code Here

* A suite to execute all of Speed Tracer's UI test cases.
*/
public class AllTestsSuite extends GWTTestSuite {

  public static Test suite() {
    final GWTTestSuite suite = new GWTTestSuite("All Tests");
    suite.addTestSuite(WindowChannelTests.class);
    suite.addTestSuite(UiThreadUtilizationTests.class);
    suite.addTestSuite(GraphModelTests.class);
    suite.addTestSuite(TimeStampFormatterTests.class);
    suite.addTestSuite(HighlightModelTests.class);
    suite.addTestSuite(MockXhrTests.class);
    suite.addTestSuite(ModelDataTests.class);
    suite.addTestSuite(PostMessageChannelTests.class);
    suite.addTestSuite(EventFilterTests.class);
    suite.addTestSuite(SourceViewerTests.class);
    suite.addTestSuite(JavaScriptProfileModelV8ImplTests.class);
    suite.addTestSuite(JavaScriptProfileNodeTests.class);
    suite.addTestSuite(V8LogDecompressorTests.class);
    suite.addTestSuite(V8SymbolTableTests.class);
    suite.addTestSuite(JsSymbolMapTests.class);
    suite.addTestSuite(UrlTests.class);
    suite.addTestSuite(SymbolServerControllerTests.class);
    suite.addTestSuite(WorkQueueTests.class);
    suite.addTestSuite(CsvTests.class);
    suite.addTestSuite(UiEventTests.class);
    suite.addTestSuite(HeadlessContentScriptTests.class);
    suite.addTestSuite(ServerEventControllerTests.class);
    suite.addTestSuite(SourceViewerServerTests.class);
    suite.addTestSuite(ReportDataCollectorTests.class);
    suite.addTestSuite(DataLoaderTests.class);
    //Hintlet tests
    suite.addTestSuite(HintletCacheUtilsTests.class);
    suite.addTestSuite(HintletHeaderUtilsTests.class);
    suite.addTestSuite(WebInspectorTypeTests.class);
    suite.addTestSuite(HintletLongDurationTests.class);
    suite.addTestSuite(HintletCacheControlTests.class);
    suite.addTestSuite(HintletFrequentLayoutTests.class);
    suite.addTestSuite(HintletGwtDetectTests.class);
    suite.addTestSuite(HintletNotGzTests.class);
    suite.addTestSuite(HintletStaticNoCookieTests.class);
    suite.addTestSuite(HintletTotalBytesTests.class);
   
    return suite;
  }
View Full Code Here

* Class to run all Gwt test in a jvm instance.
* It speeds up maven testing phase.
*/
public class GQueryGwtSuiteTest extends GWTTestSuite {
  public static Test suite() {
      GWTTestSuite suite = new GWTTestSuite( "GQuery Suite" );
      suite.addTestSuite(AjaxTestJre.class);
      suite.addTestSuite(DataBindingTestJre.class);
      suite.addTestSuite(DataBindingTestGwt.class);
      suite.addTestSuite(GQueryAjaxTestGwt.class);
      suite.addTestSuite(AjaxTestGwt.class);
      suite.addTestSuite(GQueryDeferredTestGwt.class);
      suite.addTestSuite(DeferredTestGwt.class);
      suite.addTestSuite(GQuerySelectorsTestGwt.class);
      suite.addTestSuite(GQueryCoreTestGwt.class);
      suite.addTestSuite(GQueryCssTestGwt.class);
      suite.addTestSuite(GQueryEventsTestGwt.class);
      suite.addTestSuite(GQueryEffectsTestGwt.class);
      suite.addTestSuite(GQueryJsTestGwt.class);
      suite.addTestSuite(GQueryWidgetsTestGwt.class);
      suite.addTestSuite(SelectorEnginesTestGwt.class);
      return suite;
  }
View Full Code Here

* All the GWT test cases of gwtp-mvp-client. Does not extend {@code GWTTestSuite} as it is
* not compatible with gwt-maven-plugin. See {@link http://mojo.codehaus.org/gwt-maven-plugin/user-guide/testing.html}.
*/
public class MvpClientGwtTestSuite extends TestCase {
    public static Test suite() {
        GWTTestSuite suite = new GWTTestSuite("All the GWT test cases of gwtp-mvp-client and gwtp-mvp-shared.");
        suite.addTestSuite(ParameterTokenFormatterGwtTestInSuite.class);
        suite.addTestSuite(MvpGwtTestInSuite.class);
        return suite;
    }
View Full Code Here

    /**
     * @return the suite of that module
     */
    public static Test suite() {
        GWTTestSuite suite = new GWTTestSuite("AnnotationResolver GwtTestCases" );

        suite.addTestSuite(ModelChangeAnnotationTestGwt.class);

        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.