tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tveron...@apache.org
Subject svn commit: r1566376 - in /tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units: LogTest.groovy ScriptingTest.groovy SessionTest.groovy
Date Sun, 09 Feb 2014 19:45:03 GMT
Author: tveronezi
Date: Sun Feb  9 19:45:02 2014
New Revision: 1566376

URL: http://svn.apache.org/r1566376
Log:
closing httpresponse

Modified:
    tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/LogTest.groovy
    tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/ScriptingTest.groovy
    tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/SessionTest.groovy

Modified: tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/LogTest.groovy
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/LogTest.groovy?rev=1566376&r1=1566375&r2=1566376&view=diff
==============================================================================
--- tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/LogTest.groovy
(original)
+++ tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/LogTest.groovy
Sun Feb  9 19:45:02 2014
@@ -34,7 +34,7 @@ import org.junit.Assert
 import org.junit.Test
 import org.junit.runner.RunWith
 
-@RunWith(Arquillian.class)
+@RunWith(Arquillian)
 class LogTest {
 
     @ArquillianResource
@@ -46,7 +46,7 @@ class LogTest {
         Utilities.copyFile('test/login.config', 'conf/login.config')
         Utilities.copyFile('test/log/catalina.2014-02-07.log', 'logs/catalina.2014-02-07.log')
         Utilities.copyFile('test/log/localhost_access_log.2014-02-07.txt', 'logs/localhost_access_log.2014-02-07.txt')
-        ShrinkWrap.create(WebArchive.class, 'webaccess.war').addClasses(
+        ShrinkWrap.create(WebArchive, 'webaccess.war').addClasses(
                 Log,
                 ApplicationConfig,
                 Authentication,
@@ -62,7 +62,7 @@ class LogTest {
             Assert.assertEquals('{"listFilesResultDto":{"files":["catalina.2014-02-07.log","localhost_access_log.2014-02-07.txt"]}}',
                     Utilities.getBody(client.execute(new HttpGet("${deploymentURL.toURI()}rest/log/list-files")))
             )
-            client.execute(new HttpGet("${deploymentURL.toURI()}rest/keep-alive"))
+            Utilities.getBody(client.execute(new HttpGet("${deploymentURL.toURI()}rest/keep-alive")))
         })
     }
 

Modified: tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/ScriptingTest.groovy
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/ScriptingTest.groovy?rev=1566376&r1=1566375&r2=1566376&view=diff
==============================================================================
--- tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/ScriptingTest.groovy
(original)
+++ tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/ScriptingTest.groovy
Sun Feb  9 19:45:02 2014
@@ -34,7 +34,7 @@ import org.junit.Assert
 import org.junit.Test
 import org.junit.runner.RunWith
 
-@RunWith(Arquillian.class)
+@RunWith(Arquillian)
 class ScriptingTest {
 
     @ArquillianResource
@@ -44,7 +44,7 @@ class ScriptingTest {
     static WebArchive createDeployment() {
         Utilities.copyFile('test/loginScript.js', 'conf/loginScript.js')
         Utilities.copyFile('test/login.config', 'conf/login.config')
-        ShrinkWrap.create(WebArchive.class, 'webaccess.war').addClasses(
+        ShrinkWrap.create(WebArchive, 'webaccess.war').addClasses(
                 ApplicationConfig,
                 Authentication,
                 Scripting,

Modified: tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/SessionTest.groovy
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/SessionTest.groovy?rev=1566376&r1=1566375&r2=1566376&view=diff
==============================================================================
--- tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/SessionTest.groovy
(original)
+++ tomee/tomee/trunk/tomee/tomee-webaccess/src/test/groovy/org/apache/tomee/webaccess/test/units/SessionTest.groovy
Sun Feb  9 19:45:02 2014
@@ -34,7 +34,7 @@ import org.junit.Assert
 import org.junit.Test
 import org.junit.runner.RunWith
 
-@RunWith(Arquillian.class)
+@RunWith(Arquillian)
 class SessionTest {
 
     @ArquillianResource
@@ -44,7 +44,7 @@ class SessionTest {
     static WebArchive createDeployment() {
         Utilities.copyFile('test/loginScript.js', 'conf/loginScript.js')
         Utilities.copyFile('test/login.config', 'conf/login.config')
-        ShrinkWrap.create(WebArchive.class, 'webaccess.war').addClasses(
+        ShrinkWrap.create(WebArchive, 'webaccess.war').addClasses(
                 ApplicationConfig,
                 Authentication,
                 Session,



Mime
View raw message