You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ve...@apache.org on 2009/01/13 23:31:50 UTC

svn commit: r734261 - /webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPElementTest.java

Author: veithen
Date: Tue Jan 13 14:31:48 2009
New Revision: 734261

URL: http://svn.apache.org/viewvc?rev=734261&view=rev
Log:
Enabled some test cases that actually work.

Modified:
    webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPElementTest.java

Modified: webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPElementTest.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPElementTest.java?rev=734261&r1=734260&r2=734261&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPElementTest.java (original)
+++ webservices/axis2/trunk/java/modules/saaj/test/org/apache/axis2/saaj/SOAPElementTest.java Tue Jan 13 14:31:48 2009
@@ -394,7 +394,8 @@
         assertNull(body.getNamespaceURI(prefix));
     }
 
-    public void _testSetEncodingStyle() throws Exception {
+    @Validated @Test
+    public void testSetEncodingStyle() throws Exception {
         SOAPMessage msg = MessageFactory.newInstance().createMessage();
         SOAPEnvelope envelope = msg.getSOAPPart().getEnvelope();
         SOAPBody body = envelope.getBody();
@@ -480,8 +481,8 @@
         assertEquals(childCount, 2);
     }
 
-    //TODO : check why this is failing
-    public void _testGetChildElements2() throws Exception {
+    @Validated @Test
+    public void testGetChildElements2() throws Exception {
         MessageFactory fact = MessageFactory.newInstance();
         SOAPMessage message = fact.createMessage();
         SOAPPart soapPart = message.getSOAPPart();
@@ -537,7 +538,8 @@
         assertEquals(n, name);
     }
 
-    public void _testRemoveAttribute2() throws Exception {
+    @Validated @Test
+    public void testRemoveAttribute3() throws Exception {
         QName qname = new QName("http://child1.apache.org/", "Child1", "ch");
         String value = "MyValue1";
         soapEle.addAttribute(qname, value);