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 /compatibility-server/src/test/java/com/vaadin/tests/server/DeprecatedTest.java | |
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 'compatibility-server/src/test/java/com/vaadin/tests/server/DeprecatedTest.java')
-rw-r--r-- | compatibility-server/src/test/java/com/vaadin/tests/server/DeprecatedTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compatibility-server/src/test/java/com/vaadin/tests/server/DeprecatedTest.java b/compatibility-server/src/test/java/com/vaadin/tests/server/DeprecatedTest.java index ab04f0616a..f00592af6d 100644 --- a/compatibility-server/src/test/java/com/vaadin/tests/server/DeprecatedTest.java +++ b/compatibility-server/src/test/java/com/vaadin/tests/server/DeprecatedTest.java @@ -34,7 +34,7 @@ public class DeprecatedTest { File testRoot = new File(DeprecatedTest.class.getResource("/").toURI()); - new ClasspathHelper(fqn -> false) + new ClasspathHelper() .getVaadinClassesFromClasspath( entry -> entry.contains("compatibility-server") && !testRoot.equals(new File(entry))) @@ -45,7 +45,8 @@ public class DeprecatedTest { + " is in compatability package and it's not deprecated", cls.getAnnotation(Deprecated.class)); }); - Assert.assertNotEquals("Total number of checked classes", 0, count.get()); + Assert.assertNotEquals("Total number of checked classes", 0, + count.get()); } } |