sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1153532 - in /incubator/sqoop/trunk/src/test/com/cloudera/sqoop: hbase/HBaseTestCase.java testutil/BaseSqoopTestCase.java testutil/ExportJobTestCase.java testutil/ImportJobTestCase.java
Date Wed, 03 Aug 2011 15:11:37 GMT
Author: olamy
Date: Wed Aug  3 15:11:36 2011
New Revision: 1153532

URL: http://svn.apache.org/viewvc?rev=1153532&view=rev
Log:
mark thoses classes as abstract are they are not intended to be executed as unit test

Modified:
    incubator/sqoop/trunk/src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java
    incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java
    incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ExportJobTestCase.java
    incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ImportJobTestCase.java

Modified: incubator/sqoop/trunk/src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java?rev=1153532&r1=1153531&r2=1153532&view=diff
==============================================================================
--- incubator/sqoop/trunk/src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java (original)
+++ incubator/sqoop/trunk/src/test/com/cloudera/sqoop/hbase/HBaseTestCase.java Wed Aug  3
15:11:36 2011
@@ -45,7 +45,7 @@ import com.cloudera.sqoop.testutil.Impor
 /**
  * Utility methods that facilitate HBase import tests.
  */
-public class HBaseTestCase extends ImportJobTestCase {
+public abstract class HBaseTestCase extends ImportJobTestCase {
 
   public static final Log LOG = LogFactory.getLog(
       HBaseTestCase.class.getName());

Modified: incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java?rev=1153532&r1=1153531&r2=1153532&view=diff
==============================================================================
--- incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java (original)
+++ incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/BaseSqoopTestCase.java Wed
Aug  3 15:11:36 2011
@@ -47,7 +47,7 @@ import junit.framework.TestCase;
 /**
  * Class that implements common methods required for tests.
  */
-public class BaseSqoopTestCase extends TestCase {
+public abstract class BaseSqoopTestCase extends TestCase {
 
   public static final Log LOG = LogFactory.getLog(
       BaseSqoopTestCase.class.getName());

Modified: incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ExportJobTestCase.java
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ExportJobTestCase.java?rev=1153532&r1=1153531&r2=1153532&view=diff
==============================================================================
--- incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ExportJobTestCase.java (original)
+++ incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ExportJobTestCase.java Wed
Aug  3 15:11:36 2011
@@ -38,7 +38,7 @@ import com.cloudera.sqoop.tool.ExportToo
  * Class that implements common methods required for tests which export data
  * from HDFS to databases, to verify correct export.
  */
-public class ExportJobTestCase extends BaseSqoopTestCase {
+public abstract class ExportJobTestCase extends BaseSqoopTestCase {
 
   public static final Log LOG = LogFactory.getLog(
       ExportJobTestCase.class.getName());

Modified: incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ImportJobTestCase.java
URL: http://svn.apache.org/viewvc/incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ImportJobTestCase.java?rev=1153532&r1=1153531&r2=1153532&view=diff
==============================================================================
--- incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ImportJobTestCase.java (original)
+++ incubator/sqoop/trunk/src/test/com/cloudera/sqoop/testutil/ImportJobTestCase.java Wed
Aug  3 15:11:36 2011
@@ -40,7 +40,7 @@ import com.cloudera.sqoop.util.ClassLoad
  * Class that implements common methods required for tests which import data
  * from SQL into HDFS and verify correct import.
  */
-public class ImportJobTestCase extends BaseSqoopTestCase {
+public abstract class ImportJobTestCase extends BaseSqoopTestCase {
 
   public static final Log LOG = LogFactory.getLog(
       ImportJobTestCase.class.getName());



Mime
View raw message