changeset 998:53e0e7585434

jmh-core-it: fix two regressed tests after we changed the "jmhLoop" to "jmhStub" in generated method names.
author shade
date Wed, 03 Sep 2014 22:49:42 +0400
parents da463d84dd41
children 6a7ef879247a
files jmh-core-it/src/test/java/org/openjdk/jmh/it/synciter/SyncIterMeasurementOnlyTest.java jmh-core-it/src/test/java/org/openjdk/jmh/it/synciter/SyncIterNotOnlyMeasurementTest.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jmh-core-it/src/test/java/org/openjdk/jmh/it/synciter/SyncIterMeasurementOnlyTest.java	Wed Sep 03 20:01:49 2014 +0400
+++ b/jmh-core-it/src/test/java/org/openjdk/jmh/it/synciter/SyncIterMeasurementOnlyTest.java	Wed Sep 03 22:49:42 2014 +0400
@@ -57,7 +57,7 @@
     private boolean isInMeasurementLoop() {
         boolean inMeasurementLoop = false;
         for (StackTraceElement element : new Exception().getStackTrace()) {
-            inMeasurementLoop |= element.getMethodName().contains("jmhLoop");
+            inMeasurementLoop |= element.getMethodName().contains("jmhStub");
         }
         return inMeasurementLoop;
     }
--- a/jmh-core-it/src/test/java/org/openjdk/jmh/it/synciter/SyncIterNotOnlyMeasurementTest.java	Wed Sep 03 20:01:49 2014 +0400
+++ b/jmh-core-it/src/test/java/org/openjdk/jmh/it/synciter/SyncIterNotOnlyMeasurementTest.java	Wed Sep 03 22:49:42 2014 +0400
@@ -67,7 +67,7 @@
     private boolean isInMeasurementLoop() {
         boolean inMeasurementLoop = false;
         for (StackTraceElement element : new Exception().getStackTrace()) {
-            inMeasurementLoop |= element.getMethodName().contains("jmhLoop");
+            inMeasurementLoop |= element.getMethodName().contains("jmhStub");
         }
         return inMeasurementLoop;
     }