cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r1410142 - /cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/QueryHandlerTest.java
Date Fri, 16 Nov 2012 01:36:24 GMT
Author: dkulp
Date: Fri Nov 16 01:36:23 2012
New Revision: 1410142

URL: http://svn.apache.org/viewvc?rev=1410142&view=rev
Log:
Fix an issue with a test if run  standalone.

Modified:
    cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/QueryHandlerTest.java

Modified: cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/QueryHandlerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/QueryHandlerTest.java?rev=1410142&r1=1410141&r2=1410142&view=diff
==============================================================================
--- cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/QueryHandlerTest.java
(original)
+++ cxf/trunk/rt/javascript/javascript-tests/src/test/java/org/apache/cxf/javascript/QueryHandlerTest.java
Fri Nov 16 01:36:23 2012
@@ -32,6 +32,8 @@ import org.apache.cxf.common.logging.Log
 import org.apache.cxf.endpoint.Endpoint;
 import org.apache.cxf.frontend.ServerFactoryBean;
 import org.apache.cxf.test.AbstractCXFSpringTest;
+import org.apache.cxf.testutil.common.TestUtil;
+
 import org.junit.Before;
 import org.junit.Test;
 import org.springframework.context.support.GenericApplicationContext;
@@ -40,6 +42,7 @@ import org.springframework.context.suppo
  * 
  */
 public class QueryHandlerTest extends AbstractCXFSpringTest {
+    public static final String PORT = TestUtil.getPortNumber("TestPort");
     private static final Charset UTF8 = Charset.forName("utf-8");
     private static final Logger LOG = LogUtils.getL7dLogger(QueryHandlerTest.class);
     private Endpoint hwEndpoint;



Mime
View raw message