This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit e0cb3d3a13163f14a49cf71f83387502daf7590e Author: Otavio Rodolfo Piske <angusyo...@gmail.com> AuthorDate: Thu Jun 27 16:12:44 2024 +0200 CAMEL-20838: mark the isRouteCoverageEnabled as deprecated --- .../main/java/org/apache/camel/test/junit5/AbstractTestSupport.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/AbstractTestSupport.java b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/AbstractTestSupport.java index e20e0e6c0c6..d0687dba8e7 100644 --- a/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/AbstractTestSupport.java +++ b/components/camel-test/camel-test-junit5/src/main/java/org/apache/camel/test/junit5/AbstractTestSupport.java @@ -354,8 +354,10 @@ public abstract class AbstractTestSupport implements CommonTestSupport { /** * Whether route coverage is enabled * - * @return true if enabled or false otherwise + * @deprecated Use the methods {@link #testConfiguration()} to enable or disable the route converage dumper + * @return true if enabled or false otherwise */ + @Deprecated(since = "4.7.0") protected boolean isRouteCoverageEnabled() { return testConfigurationBuilder.isRouteCoverageEnabled(); }