You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2024/02/03 08:35:45 UTC
(camel) 03/03: CAMEL-20389: fixed incorrectly named tests on camel-google-calendar
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 a9777d92d8364d0fa13306894f00e1fd6d8152c1
Author: Otavio R. Piske <an...@gmail.com>
AuthorDate: Sat Feb 3 09:06:20 2024 +0100
CAMEL-20389: fixed incorrectly named tests on camel-google-calendar
Signed-off-by: Otavio R. Piske <an...@gmail.com>
---
...sumerIntegrationTest.java => GoogleCalendarStreamConsumerIT.java} | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/components/camel-google/camel-google-calendar/src/test/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConsumerIntegrationTest.java b/components/camel-google/camel-google-calendar/src/test/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConsumerIT.java
similarity index 82%
rename from components/camel-google/camel-google-calendar/src/test/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConsumerIntegrationTest.java
rename to components/camel-google/camel-google-calendar/src/test/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConsumerIT.java
index 0c8baabe464..41973a226de 100644
--- a/components/camel-google/camel-google-calendar/src/test/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConsumerIntegrationTest.java
+++ b/components/camel-google/camel-google-calendar/src/test/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConsumerIT.java
@@ -19,8 +19,11 @@ package org.apache.camel.component.google.calendar.stream;
import org.apache.camel.builder.RouteBuilder;
import org.apache.camel.component.mock.MockEndpoint;
import org.junit.jupiter.api.Test;
+import org.junit.jupiter.api.condition.EnabledIf;
-public class GoogleCalendarStreamConsumerIntegrationTest extends AbstractGoogleCalendarStreamTestSupport {
+@EnabledIf(value = "org.apache.camel.component.google.calendar.AbstractGoogleCalendarTestSupport#hasCredentials",
+ disabledReason = "Google Calendar credentials were not provided")
+public class GoogleCalendarStreamConsumerIT extends AbstractGoogleCalendarStreamTestSupport {
@Test
public void testConsumePrefixedMessages() throws Exception {