From b9a308d4337ed3c4b1bd85bf4ad74002e425d937 Mon Sep 17 00:00:00 2001 From: Matheus Cruz Date: Wed, 9 Oct 2024 08:41:21 -0300 Subject: [PATCH] Adjust extension code --- .../qute/web/asciidoc/test/QuarkusAsciidocTest.java | 6 +++--- .../web/asciidoc/test/QuteAsciidocSectionHelperTest.java | 2 +- .../test/QuteAsciidocSectionWithInnerSectionTest.java | 2 +- .../src/main/resources/META-INF/quarkus-extension.yaml | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuarkusAsciidocTest.java b/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuarkusAsciidocTest.java index c60e58f4..28cb1332 100644 --- a/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuarkusAsciidocTest.java +++ b/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuarkusAsciidocTest.java @@ -13,7 +13,7 @@ public class QuarkusAsciidocTest { @Test - public void testAscii() { + public void shouldConvertUsingAsciiTag() { Engine engine = Engine.builder().addDefaults() .addSectionHelper(new AsciidocSectionHelperFactory()).build(); @@ -27,7 +27,7 @@ public void testAscii() { } @Test - public void testAsciidoc() { + public void shouldConvertUsingAsciidocTag() { Engine engine = Engine.builder().addDefaults() .addSectionHelper(new AsciidocSectionHelperFactory()).build(); @@ -51,7 +51,7 @@ public void testH1() { } @Test - void testJsonObjectValueResolver() { + void shouldConvertWithForTagInsideAsciiTag() { Engine engine = Engine.builder().addDefaults() .addSectionHelper(new AsciidocSectionHelperFactory()).build(); diff --git a/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuteAsciidocSectionHelperTest.java b/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuteAsciidocSectionHelperTest.java index beda9150..af7d1071 100644 --- a/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuteAsciidocSectionHelperTest.java +++ b/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuteAsciidocSectionHelperTest.java @@ -24,7 +24,7 @@ public class QuteAsciidocSectionHelperTest { Template foo; @Test - void testJsonObjectValueResolver() { + void shouldConvertUsingAsciiTag() { String result = foo.render(); assertThat(result).contains(""" diff --git a/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuteAsciidocSectionWithInnerSectionTest.java b/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuteAsciidocSectionWithInnerSectionTest.java index aa759198..eaa7e57a 100644 --- a/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuteAsciidocSectionWithInnerSectionTest.java +++ b/asciidoc/deployment/src/test/java/io/quarkiverse/qute/web/asciidoc/test/QuteAsciidocSectionWithInnerSectionTest.java @@ -35,7 +35,7 @@ public class QuteAsciidocSectionWithInnerSectionTest { Template foo; @Test - void testJsonObjectValueResolver() { + void shouldConvertWithInnerSection() { String result = foo.data("items", List.of("apple", "banana", "cherry")) .render(); diff --git a/asciidoc/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/asciidoc/runtime/src/main/resources/META-INF/quarkus-extension.yaml index c122cc91..87f1b47b 100644 --- a/asciidoc/runtime/src/main/resources/META-INF/quarkus-extension.yaml +++ b/asciidoc/runtime/src/main/resources/META-INF/quarkus-extension.yaml @@ -1,5 +1,5 @@ -name: Qute Web Markdown -#description: Do something useful. +name: Qute Web Asciidoc +description: A Qute Web extension designed to simplify the conversion of AsciiDoc to HTML by providing a set of AsciiDoc tags. metadata: keywords: - qute-web-asciidoc @@ -8,7 +8,7 @@ metadata: - website - templates - asciidoc - guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-qute-web/dev/index.html # To create and publish this guide, see https://github.com/quarkiverse/quarkiverse/wiki#documenting-your-extension + guide: https://quarkiverse.github.io/quarkiverse-docs/quarkus-qute-web/dev/index.html categories: - "miscellaneous" status: "preview"