You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2011/11/15 22:59:36 UTC
svn commit: r1202438 -
/webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/xpath/TestGetAttributeQName.java
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));