Author: fanningpj
Date: Wed Oct 27 14:43:21 2021
New Revision: 1894591

URL: http://svn.apache.org/viewvc?rev=1894591&view=rev
Log:
xsd2inst test

Modified:
    xmlbeans/trunk/src/test/java/tools/xsd2inst/checkin/Xsd2InstTest.java

Modified: xmlbeans/trunk/src/test/java/tools/xsd2inst/checkin/Xsd2InstTest.java
URL: 
http://svn.apache.org/viewvc/xmlbeans/trunk/src/test/java/tools/xsd2inst/checkin/Xsd2InstTest.java?rev=1894591&r1=1894590&r2=1894591&view=diff
==============================================================================
--- xmlbeans/trunk/src/test/java/tools/xsd2inst/checkin/Xsd2InstTest.java 
(original)
+++ xmlbeans/trunk/src/test/java/tools/xsd2inst/checkin/Xsd2InstTest.java Wed 
Oct 27 14:43:21 2021
@@ -37,7 +37,7 @@ public class Xsd2InstTest extends TestCa
         String result = SchemaInstanceGenerator.xsd2inst(new 
XmlObject[]{xobj}, "price-quote", options);
         assertTrue("price-quote element found?", 
result.contains("<price-quote>"));
         assertTrue("stock-symbol element found?", 
result.contains("<stock-symbol>string</stock-symbol>"));
-        assertTrue("stock-price element found?", 
result.contains("<stock-price>"));
+        assertTrue("stock-price element found?", 
result.contains("<stock-price>string</stock-price>"));
         try (InputStream docStream = new 
ByteArrayInputStream(result.getBytes(StandardCharsets.UTF_8))) {
             assertNotNull(DocumentHelper.readDocument(new XmlOptions(), 
docStream));
         }
@@ -56,7 +56,7 @@ public class Xsd2InstTest extends TestCa
         String result = SampleXmlUtil.createSampleForType(element);
         assertTrue("price-quote element found?", 
result.contains("<price-quote>"));
         assertTrue("stock-symbol element found?", 
result.contains("<stock-symbol>string</stock-symbol>"));
-        assertTrue("stock-price element found?", 
result.contains("<stock-price>"));
+        assertTrue("stock-price element found?", 
result.contains("<stock-price>string</stock-price>"));
         try (InputStream docStream = new 
ByteArrayInputStream(result.getBytes(StandardCharsets.UTF_8))) {
             assertNotNull(DocumentHelper.readDocument(new XmlOptions(), 
docStream));
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to