diff options
author | Denis Anisimov <denis@vaadin.com> | 2016-11-28 10:10:21 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2016-11-29 10:35:59 +0000 |
commit | b8e84da2e2dc4bcaed40d169c40a97f3d11e0648 (patch) | |
tree | 80e5a8e7a7856b67048319958ef88b5466d3e4bc /uitest | |
parent | 0d57c15577f5d5e15453024ce90144120948eae9 (diff) | |
download | vaadin-framework-b8e84da2e2dc4bcaed40d169c40a97f3d11e0648.tar.gz vaadin-framework-b8e84da2e2dc4bcaed40d169c40a97f3d11e0648.zip |
Correct all tests that introspect classpath for Vaadin classes.
Fixes vaadin/framework8-issues#399
RemoveListenersDeprecatedTest test is fixed.
Corrections are made to make the test above passes.
Change-Id: I209a4693d241a1488b69b4742f48549dbf4bf0ac
Diffstat (limited to 'uitest')
-rw-r--r-- | uitest/src/main/java/com/vaadin/tests/VaadinClasses.java | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/uitest/src/main/java/com/vaadin/tests/VaadinClasses.java b/uitest/src/main/java/com/vaadin/tests/VaadinClasses.java index bee83d8e01..f5af00234c 100644 --- a/uitest/src/main/java/com/vaadin/tests/VaadinClasses.java +++ b/uitest/src/main/java/com/vaadin/tests/VaadinClasses.java @@ -68,21 +68,6 @@ public class VaadinClasses { return classes; } - @SuppressWarnings({ "unchecked", "rawtypes" }) - public static List<Class<?>> getBasicComponentTests() { - try { - // Given as name to avoid dependencies on testbench source folder - return (List) findClasses( - Class.forName( - "com.vaadin.tests.components.AbstractComponentTest"), - "com.vaadin.tests.components"); - } catch (Exception e) { - e.printStackTrace(); - return null; - } - - } - private static <T> List<Class<? extends T>> findClasses(Class<T> baseClass, String basePackage) throws IOException { return findClasses(baseClass, basePackage, new String[] {}); |