[infinispan-commits] Infinispan SVN: r820 - trunk/server/rest/src/test/scala/org/infinispan/rest.
infinispan-commits at lists.jboss.org
infinispan-commits at lists.jboss.org
Tue Sep 15 08:22:34 EDT 2009
Author: michael.neale at jboss.com
Date: 2009-09-15 08:22:33 -0400 (Tue, 15 Sep 2009)
New Revision: 820
Modified:
trunk/server/rest/src/test/scala/org/infinispan/rest/IntegrationTest.scala
Log:
ISPN-29 - switch to testNG
Modified: trunk/server/rest/src/test/scala/org/infinispan/rest/IntegrationTest.scala
===================================================================
--- trunk/server/rest/src/test/scala/org/infinispan/rest/IntegrationTest.scala 2009-09-15 12:21:07 UTC (rev 819)
+++ trunk/server/rest/src/test/scala/org/infinispan/rest/IntegrationTest.scala 2009-09-15 12:22:33 UTC (rev 820)
@@ -4,11 +4,11 @@
import apache.commons.httpclient.methods._
import apache.commons.httpclient.{Header, HttpClient}
import container.entries.CacheEntry
+import javax.servlet.http.{HttpServletResponse}
import remoting.MIMECacheEntry
import java.io._
-import javax.servlet.http.HttpServletResponse
-import junit.framework.TestCase
-import junit.framework.Assert._
+import testng.annotations.Test
+import testng.Assert._
/**
@@ -17,7 +17,8 @@
* (Given that RESTEasy does most of the heavy lifting !).
* @author Michael Neale
*/
-class IntegrationTest extends TestCase {
+ at Test
+class IntegrationTest {
val HOST = "http://localhost:8888/"
//val HOST = "http://localhost:8080/infinispan-rest/"
More information about the infinispan-commits
mailing list