]> source.dussan.org Git - vaadin-framework.git/commitdiff
Use class name and not enclosing class for screenshot name
authorArtur Signell <artur@vaadin.com>
Mon, 7 Oct 2013 17:17:40 +0000 (20:17 +0300)
committerVaadin Code Review <review@vaadin.com>
Tue, 8 Oct 2013 12:28:30 +0000 (12:28 +0000)
Change-Id: I8e9e0487f4354ee0523b5d3c0c016a002c395107

uitest/src/com/vaadin/tests/tb3/ScreenshotTB3Test.java

index 94bcebde84b5c063a7b67642a2f39b98752f53db..cbdae1a6c1d3833dad0c77c235846542d2d5fc6c 100644 (file)
@@ -61,10 +61,6 @@ public abstract class ScreenshotTB3Test extends AbstractTB3Test {
             testMethod = testMethod.replaceAll("\\[.*\\]", "");
 
             String className = testClass.getSimpleName();
-            if (testClass.getEnclosingClass() != null) {
-                className = testClass.getEnclosingClass().getSimpleName();
-            }
-
             screenshotBaseName = className + "-" + testMethod;
         }