cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1053030 - /cxf/branches/2.3.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java
Date Mon, 27 Dec 2010 09:37:49 GMT
Author: ningjiang
Date: Mon Dec 27 09:37:49 2010
New Revision: 1053030

URL: http://svn.apache.org/viewvc?rev=1053030&view=rev
Log:
Fix the test failed of PolicyAnnotationTest with JDK1.5

Modified:
    cxf/branches/2.3.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java

Modified: cxf/branches/2.3.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java?rev=1053030&r1=1053029&r2=1053030&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java
(original)
+++ cxf/branches/2.3.x-fixes/rt/ws/policy/src/test/java/org/apache/cxf/ws/policy/PolicyAnnotationTest.java
Mon Dec 27 09:37:49 2010
@@ -53,6 +53,8 @@ public class PolicyAnnotationTest extend
 
     @org.junit.Test
     public void testAnnotations() throws Exception {
+        // Need to clean up the Default Bus instance frist
+        BusFactory.setDefaultBus(null);
         Bus bus = BusFactory.getDefaultBus();
         JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
         factory.setBus(bus);



Mime
View raw message