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 2021/04/28 13:17:59 UTC
[camel-kamelets] branch main updated: Camel-Kamelets-Catalog:
Removed counting tests
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
The following commit(s) were added to refs/heads/main by this push:
new d5b5de3 Camel-Kamelets-Catalog: Removed counting tests
d5b5de3 is described below
commit d5b5de3a73f9fa058b1519cdb597b82002de0e56
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Apr 28 15:16:44 2021 +0200
Camel-Kamelets-Catalog: Removed counting tests
---
.../kamelets/catalog/KameletsCatalogTest.java | 22 +---------------------
1 file changed, 1 insertion(+), 21 deletions(-)
diff --git a/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java b/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
index 5846729..e414dc3 100644
--- a/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
+++ b/camel-kamelets-catalog/src/test/java/org/apache/camel/kamelets/catalog/KameletsCatalogTest.java
@@ -38,27 +38,7 @@ public class KameletsCatalogTest {
public static void createKameletsCatalog() throws IOException {
catalog = new KameletsCatalog();
}
-
- @Test
- void testKameletsSize() throws Exception {
- assertEquals(62, catalog.getKamelets().size());
- }
-
- @Test
- void testKameletName() throws Exception {
- assertEquals(62, catalog.getKameletsName().size());
- }
-
- @Test
- void testKameletsByName() throws Exception {
- assertEquals(13, catalog.getKameletsByName("aws").size());
- }
-
- @Test
- void testKameletsByType() throws Exception {
- assertEquals(6, catalog.getKameletsByType(KameletTypeEnum.ACTION.type()).size());
- }
-
+
@Test
void testGetKameletsDefinition() throws Exception {
JSONSchemaProps props = catalog.getKameletDefinition("aws-sqs-source");