Author: cschneider Date: Thu Oct 6 15:29:45 2011 New Revision: 1179668 URL: http://svn.apache.org/viewvc?rev=1179668&view=rev Log: Reactivating tests
Modified: camel/trunk/components/camel-soap/src/test/java/org/apache/camel/dataformat/soap/SoapCxfClientTest.java Modified: camel/trunk/components/camel-soap/src/test/java/org/apache/camel/dataformat/soap/SoapCxfClientTest.java URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-soap/src/test/java/org/apache/camel/dataformat/soap/SoapCxfClientTest.java?rev=1179668&r1=1179667&r2=1179668&view=diff ============================================================================== --- camel/trunk/components/camel-soap/src/test/java/org/apache/camel/dataformat/soap/SoapCxfClientTest.java (original) +++ camel/trunk/components/camel-soap/src/test/java/org/apache/camel/dataformat/soap/SoapCxfClientTest.java Thu Oct 6 15:29:45 2011 @@ -32,10 +32,8 @@ import com.example.customerservice.SaveC import org.apache.camel.builder.RouteBuilder; import org.apache.camel.dataformat.soap.name.ElementNameStrategy; import org.apache.camel.dataformat.soap.name.ServiceInterfaceStrategy; -import org.apache.camel.processor.interceptor.Tracer; import org.junit.Assert; import org.junit.BeforeClass; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; @@ -60,7 +58,6 @@ public class SoapCxfClientTest extends R } @Test - @Ignore public void testSuccess() throws NoSuchCustomerException { GetCustomersByName request = new GetCustomersByName(); request.setName("test"); @@ -72,7 +69,6 @@ public class SoapCxfClientTest extends R } @Test - @Ignore public void testRoundTripGetAllCustomers() throws Exception { GetAllCustomersResponse response = customerService.getAllCustomers(); Assert.assertEquals(1, response.getReturn().size()); @@ -81,7 +77,6 @@ public class SoapCxfClientTest extends R } @Test - @Ignore public void testRoundTripSaveCustomer() throws Exception { Customer testCustomer = new Customer(); testCustomer.setName("testName"); @@ -93,7 +88,6 @@ public class SoapCxfClientTest extends R } @Test - @Ignore public void testFault() { GetCustomersByName request = new GetCustomersByName(); request.setName("none"); @@ -111,7 +105,6 @@ public class SoapCxfClientTest extends R String jaxbPackage = GetCustomersByName.class.getPackage().getName(); ElementNameStrategy elNameStrat = new ServiceInterfaceStrategy(CustomerService.class, false); SoapJaxbDataFormat soapDataFormat = new SoapJaxbDataFormat(jaxbPackage, elNameStrat); - getContext().addInterceptStrategy(new Tracer()); getContext().setTracing(true); from("direct:cxfclient") // .onException(Exception.class).handled(true).marshal(soapDataFormat).end() //