summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2013-11-01 12:58:33 +0200
committerVaadin Code Review <review@vaadin.com>2013-11-04 11:25:03 +0000
commite07e674527bd7f0d787169ef024c38847316b76f (patch)
treed2f8138519f99bd66bde37889970a8ccd918818d /uitest
parentb47915f8d5eb955302c9ce44c1f576c39d888cef (diff)
downloadvaadin-framework-e07e674527bd7f0d787169ef024c38847316b76f.tar.gz
vaadin-framework-e07e674527bd7f0d787169ef024c38847316b76f.zip
Remove possibility to use static inner classes for tests
Change-Id: I461568918bc09bd7a09abbf9c4a34f1a5f3b997f
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java
index e6acad780f..d4eed99f19 100644
--- a/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java
+++ b/uitest/src/com/vaadin/tests/tb3/AbstractTB3Test.java
@@ -19,7 +19,6 @@ package com.vaadin.tests.tb3;
import java.net.URL;
import java.util.Collections;
import java.util.List;
-import java.util.logging.Logger;
import org.junit.After;
import org.junit.Before;
@@ -507,14 +506,6 @@ public abstract class AbstractTB3Test extends TestBenchTestCase {
}
} catch (Exception e) {
}
- Class<?> enclosingClass = getClass().getEnclosingClass();
- if (enclosingClass != null) {
- if (UI.class.isAssignableFrom(enclosingClass)) {
- Logger.getLogger(getClass().getName())
- .severe("Test is an static inner class to the UI. This will no longer be supported in the future. The test should be named UIClassTest and reside in the same package as the UI");
- return enclosingClass;
- }
- }
throw new RuntimeException(
"Could not determine UI class. Ensure the test is named UIClassTest and is in the same package as the UIClass");
}