Skip to content

Commit

Permalink
Adjust extension code
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Cruz committed Oct 9, 2024
1 parent 10650a2 commit b9a308d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
public class QuarkusAsciidocTest {

@Test
public void testAscii() {
public void shouldConvertUsingAsciiTag() {
Engine engine = Engine.builder().addDefaults()
.addSectionHelper(new AsciidocSectionHelperFactory()).build();

Expand All @@ -27,7 +27,7 @@ public void testAscii() {
}

@Test
public void testAsciidoc() {
public void shouldConvertUsingAsciidocTag() {
Engine engine = Engine.builder().addDefaults()
.addSectionHelper(new AsciidocSectionHelperFactory()).build();

Expand All @@ -51,7 +51,7 @@ public void testH1() {
}

@Test
void testJsonObjectValueResolver() {
void shouldConvertWithForTagInsideAsciiTag() {

Engine engine = Engine.builder().addDefaults()
.addSectionHelper(new AsciidocSectionHelperFactory()).build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class QuteAsciidocSectionHelperTest {
Template foo;

@Test
void testJsonObjectValueResolver() {
void shouldConvertUsingAsciiTag() {
String result = foo.render();

assertThat(result).contains("""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"

0 comments on commit b9a308d

Please sign in to comment.