You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2017/12/27 11:28:28 UTC
svn commit: r1819330 -
/axis/axis2/java/core/trunk/modules/jaxws-integration/src/test/java/org/apache/axis2/jaxws/sample/ResourceInjectionTests.java
Author: veithen
Date: Wed Dec 27 11:28:28 2017
New Revision: 1819330
URL: http://svn.apache.org/viewvc?rev=1819330&view=rev
Log:
Fix indentation.
Modified:
axis/axis2/java/core/trunk/modules/jaxws-integration/src/test/java/org/apache/axis2/jaxws/sample/ResourceInjectionTests.java
Modified: axis/axis2/java/core/trunk/modules/jaxws-integration/src/test/java/org/apache/axis2/jaxws/sample/ResourceInjectionTests.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws-integration/src/test/java/org/apache/axis2/jaxws/sample/ResourceInjectionTests.java?rev=1819330&r1=1819329&r2=1819330&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/jaxws-integration/src/test/java/org/apache/axis2/jaxws/sample/ResourceInjectionTests.java (original)
+++ axis/axis2/java/core/trunk/modules/jaxws-integration/src/test/java/org/apache/axis2/jaxws/sample/ResourceInjectionTests.java Wed Dec 27 11:28:28 2017
@@ -48,23 +48,23 @@ public class ResourceInjectionTests exte
* can successfully get and query the web service.
*/
public void testEchoWithResourceInjectionAndLifecycleMethods() throws Exception {
-
- ResourceInjectionPortType proxy = getProxy();
- String response = proxy.testInjection("sample");
- assertTrue("The response was null", response != null);
- assertTrue("The response was not succesful: " + response,
- response.indexOf("SUCCESS") >= 0);
-
- // Repeat to verify behavior
- response = proxy.testInjection("sample");
- assertTrue("The response was null", response != null);
- assertTrue("The response was not succesful: " + response,
- response.indexOf("SUCCESS") >= 0);
- char[] chars = new char[] {0x15}; // 0x15 is not a valid xml character..and should be filtered
- String insert = new String(chars);
- assertTrue("Illegal characters were not filtered: " + response,
- response.indexOf(insert) < 0);
+ ResourceInjectionPortType proxy = getProxy();
+ String response = proxy.testInjection("sample");
+ assertTrue("The response was null", response != null);
+ assertTrue("The response was not succesful: " + response,
+ response.indexOf("SUCCESS") >= 0);
+
+ // Repeat to verify behavior
+ response = proxy.testInjection("sample");
+ assertTrue("The response was null", response != null);
+ assertTrue("The response was not succesful: " + response,
+ response.indexOf("SUCCESS") >= 0);
+ char[] chars = new char[] {0x15}; // 0x15 is not a valid xml character..and should be filtered
+ String insert = new String(chars);
+ assertTrue("Illegal characters were not filtered: " + response,
+ response.indexOf(insert) < 0);
+
}
/*