ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From veit...@apache.org
Subject svn commit: r1202438 - /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/xpath/TestGetAttributeQName.java
Date Tue, 15 Nov 2011 21:59:36 GMT
Author: veithen
Date: Tue Nov 15 21:59:35 2011
New Revision: 1202438

URL: http://svn.apache.org/viewvc?rev=1202438&view=rev
Log:
Fixed a test case issue.

Modified:
    webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/xpath/TestGetAttributeQName.java

Modified: webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/xpath/TestGetAttributeQName.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/xpath/TestGetAttributeQName.java?rev=1202438&r1=1202437&r2=1202438&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/xpath/TestGetAttributeQName.java
(original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/xpath/TestGetAttributeQName.java
Tue Nov 15 21:59:35 2011
@@ -18,7 +18,6 @@
  */
 package org.apache.axiom.ts.xpath;
 
-import org.apache.axiom.om.OMAbstractFactory;
 import org.apache.axiom.om.OMElement;
 import org.apache.axiom.om.OMFactory;
 import org.apache.axiom.om.OMMetaFactory;
@@ -36,7 +35,7 @@ public class TestGetAttributeQName exten
     }
 
     protected void runTest() throws Throwable {
-        OMFactory factory = OMAbstractFactory.getOMFactory();
+        OMFactory factory = metaFactory.getOMFactory();
         OMElement element = factory.createOMElement("test", null);
         element.addAttribute("att", "value", factory.createOMNamespace("urn:test", "p"));
         assertEquals("p:att", new AXIOMXPath("name(@*)").stringValueOf(element));



Mime
View raw message