ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1547520 - in /webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element: TestAddAttributeWithInvalidNamespace1.java TestAddAttributeWithInvalidNamespace2.java
Date Tue, 03 Dec 2013 18:42:03 GMT
Author: veithen
Date: Tue Dec  3 18:42:03 2013
New Revision: 1547520

URL: http://svn.apache.org/r1547520
Log:
Added some Javadoc.

Modified:
    webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace1.java
    webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace2.java

Modified: webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace1.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace1.java?rev=1547520&r1=1547519&r2=1547520&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace1.java
(original)
+++ webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace1.java
Tue Dec  3 18:42:03 2013
@@ -25,7 +25,15 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMMetaFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.ts.AxiomTestCase;
+import org.apache.axiom.ts.om.factory.TestCreateOMAttributeWithInvalidNamespace1;
 
+/**
+ * Tests that {@link OMElement#addAttribute(String, String, OMNamespace)} throws an exception
if the
+ * specified namespace is invalid, i.e. if the {@link OMNamespace} object specifies a prefix
for an
+ * empty namespace.
+ * 
+ * @see TestCreateOMAttributeWithInvalidNamespace1
+ */
 public class TestAddAttributeWithInvalidNamespace1 extends AxiomTestCase {
     public TestAddAttributeWithInvalidNamespace1(OMMetaFactory metaFactory) {
         super(metaFactory);

Modified: webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace2.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace2.java?rev=1547520&r1=1547519&r2=1547520&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace2.java
(original)
+++ webservices/axiom/trunk/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestAddAttributeWithInvalidNamespace2.java
Tue Dec  3 18:42:03 2013
@@ -25,7 +25,15 @@ import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMMetaFactory;
 import org.apache.axiom.om.OMNamespace;
 import org.apache.axiom.ts.AxiomTestCase;
+import org.apache.axiom.ts.om.factory.TestCreateOMAttributeWithInvalidNamespace2;
 
+/**
+ * Tests that {@link OMElement#addAttribute(String, String, OMNamespace)} throws an exception
if the
+ * specified namespace is invalid, i.e. if the {@link OMNamespace} object specifies a non-empty
+ * namespace but no prefix.
+ * 
+ * @see TestCreateOMAttributeWithInvalidNamespace2
+ */
 public class TestAddAttributeWithInvalidNamespace2 extends AxiomTestCase {
     public TestAddAttributeWithInvalidNamespace2(OMMetaFactory metaFactory) {
         super(metaFactory);



Mime
View raw message