Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit 535cd88

Browse files
author
Rob Rudin
committed
#47 Updating example of metadata
1 parent 6846ed5 commit 535cd88

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/test/java/com/marklogic/client/modulesloader/impl/XmlExtensionMetadataProviderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public void test() throws IOException {
2121
ExtensionMetadataAndParams emap = p.provideExtensionMetadataAndParams(resource);
2222

2323
assertEquals("Sample Service", emap.metadata.getTitle());
24-
assertEquals("Would be nice to support HTML in this.", emap.metadata.getDescription());
24+
assertEquals("<p>You can use <b>HTML</b> in this or any other XML that you like.</p>", emap.metadata.getDescription());
2525
List<MethodParameters> methods = emap.methods;
2626
assertEquals(3, methods.size());
2727

src/test/resources/sample-base-dir/services/metadata/sample.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<metadata>
22
<title>Sample Service</title>
3-
<description>Would be nice to support HTML in this.</description>
3+
<description>
4+
<p>You can use <b>HTML</b> in this or any other XML that you like.</p>
5+
</description>
46
<method name="GET">
57
<param name="id" />
68
<param name="format" />

0 commit comments

Comments
 (0)