You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/03/14 08:24:41 UTC

[camel] branch master updated: Move lifecycle api into its own api for camel context.

This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new ab6aa2e  Move lifecycle api into its own api for camel context.
ab6aa2e is described below

commit ab6aa2e344b3f91976948ca27de0a4f38a959d85
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sat Mar 14 09:24:18 2020 +0100

    Move lifecycle api into its own api for camel context.
---
 .../apache/camel/generator/openapi/RestDslGeneratorTest.java   | 10 +++++-----
 .../apache/camel/generator/openapi/RestDslGeneratorV3Test.java | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/tooling/openapi-rest-dsl-generator/src/test/java/org/apache/camel/generator/openapi/RestDslGeneratorTest.java b/tooling/openapi-rest-dsl-generator/src/test/java/org/apache/camel/generator/openapi/RestDslGeneratorTest.java
index 1b84880..3bd3f3b 100644
--- a/tooling/openapi-rest-dsl-generator/src/test/java/org/apache/camel/generator/openapi/RestDslGeneratorTest.java
+++ b/tooling/openapi-rest-dsl-generator/src/test/java/org/apache/camel/generator/openapi/RestDslGeneratorTest.java
@@ -49,7 +49,7 @@ public class RestDslGeneratorTest {
     final Instant generated = Instant.parse("2017-10-17T00:00:00.000Z");
 
     @Test
-    public void shouldCreateDefinitions() throws IOException {
+    public void shouldCreateDefinitions() throws Exception {
         try (CamelContext context = new DefaultCamelContext()) {
             final RestsDefinition definition = RestDslGenerator.toDefinition(document).generate(context);
             assertThat(definition).isNotNull();
@@ -108,7 +108,7 @@ public class RestDslGeneratorTest {
     }
 
     @Test
-    public void shouldGenerateSourceCodeWithDefaults() throws IOException, URISyntaxException {
+    public void shouldGenerateSourceCodeWithDefaults() throws Exception {
         final StringBuilder code = new StringBuilder();
 
         RestDslGenerator.toAppendable(document).withGeneratedTime(generated).generate(code);
@@ -120,7 +120,7 @@ public class RestDslGeneratorTest {
     }
 
     @Test
-    public void shouldGenerateSourceCodeWithFilter() throws IOException, URISyntaxException {
+    public void shouldGenerateSourceCodeWithFilter() throws Exception {
         final StringBuilder code = new StringBuilder();
 
         RestDslGenerator.toAppendable(document)
@@ -140,7 +140,7 @@ public class RestDslGeneratorTest {
     }
 
     @Test
-    public void shouldGenerateSourceCodeWithOptions() throws IOException, URISyntaxException {
+    public void shouldGenerateSourceCodeWithOptions() throws Exception {
         final StringBuilder code = new StringBuilder();
 
         RestDslGenerator.toAppendable(document)
@@ -158,7 +158,7 @@ public class RestDslGeneratorTest {
     }
 
     @Test
-    public void shouldGenerateSourceCodeWithRestComponent() throws IOException, URISyntaxException {
+    public void shouldGenerateSourceCodeWithRestComponent() throws Exception {
         final StringBuilder code = new StringBuilder();
 
         RestDslGenerator.toAppendable(document)
diff --git a/tooling/openapi-rest-dsl-generator/src/test/java/org/apache/camel/generator/openapi/RestDslGeneratorV3Test.java b/tooling/openapi-rest-dsl-generator/src/test/java/org/apache/camel/generator/openapi/RestDslGeneratorV3Test.java
index 6908cee..98e137e 100644
--- a/tooling/openapi-rest-dsl-generator/src/test/java/org/apache/camel/generator/openapi/RestDslGeneratorV3Test.java
+++ b/tooling/openapi-rest-dsl-generator/src/test/java/org/apache/camel/generator/openapi/RestDslGeneratorV3Test.java
@@ -44,7 +44,7 @@ public class RestDslGeneratorV3Test {
     final Instant generated = Instant.parse("2017-10-17T00:00:00.000Z");
 
     @Test
-    public void shouldCreateDefinitions() throws IOException {
+    public void shouldCreateDefinitions() throws Exception {
         try (CamelContext context = new DefaultCamelContext()) {
             final RestsDefinition definition = RestDslGenerator.toDefinition(document).generate(context);
             assertThat(definition).isNotNull();
@@ -54,7 +54,7 @@ public class RestDslGeneratorV3Test {
     }
 
     @Test
-    public void shouldGenerateSourceCodeWithDefaults() throws IOException, URISyntaxException {
+    public void shouldGenerateSourceCodeWithDefaults() throws Exception {
         final StringBuilder code = new StringBuilder();
 
         RestDslGenerator.toAppendable(document)
@@ -68,7 +68,7 @@ public class RestDslGeneratorV3Test {
     }
 
     @Test
-    public void shouldGenerateSourceCodeWithFilter() throws IOException, URISyntaxException {
+    public void shouldGenerateSourceCodeWithFilter() throws Exception {
         final StringBuilder code = new StringBuilder();
 
         RestDslGenerator.toAppendable(document)
@@ -87,7 +87,7 @@ public class RestDslGeneratorV3Test {
     }
 
     @Test
-    public void shouldGenerateSourceCodeWithOptions() throws IOException, URISyntaxException {
+    public void shouldGenerateSourceCodeWithOptions() throws Exception {
         final StringBuilder code = new StringBuilder();
 
         RestDslGenerator.toAppendable(document)
@@ -105,7 +105,7 @@ public class RestDslGeneratorV3Test {
     }
 
     @Test
-    public void shouldGenerateSourceCodeWithRestComponent() throws IOException, URISyntaxException {
+    public void shouldGenerateSourceCodeWithRestComponent() throws Exception {
         final StringBuilder code = new StringBuilder();
 
         RestDslGenerator.toAppendable(document)