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
The following commit(s) were added to refs/heads/main by this push:
new eaa34d0a760 CAMEL-21080: avoid duplicating configuration
eaa34d0a760 is described below
commit eaa34d0a760da610857cb7f60a3f768bf0c4783c
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Tue Sep 24 10:35:56 2024 -0300
CAMEL-21080: avoid duplicating configuration
- route builder defaults in camel-http
- route coverage defaults in camel-route-parser
---
.../java/org/apache/camel/parser/java/RoasterJavaRestDslTest.java | 5 -----
.../org/apache/camel/component/http/HttpDefaultPortNumberTest.java | 5 -----
2 files changed, 10 deletions(-)
diff --git
a/catalog/camel-route-parser/src/test/java/org/apache/camel/parser/java/RoasterJavaRestDslTest.java
b/catalog/camel-route-parser/src/test/java/org/apache/camel/parser/java/RoasterJavaRestDslTest.java
index 3f7cd705a68..8002aac02df 100644
---
a/catalog/camel-route-parser/src/test/java/org/apache/camel/parser/java/RoasterJavaRestDslTest.java
+++
b/catalog/camel-route-parser/src/test/java/org/apache/camel/parser/java/RoasterJavaRestDslTest.java
@@ -32,11 +32,6 @@ import static org.junit.jupiter.api.Assertions.assertNull;
public class RoasterJavaRestDslTest extends CamelTestSupport {
- @Override
- public boolean isDumpRouteCoverage() {
- return false;
- }
-
@Test
void parseRestConfiguration() throws Exception {
JavaClassSource clazz = (JavaClassSource) Roaster
diff --git
a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpDefaultPortNumberTest.java
b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpDefaultPortNumberTest.java
index 9021e173f70..431fdaea08d 100644
---
a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpDefaultPortNumberTest.java
+++
b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpDefaultPortNumberTest.java
@@ -133,11 +133,6 @@ public class HttpDefaultPortNumberTest extends
BaseHttpTest {
assertRefused(exchange, ":80");
}
- @Override
- public boolean isUseRouteBuilder() {
- return true;
- }
-
private void assertRefused(Exchange exchange, String portExt) {
Map<String, Object> headers = exchange.getMessage().getHeaders();
//no http response: