You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/12/04 15:24:04 UTC
[camel] 02/02: Fixed build in tests jmh
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
commit 768f36a123ea7d2e741950520a61a194c4c0e9c7
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Dec 4 16:23:05 2020 +0100
Fixed build in tests jmh
---
.../src/test/java/org/apache/camel/itest/jmh/CSimpleScript1.java | 5 +++++
.../src/test/java/org/apache/camel/itest/jmh/CSimpleScript2.java | 5 +++++
.../src/test/java/org/apache/camel/itest/jmh/CSimpleScript3.java | 5 +++++
3 files changed, 15 insertions(+)
diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript1.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript1.java
index 2ef4440..3f3751f 100644
--- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript1.java
+++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript1.java
@@ -40,4 +40,9 @@ public class CSimpleScript1 extends CSimpleSupport {
return headerAs(message, "gold", int.class) == 123;
}
+ @Override
+ public boolean isPredicate() {
+ return true;
+ }
+
}
diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript2.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript2.java
index 9d0305a..f5ad940 100644
--- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript2.java
+++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript2.java
@@ -40,4 +40,9 @@ public class CSimpleScript2 extends CSimpleSupport {
return headerAs(message, "gold", int.class) > 123;
}
+ @Override
+ public boolean isPredicate() {
+ return true;
+ }
+
}
diff --git a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript3.java b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript3.java
index 82f4dd9..c8d559b 100644
--- a/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript3.java
+++ b/tests/camel-jmh/src/test/java/org/apache/camel/itest/jmh/CSimpleScript3.java
@@ -40,4 +40,9 @@ public class CSimpleScript3 extends CSimpleSupport {
return headerAs(message, "gold", int.class) < 123;
}
+ @Override
+ public boolean isPredicate() {
+ return true;
+ }
+
}