cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bimargul...@apache.org
Subject svn commit: r596007 - /incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java
Date Sat, 17 Nov 2007 21:45:28 GMT
Author: bimargulies
Date: Sat Nov 17 13:45:27 2007
New Revision: 596007

URL: http://svn.apache.org/viewvc?rev=596007&view=rev
Log:
continue to tweak.

Modified:
    incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java

Modified: incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java?rev=596007&r1=596006&r2=596007&view=diff
==============================================================================
--- incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java
(original)
+++ incubator/cxf/trunk/rt/javascript/src/test/java/org/apache/cxf/javascript/JsHttpRequestTest.java
Sat Nov 17 13:45:27 2007
@@ -25,6 +25,7 @@
 
 import org.apache.cxf.Bus;
 import org.apache.cxf.test.AbstractCXFSpringTest;
+import org.junit.Before;
 import org.junit.Test;
 import org.springframework.beans.factory.config.PropertyPlaceholderConfigurer;
 import org.springframework.context.support.GenericApplicationContext;
@@ -59,8 +60,8 @@
     }
     
     
-    
-    private
+    @Before
+    public 
     void setupRhino() throws Exception {
         testUtilities.setBus(getBean(Bus.class, "cxf"));
         testUtilities.initializeRhino();
@@ -70,7 +71,6 @@
     
     @Test
     public void testInvalidURI() throws Exception {
-        setupRhino();
         testUtilities.rhinoCallExpectingException("SYNTAX_ERR", "testOpaqueURI");
         testUtilities.rhinoCallExpectingException("SYNTAX_ERR", "testNonAbsolute");
         testUtilities.rhinoCallExpectingException("SYNTAX_ERR", "testNonHttp");
@@ -78,7 +78,6 @@
     
     @Test
     public void testSequencing() throws Exception {
-        setupRhino();
         testUtilities.rhinoCallExpectingException("INVALID_STATE_ERR", "testSendNotOpenError");
     }
     



Mime
View raw message