Package com.googlecode.gwt.test

Examples of com.googlecode.gwt.test.GwtModule


   public List<UiObjectTagFactory<?>> getUiObjectTagFactories() {
      return uiObjectTagFactories;
   }

   public void setupGwtModule(Class<?> testClass) {
      GwtModule gwtModule = testClass.getAnnotation(GwtModule.class);

      if (gwtModule == null) {
         throw new GwtTestConfigurationException("The test class " + testClass.getName()
                  + " must be annotated with @" + GwtModule.class.getSimpleName()
                  + " to specify the fully qualified name of the GWT module to test");
      }

      String moduleName = gwtModule.value();

      if (moduleName == null || "".equals(moduleName.trim())) {
         throw new GwtTestConfigurationException("Incorrect value for @"
                  + GwtModule.class.getSimpleName() + " on " + testClass.getName() + ": "
                  + moduleName);
View Full Code Here

TOP

Related Classes of com.googlecode.gwt.test.GwtModule

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.