ws-woden-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lman...@apache.org
Subject svn commit: r293415 - in /incubator/woden/java/test/org/apache/woden: WSDLReaderTest.java tests/AllWodenTests.java
Date Mon, 03 Oct 2005 18:15:43 GMT
Author: lmandel
Date: Mon Oct  3 11:15:39 2005
New Revision: 293415

URL: http://svn.apache.org/viewcvs?rev=293415&view=rev
Log:
Removed invalid, failing reader tests.

Modified:
    incubator/woden/java/test/org/apache/woden/WSDLReaderTest.java
    incubator/woden/java/test/org/apache/woden/tests/AllWodenTests.java

Modified: incubator/woden/java/test/org/apache/woden/WSDLReaderTest.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/test/org/apache/woden/WSDLReaderTest.java?rev=293415&r1=293414&r2=293415&view=diff
==============================================================================
--- incubator/woden/java/test/org/apache/woden/WSDLReaderTest.java (original)
+++ incubator/woden/java/test/org/apache/woden/WSDLReaderTest.java Mon Oct  3 11:15:39 2005
@@ -51,32 +51,32 @@
 	reader = null;
   }
   
-//  public void testReadValidWSDL20()
-//  {
-//	  DescriptionElement desc = null;
-//	  try
-//	  {
-//		URL wsdlURL = ClassLoader.getSystemResource("org.apachewoden/primer-hotelReservationService.wsdl");
-//	    desc = reader.readWSDL(wsdlURL.toString());
-//	  }
-//	  catch(Exception e)
-//	  {
-//	  }
-//      assertNotNull("The description returned is null.", desc);
-//  }
-//  
-//  public void testReadInvalidWSDL20()
-//  {
-//	  DescriptionElement desc = null;
-//	  try
-//	  {
-//		URL wsdlURL = getClass().getClassLoader().getResource("org.apache.woden.badDescriptionTags.wsdl");
-//	    desc = reader.readWSDL(wsdlURL.toString());
-//	  }
-//	  catch(Exception e)
-//	  {
-//	  }
-//      assertNull("The description returned is not null.", desc);
-//  }
+  public void testReadValidWSDL20()
+  {
+	  DescriptionElement desc = null;
+	  try
+	  {
+		URL wsdlURL = ClassLoader.getSystemResource("org.apachewoden/primer-hotelReservationService.wsdl");
+	    desc = reader.readWSDL(wsdlURL.toString());
+	  }
+	  catch(Exception e)
+	  {
+	  }
+      assertNotNull("The description returned is null.", desc);
+  }
+  
+  public void testReadInvalidWSDL20()
+  {
+	  DescriptionElement desc = null;
+	  try
+	  {
+		URL wsdlURL = getClass().getClassLoader().getResource("org.apache.woden.badDescriptionTags.wsdl");
+	    desc = reader.readWSDL(wsdlURL.toString());
+	  }
+	  catch(Exception e)
+	  {
+	  }
+      assertNull("The description returned is not null.", desc);
+  }
 
 }

Modified: incubator/woden/java/test/org/apache/woden/tests/AllWodenTests.java
URL: http://svn.apache.org/viewcvs/incubator/woden/java/test/org/apache/woden/tests/AllWodenTests.java?rev=293415&r1=293414&r2=293415&view=diff
==============================================================================
--- incubator/woden/java/test/org/apache/woden/tests/AllWodenTests.java (original)
+++ incubator/woden/java/test/org/apache/woden/tests/AllWodenTests.java Mon Oct  3 11:15:39
2005
@@ -19,7 +19,6 @@
 import junit.framework.TestSuite;
 
 import org.apache.woden.WSDLFactoryTest;
-import org.apache.woden.WSDLReaderTest;
 import org.apache.woden.internal.ReaderFeaturesTest;
 import org.apache.woden.tests.wsdl20.W3CTestSuiteTest;
 
@@ -42,7 +41,7 @@
   {
     super("AllWodenTests");
 	addTest(WSDLFactoryTest.suite());
-	addTest(WSDLReaderTest.suite());
+	//addTest(WSDLReaderTest.suite());
 	addTest(W3CTestSuiteTest.suite());
 	addTestSuite(ReaderFeaturesTest.class);
   }



---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org


Mime
View raw message