use of com.google.gwt.junit.tools.GWTTestSuite in project guava by google.
the class GwtTestSuite method suite.
public static Test suite() throws IOException {
GWTTestSuite suite = new GWTTestSuite();
for (ClassInfo info : ClassPath.from(GwtTestSuite.class.getClassLoader()).getTopLevelClasses()) {
if (info.getName().endsWith("_gwt")) {
Class<?> clazz = info.load();
// TODO(cpovirk): why does asSubclass() throw? Is it something about ClassLoaders?
@SuppressWarnings("unchecked") Class<? extends GWTTestCase> cast = (Class<? extends GWTTestCase>) clazz;
suite.addTestSuite(cast);
}
}
return suite;
}
use of com.google.gwt.junit.tools.GWTTestSuite in project rstudio by rstudio.
the class RStudioUnitTestSuite method suite.
public static Test suite() {
GWTTestSuite suite = new GWTTestSuite("RStudio Unit Test Suite");
suite.addTestSuite(RTokenizerTests.class);
suite.addTestSuite(VirtualConsoleTests.class);
suite.addTestSuite(StringUtilTests.class);
suite.addTestSuite(DomUtilsTests.class);
return suite;
}
use of com.google.gwt.junit.tools.GWTTestSuite in project auto by google.
the class GwtSerializerSuite method suite.
public static Test suite() {
GWTTestSuite suite = new GWTTestSuite();
suite.addTestSuite(GwtSerializerTest.class);
return suite;
}
Aggregations