servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r707098 - in /servicemix/smx4/kernel/trunk/testing/itests/src/test: java/org/apache/servicemix/kernel/testing/itests/SimpleTest.java resources/org/apache/servicemix/MANIFEST.MF
Date Wed, 22 Oct 2008 15:20:40 GMT
Author: gnodet
Date: Wed Oct 22 08:20:40 2008
New Revision: 707098

URL: http://svn.apache.org/viewvc?rev=707098&view=rev
Log:
Add simple tests to test JAXP

Modified:
    servicemix/smx4/kernel/trunk/testing/itests/src/test/java/org/apache/servicemix/kernel/testing/itests/SimpleTest.java
    servicemix/smx4/kernel/trunk/testing/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF

Modified: servicemix/smx4/kernel/trunk/testing/itests/src/test/java/org/apache/servicemix/kernel/testing/itests/SimpleTest.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/testing/itests/src/test/java/org/apache/servicemix/kernel/testing/itests/SimpleTest.java?rev=707098&r1=707097&r2=707098&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/testing/itests/src/test/java/org/apache/servicemix/kernel/testing/itests/SimpleTest.java
(original)
+++ servicemix/smx4/kernel/trunk/testing/itests/src/test/java/org/apache/servicemix/kernel/testing/itests/SimpleTest.java
Wed Oct 22 08:20:40 2008
@@ -54,6 +54,18 @@
 		};
 	}
 
+    public void testDocumentBuilderFactory() throws Exception {
+		assertNotNull(javax.xml.parsers.DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument());
+    }
+
+    public void testTransformerFactory() throws Exception {
+        assertNotNull(javax.xml.transform.TransformerFactory.newInstance().newTransformer());
+    }
+
+    public void testSchemaFactory() throws Exception {
+        assertNotNull(javax.xml.validation.SchemaFactory.newInstance("http://www.w3.org/2001/XMLSchema").newSchema());
+    }
+
     public void testWoodstox() throws Exception {
         //JDK 1.6 and above ship with a StaX implementation 
         if (System.getProperty("java.version").startsWith("1.5")) {

Modified: servicemix/smx4/kernel/trunk/testing/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/testing/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF?rev=707098&r1=707097&r2=707098&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/testing/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF
(original)
+++ servicemix/smx4/kernel/trunk/testing/itests/src/test/resources/org/apache/servicemix/MANIFEST.MF
Wed Oct 22 08:20:40 2008
@@ -26,4 +26,7 @@
  org.springframework.osgi.test,
  org.apache.servicemix.kernel.testing.support,
  org.springframework.osgi.util,
- javax.xml.stream
+ javax.xml.stream,
+ javax.xml.transform,
+ javax.xml.validation,
+ javax.xml.parsers



Mime
View raw message