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 sa...@apache.org on 2012/01/12 06:54:49 UTC
svn commit: r1230406 [2/2] - in /axis/axis2/java/core/branches/AXIS2-4318:
./ modules/adb-codegen/ modules/adb/ modules/addressing/
modules/clustering/ modules/codegen/ modules/corba/ modules/fastinfoset/
modules/integration/ modules/java2wsdl/ modules...
Modified: axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java?rev=1230406&r1=1230404&r2=1230406&view=diff
==============================================================================
--- axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java (original)
+++ axis/axis2/java/core/branches/AXIS2-4318/modules/transport/http/test/org/apache/axis2/transport/http/HTTPSenderTest.java Thu Jan 12 05:54:47 2012
@@ -35,9 +35,11 @@ import org.apache.axis2.transport.http.m
/**
* The Class HTTPSenderTest.
*/
-public class HTTPSenderTest extends AbstractHTTPServerTest {
+public abstract class HTTPSenderTest extends AbstractHTTPServerTest {
private HTTPSender httpSender;
+
+ protected abstract HTTPSender getHTTPSender();
/**
* Send via http.
@@ -51,7 +53,7 @@ public class HTTPSenderTest extends Abst
*/
private void sendViaHTTP(String httpMethod, String soapAction, String address, boolean rest)
throws IOException, MessagingException {
- httpSender = new HTTPSender();
+ httpSender = getHTTPSender();
MessageContext msgContext = new MessageContext();
ConfigurationContext configContext = ConfigurationContextFactory
.createEmptyConfigurationContext();
@@ -66,7 +68,7 @@ public class HTTPSenderTest extends Abst
httpSender.send(msgContext, url, soapAction);
- }
+ }
/**
* Test send via get.