Package com.google.gwt.junit.tools

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


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

        // keep the cache-callback at the beginning to get it pass
        // TODO why ? and what goes wrong when at located at the end ?
        suite.addTestSuite(CacheCallbackTestGwt.class);
        suite.addTestSuite(InnerClassesEncoderDecoderTestGwt.class);
        suite.addTestSuite(MapInRestServiceEncoderDecoderTestGwt.class);
        suite.addTestSuite(EncoderDecoderTestGwt.class);
       
        suite.addTestSuite(FlakyTestGwt.class);
        suite.addTestSuite(TimeoutTestGwt.class);
        suite.addTestSuite(CachingTestGwt.class);
        suite.addTestSuite(ResourceTestGwt.class);
        suite.addTestSuite(ResourcePassesHeadersTestGwt.class);
        suite.addTestSuite(VolatileQueueableCacheStorageTestGwt.class);      
        suite.addTestSuite(FailingTestGwt.class);
        suite.addTestSuite(GenericsTestGwt.class);
        suite.addTestSuite(ParameterizedTypeDTO.class);
        suite.addTestSuite(ParameterizedTypeServiceInterfaces.class);
        suite.addTestSuite(SubResourceClientGeneration.class);
        suite.addTestSuite(JsonTypeIdResolver.class);
        suite.addTestSuite(JsonCreatorWithSubtypes.class);
        suite.addTestSuite(PathParamTestGwt.class);
        suite.addTestSuite(QueryParamTestGwt.class);
        suite.addTestSuite(FormParamTestGwt.class);
        suite.addTestSuite(DirectRestServiceTestGwt.class);
       
        //TODO not sure what a jsonp servlet looks like, i.e. the one used by the test just
        // produces error on the javascript callback
        //suite.addTestSuite(JsonpTestGwt.class);
        return suite;
View Full Code Here


    extends TestCase
{

    public static Test suite()
    {
        GWTTestSuite suite = new GWTTestSuite( "This will fail" );
        suite.addTestSuite( FailTestGwt.class );
        return suite;
    }
View Full Code Here

/**
* TestSuite for the JSIO API.
*/
public class JSIOTestSuite extends TestCase {
  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite("Test for the JSIO API");

    suite.addTestSuite(JSExporterTest.class);
    suite.addTestSuite(JSFlyweightWrapperTest.class);
    suite.addTestSuite(JSIOBeanReturnUndefined.class);
    suite.addTestSuite(JSONInvokerTest.class);
    suite.addTestSuite(JSONWrapperTest.class);
    suite.addTestSuite(JsoOverrideTest.class);
    suite.addTestSuite(NamePolicyTest.class);

    return suite;
  }
View Full Code Here

* @author Nicolas Morel
*/
public class GwtJacksonTestSuite extends TestCase {

    public static Test suite() {
        GWTTestSuite suite = new GWTTestSuite();

        // Stream - tests from gson
        suite.addTestSuite( DefaultJsonReaderTest.class );
        suite.addTestSuite( NonBufferedJsonReaderTest.class );
        suite.addTestSuite( DefaultJsonWriterTest.class );
        suite.addTestSuite( FastJsonWriterTest.class );

        // Default json serializers
        suite.addTestSuite( ArrayJsonSerializerTest.class );
        suite.addTestSuite( ByteArrayJsonSerializerTest.class );
        suite.addTestSuite( ByteArray2dJsonSerializerTest.class );
        suite.addTestSuite( BigDecimalJsonSerializerTest.class );
        suite.addTestSuite( BigIntegerJsonSerializerTest.class );
        suite.addTestSuite( BooleanJsonSerializerTest.class );
        suite.addTestSuite( ByteJsonSerializerTest.class );
        suite.addTestSuite( CharacterJsonSerializerTest.class );
        suite.addTestSuite( CollectionJsonSerializerTest.class );
        suite.addTestSuite( DateJsonSerializerTest.class );
        suite.addTestSuite( DoubleJsonSerializerTest.class );
        suite.addTestSuite( EnumJsonSerializerTest.class );
        suite.addTestSuite( FloatJsonSerializerTest.class );
        suite.addTestSuite( IntegerJsonSerializerTest.class );
        suite.addTestSuite( IterableJsonSerializerTest.class );
        suite.addTestSuite( ListJsonSerializerTest.class );
        suite.addTestSuite( LongJsonSerializerTest.class );
        suite.addTestSuite( SetJsonSerializerTest.class );
        suite.addTestSuite( ShortJsonSerializerTest.class );
        suite.addTestSuite( SqlDateJsonSerializerTest.class );
        suite.addTestSuite( SqlTimeJsonSerializerTest.class );
        suite.addTestSuite( SqlTimestampJsonSerializerTest.class );
        suite.addTestSuite( StringJsonSerializerTest.class );
        suite.addTestSuite( UUIDJsonSerializerTest.class );
        suite.addTestSuite( VoidJsonSerializerTest.class );

        // Default key serializers
        suite.addTestSuite( BooleanKeySerializerTest.class );
        suite.addTestSuite( CharacterKeySerializerTest.class );
        suite.addTestSuite( DateKeySerializerTest.class );
        suite.addTestSuite( EnumKeySerializerTest.class );
        suite.addTestSuite( SqlDateKeySerializerTest.class );
        suite.addTestSuite( SqlTimeKeySerializerTest.class );
        suite.addTestSuite( SqlTimestampKeySerializerTest.class );
        suite.addTestSuite( StringKeySerializerTest.class );
        suite.addTestSuite( UUIDKeySerializerTest.class );
        suite.addTestSuite( BigDecimalKeySerializerTest.class );
        suite.addTestSuite( BigIntegerKeySerializerTest.class );
        suite.addTestSuite( ByteKeySerializerTest.class );
        suite.addTestSuite( DoubleKeySerializerTest.class );
        suite.addTestSuite( FloatKeySerializerTest.class );
        suite.addTestSuite( IntegerKeySerializerTest.class );
        suite.addTestSuite( LongKeySerializerTest.class );
        suite.addTestSuite( ShortKeySerializerTest.class );

        // Default deserializers
        suite.addTestSuite( ArrayJsonDeserializerTest.class );
        suite.addTestSuite( ByteArrayJsonDeserializerTest.class );
        suite.addTestSuite( ByteArray2dJsonDeserializerTest.class );
        suite.addTestSuite( BigDecimalJsonDeserializerTest.class );
        suite.addTestSuite( BigIntegerJsonDeserializerTest.class );
        suite.addTestSuite( BooleanJsonDeserializerTest.class );
        suite.addTestSuite( ByteJsonDeserializerTest.class );
        suite.addTestSuite( CharacterJsonDeserializerTest.class );
        suite.addTestSuite( CollectionJsonDeserializerTest.class );
        suite.addTestSuite( DateJsonDeserializerTest.class );
        suite.addTestSuite( DoubleJsonDeserializerTest.class );
        suite.addTestSuite( EnumJsonDeserializerTest.class );
        suite.addTestSuite( FloatJsonDeserializerTest.class );
        suite.addTestSuite( IntegerJsonDeserializerTest.class );
        suite.addTestSuite( IterableJsonDeserializerTest.class );
        suite.addTestSuite( ListJsonDeserializerTest.class );
        suite.addTestSuite( LongJsonDeserializerTest.class );
        suite.addTestSuite( SetJsonDeserializerTest.class );
        suite.addTestSuite( ShortJsonDeserializerTest.class );
        suite.addTestSuite( SqlDateJsonDeserializerTest.class );
        suite.addTestSuite( SqlTimeJsonDeserializerTest.class );
        suite.addTestSuite( SqlTimestampJsonDeserializerTest.class );
        suite.addTestSuite( StringJsonDeserializerTest.class );
        suite.addTestSuite( UUIDJsonDeserializerTest.class );
        suite.addTestSuite( VoidJsonDeserializerTest.class );

        // Default key deserializers
        suite.addTestSuite( BooleanKeyDeserializerTest.class );
        suite.addTestSuite( CharacterKeyDeserializerTest.class );
        suite.addTestSuite( DateKeyDeserializerTest.class );
        suite.addTestSuite( EnumKeyDeserializerTest.class );
        suite.addTestSuite( SqlDateKeyDeserializerTest.class );
        suite.addTestSuite( SqlTimeKeyDeserializerTest.class );
        suite.addTestSuite( SqlTimestampKeyDeserializerTest.class );
        suite.addTestSuite( StringKeyDeserializerTest.class );
        suite.addTestSuite( UUIDKeyDeserializerTest.class );
        suite.addTestSuite( BigDecimalKeyDeserializerTest.class );
        suite.addTestSuite( BigIntegerKeyDeserializerTest.class );
        suite.addTestSuite( ByteKeyDeserializerTest.class );
        suite.addTestSuite( DoubleKeyDeserializerTest.class );
        suite.addTestSuite( FloatKeyDeserializerTest.class );
        suite.addTestSuite( IntegerKeyDeserializerTest.class );
        suite.addTestSuite( LongKeyDeserializerTest.class );
        suite.addTestSuite( ShortKeyDeserializerTest.class );

        // Mappers
        suite.addTestSuite( SimpleBeanObjectReaderTest.class );
        suite.addTestSuite( SimpleBeanObjectWriterTest.class );
        suite.addTestSuite( AllCollectionsObjectMapperTest.class );
        suite.addTestSuite( AllMapsObjectMapperTest.class );
        suite.addTestSuite( CommonJsonMapperTest.class );
        suite.addTestSuite( IgnoreStaticGwtTest.class );
        suite.addTestSuite( CustomIterableGwtTest.class );
        suite.addTestSuite( PropertyNamingGwtTest.class );
        suite.addTestSuite( ErrorGwtTest.class );

        // Annotations test
        suite.addTestSuite( JsonAutoDetectGwtTest.class );
        suite.addTestSuite( JsonPropertyOrderGwtTest.class );
        suite.addTestSuite( JsonIgnoreGwtTest.class );
        suite.addTestSuite( JsonCreatorGwtTest.class );
        suite.addTestSuite( JsonIgnoreTypeGwtTest.class );
        suite.addTestSuite( JsonManagedAndBackReferenceGwtTest.class );
        suite.addTestSuite( JsonRootNameGwtTest.class );
        suite.addTestSuite( JsonRawValueGwtTest.class );
        suite.addTestSuite( JsonFormatGwtTest.class );

        // Advanced use cases
        suite.addTestSuite( ProxyAndAnonymousClassSerializationGwtTest.class );
        suite.addTestSuite( PrivateAccessGwtTest.class );
        suite.addTestSuite( InheritanceGwtTest.class );
        suite.addTestSuite( GenericsGwtTest.class );
        suite.addTestSuite( GenericsAndInheritanceGwtTest.class );
        suite.addTestSuite( WildcardGwtTest.class );
        suite.addTestSuite( ObjectGwtTest.class );

        // Polymorphism
        suite.addTestSuite( PolymorphismNoTypeInfoGwtTest.class );
        suite.addTestSuite( PolymorphismIdClassAsPropertyGwtTest.class );
        suite.addTestSuite( PolymorphismIdMinimalClassAsWrapperArrayGwtTest.class );
        suite.addTestSuite( PolymorphismIdNameAsWrapperObjectGwtTest.class );
        suite.addTestSuite( JsonTypeWithGenericsGwtTest.class );
        suite.addTestSuite( JsonTypeOnPropertiesGwtTest.class );
        suite.addTestSuite( JsonTypeOnParametersGwtTest.class );
        suite.addTestSuite( TypeNamesGwtTest.class );
        suite.addTestSuite( VisibleTypeIdGwtTest.class );
        suite.addTestSuite( JsonTypeWithEnumGwtTest.class );

        // Identity
        suite.addTestSuite( ObjectIdGwtTest.class );
        suite.addTestSuite( ObjectIdDeserializationGwtTest.class );
        suite.addTestSuite( ObjectIdSerializationGwtTest.class );
        suite.addTestSuite( ObjectIdWithPolymorphicGwtTest.class );
        suite.addTestSuite( ObjectIdWithEqualsGwtTest.class );

        // Options
        suite.addTestSuite( IndentGwtTest.class );
        suite.addTestSuite( DateOptionsGwtTest.class );
        suite.addTestSuite( CharArrayOptionGwtTest.class );
        suite.addTestSuite( WriteNullMapValuesOptionGwtTest.class );
        suite.addTestSuite( WriteEmptyJsonArraysOptionGwtTest.class );
        suite.addTestSuite( SingleArrayOptionGwtTest.class );

        // Mix-in
        suite.addTestSuite( MixinDeserForClassGwtTest.class );
        suite.addTestSuite( MixinDeserForCreatorsGwtTest.class );
        suite.addTestSuite( MixinInheritanceGwtTest.class );
        suite.addTestSuite( MixinSerForFieldsGwtTest.class );
        suite.addTestSuite( MixinSerForMethodsGwtTest.class );

        return suite;
    }
View Full Code Here

* @author Nicolas Morel
*/
public class GwtJacksonGuavaTestSuite extends TestCase {

    public static Test suite() {
        GWTTestSuite suite = new GWTTestSuite();
        suite.addTestSuite( OptionalGwtTest.class );
        suite.addTestSuite( FluentIterableGwtTest.class );
        suite.addTestSuite( ImmutablesGwtTest.class );
        suite.addTestSuite( BiMapGwtTest.class );
        suite.addTestSuite( MultisetGwtTest.class );
        suite.addTestSuite( MultimapGwtTest.class );
        return suite;
    }
View Full Code Here

import junit.framework.TestCase;

public class GwtTestSuite extends TestCase {

    public static Test suite() {
        final GWTTestSuite suite = new GWTTestSuite("gwtbootstrap3 suite");
        suite.addTestSuite(CheckBoxButtonGwt.class);
        suite.addTestSuite(RadioButtonGwt.class);
        return suite;
    }
View Full Code Here

*
*/
public class GwtTestSuite extends TestCase {

  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite();
    suite.addTestSuite(AnimationTestGwt.class);
    suite.addTestSuite(NodeTestGwt.class);
    suite.addTestSuite(StageTestGwt.class);
    suite.addTestSuite(EllipseTestGwt.class);
    suite.addTestSuite(TextTestGwt.class);
    suite.addTestSuite(ShapeTestGwt.class);
    suite.addTestSuite(GroupTestGwt.class);
    return suite;
  }
View Full Code Here

* @author Sikirulai Braheem <sbraheem at bramosystems dot com>
*/
public class GwtCoreTestSuite extends GWTTestSuite {

    public static Test suite() {
        GWTTestSuite suite = new GWTTestSuite("Test Core Module");
        suite.addTestSuite(TxtPlayerUtil.class);
         return suite;
    }
View Full Code Here

* @author Sikirulai Braheem <sbraheem at bramosystems dot com>
*/
public class GwtCoreTestSuite extends GWTTestSuite {

    public static Test suite() {
        GWTTestSuite suite = new GWTTestSuite("Test Core Module");
        suite.addTestSuite(TxtPlayTime.class);
        suite.addTestSuite(TxtTransformationMatrix.class);
        return suite;
    }
View Full Code Here

* Suite for all GWT tests.
*/
public class AllGwtTests extends GWTTestSuite {

  public static Test suite() {
    GWTTestSuite suite = new GWTTestSuite();
    suite.addTestSuite(GssResourceTest.class);
    suite.addTestSuite(DebugObfuscationStyleTest.class);
    suite.addTestSuite(PrettyObfuscationStyleTest.class);
    suite.addTestSuite(StableShortTypeObfuscationStyleTest.class);
    suite.addTestSuite(StableNoTypeObfuscationStyleTest.class);
    suite.addTestSuite(StableObfuscationStyleTest.class);
    suite.addTestSuite(AutoConversionTest.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.