cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1027768 - /cassandra/branches/cassandra-0.7/test/unit/org/apache/cassandra/cli/CliTest.java
Date Tue, 26 Oct 2010 23:19:10 GMT
Author: jbellis
Date: Tue Oct 26 23:19:09 2010
New Revision: 1027768

URL: http://svn.apache.org/viewvc?rev=1027768&view=rev
Log:
CliTest should extend CleanupHelper.  patch by Pavel Yaskevich and jbellis for CASSANDRA-1648

Modified:
    cassandra/branches/cassandra-0.7/test/unit/org/apache/cassandra/cli/CliTest.java

Modified: cassandra/branches/cassandra-0.7/test/unit/org/apache/cassandra/cli/CliTest.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.7/test/unit/org/apache/cassandra/cli/CliTest.java?rev=1027768&r1=1027767&r2=1027768&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.7/test/unit/org/apache/cassandra/cli/CliTest.java (original)
+++ cassandra/branches/cassandra-0.7/test/unit/org/apache/cassandra/cli/CliTest.java Tue Oct
26 23:19:09 2010
@@ -18,7 +18,7 @@
 
 package org.apache.cassandra.cli;
 
-import junit.framework.TestCase;
+import org.apache.cassandra.CleanupHelper;
 import org.apache.cassandra.config.ConfigurationException;
 import org.apache.cassandra.service.EmbeddedCassandraService;
 import org.apache.thrift.transport.TTransportException;
@@ -28,7 +28,10 @@ import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.io.PrintStream;
 
-public class CliTest extends TestCase
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
+public class CliTest extends CleanupHelper
 {
     // please add new statements here so they could be auto-runned by this test.
     private String[] statements = {



Mime
View raw message