cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r681905 - in /cxf/trunk/rt/databinding/aegis/src: main/java/org/apache/cxf/aegis/databinding/ test/java/org/apache/cxf/aegis/client/
Date Fri, 01 Aug 2008 23:47:01 GMT
Author: bimargulies
Date: Fri Aug  1 16:47:01 2008
New Revision: 681905

URL: http://svn.apache.org/viewvc?rev=681905&view=rev
Log:
Punt the seemingly needed new service configuration for aegis.

Removed:
    cxf/trunk/rt/databinding/aegis/src/main/java/org/apache/cxf/aegis/databinding/AegisXmlServiceConfiguration.java
Modified:
    cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/ClientServiceConfigTest.java
    cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/HeaderTest.java

Modified: cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/ClientServiceConfigTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/ClientServiceConfigTest.java?rev=681905&r1=681904&r2=681905&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/ClientServiceConfigTest.java
(original)
+++ cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/ClientServiceConfigTest.java
Fri Aug  1 16:47:01 2008
@@ -19,16 +19,11 @@
 
 package org.apache.cxf.aegis.client;
 
-import java.util.ArrayList;
-import java.util.List;
-
 import org.apache.cxf.aegis.AbstractAegisTest;
 import org.apache.cxf.aegis.databinding.AegisDatabinding;
-import org.apache.cxf.aegis.databinding.AegisXmlServiceConfiguration;
+
 import org.apache.cxf.frontend.ClientProxyFactoryBean;
 import org.apache.cxf.frontend.ServerFactoryBean;
-import org.apache.cxf.service.factory.AbstractServiceConfiguration;
-import org.apache.cxf.service.factory.DefaultServiceConfiguration;
 import org.apache.cxf.service.factory.ReflectionServiceFactoryBean;
 import org.apache.cxf.service.invoker.BeanInvoker;
 import org.junit.Before;
@@ -41,11 +36,6 @@
         super.setUp();
 
         ReflectionServiceFactoryBean factory = new ReflectionServiceFactoryBean();
-        List<AbstractServiceConfiguration> configurations = 
-            new ArrayList<AbstractServiceConfiguration>();
-        configurations.add(new AegisXmlServiceConfiguration());
-        configurations.add(new DefaultServiceConfiguration());
-        factory.setConfigurations(configurations);
         factory.setInvoker(new BeanInvoker(new EchoImpl()));
         factory.setDataBinding(new AegisDatabinding());
 
@@ -60,10 +50,6 @@
     @Test
     public void ordinaryParamNameTest() throws Exception {
         ClientProxyFactoryBean proxyFac = new ClientProxyFactoryBean();
-        List<AbstractServiceConfiguration> configurations = 
-            new ArrayList<AbstractServiceConfiguration>();
-        configurations.add(new AegisXmlServiceConfiguration());
-        configurations.add(new DefaultServiceConfiguration());
         ReflectionServiceFactoryBean factory = new ReflectionServiceFactoryBean();
         proxyFac.setServiceFactory(factory);
         proxyFac.setDataBinding(new AegisDatabinding());

Modified: cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/HeaderTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/HeaderTest.java?rev=681905&r1=681904&r2=681905&view=diff
==============================================================================
--- cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/HeaderTest.java
(original)
+++ cxf/trunk/rt/databinding/aegis/src/test/java/org/apache/cxf/aegis/client/HeaderTest.java
Fri Aug  1 16:47:01 2008
@@ -31,7 +31,6 @@
 import org.apache.cxf.service.factory.ReflectionServiceFactoryBean;
 import org.apache.cxf.service.invoker.BeanInvoker;
 import org.junit.Before;
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class HeaderTest extends AbstractAegisTest {
@@ -57,7 +56,7 @@
         factory.setInvoker(new BeanInvoker(new EchoImpl()));
 
         ServerFactoryBean svrFac = new ServerFactoryBean();
-        svrFac.setAddress("Echo");
+        svrFac.setAddress("local://Echo");
         setupAegis(svrFac);
         svrFac.setServiceFactory(factory);
         svrFac.setServiceClass(Echo.class);
@@ -66,10 +65,10 @@
     }
 
     @Test
-    @Ignore
+    @org.junit.Ignore
     public void testHeaders() throws Exception {
         ClientProxyFactoryBean proxyFac = new ClientProxyFactoryBean();
-        proxyFac.setAddress("Echo");
+        proxyFac.setAddress("local://Echo");
         proxyFac.setServiceClass(Echo.class);
         proxyFac.setBus(getBus());
         setupAegis(proxyFac.getClientFactoryBean());



Mime
View raw message