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/10/08 18:50:12 UTC
svn commit: r1180410 - in
/webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test:
OMAbstractFactoryTest.java ServiceTest.java StAXOMBuilderTest.java
Author: veithen
Date: Sat Oct 8 16:50:12 2011
New Revision: 1180410
URL: http://svn.apache.org/viewvc?rev=1180410&view=rev
Log:
Replaced tabs with spaces.
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/OMAbstractFactoryTest.java
webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/ServiceTest.java
webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/StAXOMBuilderTest.java
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/OMAbstractFactoryTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/OMAbstractFactoryTest.java?rev=1180410&r1=1180409&r2=1180410&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/OMAbstractFactoryTest.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/OMAbstractFactoryTest.java Sat Oct 8 16:50:12 2011
@@ -28,17 +28,17 @@ import org.ops4j.pax.exam.junit.MavenCon
@RunWith(MavenConfiguredJUnit4TestRunner.class)
public class OMAbstractFactoryTest {
@Test
- public void testgetOMFactory() throws Exception {
- assertNotNull(OMAbstractFactory.getOMFactory());
- }
+ public void testgetOMFactory() throws Exception {
+ assertNotNull(OMAbstractFactory.getOMFactory());
+ }
@Test
- public void testgetSOAP11Factory() throws Exception {
- assertNotNull(OMAbstractFactory.getSOAP11Factory());
- }
+ public void testgetSOAP11Factory() throws Exception {
+ assertNotNull(OMAbstractFactory.getSOAP11Factory());
+ }
@Test
- public void testgetSOAP12Factory() throws Exception {
- assertNotNull(OMAbstractFactory.getSOAP12Factory());
- }
+ public void testgetSOAP12Factory() throws Exception {
+ assertNotNull(OMAbstractFactory.getSOAP12Factory());
+ }
}
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/ServiceTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/ServiceTest.java?rev=1180410&r1=1180409&r2=1180410&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/ServiceTest.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/ServiceTest.java Sat Oct 8 16:50:12 2011
@@ -31,20 +31,20 @@ import org.osgi.framework.ServiceReferen
@RunWith(MavenConfiguredJUnit4TestRunner.class)
public class ServiceTest {
@Inject BundleContext context;
-
+
@Test
- public void testLLOMMetaFactoryServicePresent() throws Exception {
- ServiceReference[] omfactRefs = context
- .getServiceReferences("org.apache.axiom.om.OMMetaFactory", "(implementationName=llom)");
- assertNotNull(omfactRefs);
- assertEquals(1, omfactRefs.length);
- }
-
+ public void testLLOMMetaFactoryServicePresent() throws Exception {
+ ServiceReference[] omfactRefs = context
+ .getServiceReferences("org.apache.axiom.om.OMMetaFactory", "(implementationName=llom)");
+ assertNotNull(omfactRefs);
+ assertEquals(1, omfactRefs.length);
+ }
+
@Test
- public void testDOOMMetaFactoryServicePresent() throws Exception {
- ServiceReference[] omfactRefs = context
- .getServiceReferences("org.apache.axiom.om.OMMetaFactory", "(implementationName=doom)");
- assertNotNull(omfactRefs);
- assertEquals(1, omfactRefs.length);
- }
+ public void testDOOMMetaFactoryServicePresent() throws Exception {
+ ServiceReference[] omfactRefs = context
+ .getServiceReferences("org.apache.axiom.om.OMMetaFactory", "(implementationName=doom)");
+ assertNotNull(omfactRefs);
+ assertEquals(1, omfactRefs.length);
+ }
}
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/StAXOMBuilderTest.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/StAXOMBuilderTest.java?rev=1180410&r1=1180409&r2=1180410&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/StAXOMBuilderTest.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-osgi-tests/src/test/java/org/apache/axiom/test/StAXOMBuilderTest.java Sat Oct 8 16:50:12 2011
@@ -30,15 +30,15 @@ import org.ops4j.pax.exam.junit.MavenCon
@RunWith(MavenConfiguredJUnit4TestRunner.class)
public class StAXOMBuilderTest {
-
- private String xmlString = "<a:testElement xmlns:a=\"http://test/namespace\" />";
-
+
+ private String xmlString = "<a:testElement xmlns:a=\"http://test/namespace\" />";
+
@Test
- public void testLLOMOMFactoryServicePresent() throws Exception {
- ByteArrayInputStream bais = new ByteArrayInputStream(xmlString.getBytes());
- StAXOMBuilder sb = new StAXOMBuilder(bais);
- OMElement oe = sb.getDocumentElement();
- assertEquals("testElement",oe.getLocalName());
- assertEquals("http://test/namespace", oe.getNamespace().getNamespaceURI());
- }
+ public void testLLOMOMFactoryServicePresent() throws Exception {
+ ByteArrayInputStream bais = new ByteArrayInputStream(xmlString.getBytes());
+ StAXOMBuilder sb = new StAXOMBuilder(bais);
+ OMElement oe = sb.getDocumentElement();
+ assertEquals("testElement",oe.getLocalName());
+ assertEquals("http://test/namespace", oe.getNamespace().getNamespaceURI());
+ }
}