changeset 1148:573f1de172ed

jmh-core-it: simpler test mask selector.
author shade
date Tue, 03 Mar 2015 23:24:38 +0300
parents a344ddc5d659
children 43167efb0a90
files jmh-core-it/src/test/java/org/openjdk/jmh/it/Fixtures.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core-it/src/test/java/org/openjdk/jmh/it/Fixtures.java	Tue Mar 03 23:20:34 2015 +0300
+++ b/jmh-core-it/src/test/java/org/openjdk/jmh/it/Fixtures.java	Tue Mar 03 23:24:38 2015 +0300
@@ -35,7 +35,7 @@
     }
 
     public static String getTestMask(Class<?> klass) {
-        return ".*" + klass.getCanonicalName().replaceAll("org\\.openjdk\\.jmh\\.it", "").replaceAll("\\.",".*\\\\.") + ".*";
+        return klass.getCanonicalName();
     }
 
     public static void work() {