Review Board 1.7.22


Review request for SQOOP-1035 "Add MS Sqoop Connecter tests to repo"

Review Request #10987 - Created May 8, 2013 and updated

Shuaishuai Nie
trunk
SQOOP-1035
Reviewers
Sqoop
sqoop-trunk
Add the MS Sqoop connector tests that test integration scenarios with SQL Server to the repo.
All tests passing after applying the patch

Diff revision 6

This is not the most recent revision of the diff. The latest diff is revision 7. See what's changed.

1 2 3 4 5 6 7
1 2 3 4 5 6 7

  1. src/test/com/cloudera/sqoop/ThirdPartyTests.java: Loading...
  2. src/test/com/cloudera/sqoop/hive/TestHiveImport.java: Loading...
  3. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestData.java: Loading...
  4. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestDataFileParser.java: Loading...
  5. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestUtils.java: Loading...
  6. src/test/org/apache/sqoop/manager/sqlserver/ManagerCompatExport.java: Loading...
  7. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportDelimitedFileManualTest.java: Loading...
  8. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportSequenceFileManualTest.java: Loading...
  9. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportDelimitedFileManualTest.java: Loading...
  10. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportSequenceFileManualTest.java: Loading...
  11. src/test/org/apache/sqoop/manager/sqlserver/SQLServerHiveImportManualTest.java: Loading...
  12. src/test/org/apache/sqoop/manager/sqlserver/SQLServerManagerManualTest.java: Loading...
  13. src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiColsManualTest.java: Loading...
  14. src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiMapsManualTest.java: Loading...
  15. src/test/org/apache/sqoop/manager/sqlserver/SQLServerParseMethodsManualTest.java: Loading...
  16. src/test/org/apache/sqoop/manager/sqlserver/SQLServerQueryManualTest.java: Loading...
  17. src/test/org/apache/sqoop/manager/sqlserver/SQLServerSplitByManualTest.java: Loading...
  18. src/test/org/apache/sqoop/manager/sqlserver/SQLServerWhereManualTest.java: Loading...
  19. testdata/DatatypeTestData-export-lite.txt: Loading...
  20. testdata/DatatypeTestData-import-lite.txt: Loading...
  21. testdata/MSTest.properties: Loading...
src/test/com/cloudera/sqoop/ThirdPartyTests.java
Revision 7e361d2 New Change
[20] 35 lines
[+20]
36
import com.cloudera.sqoop.manager.OracleExportTest;
36
import com.cloudera.sqoop.manager.OracleExportTest;
37
import com.cloudera.sqoop.manager.OracleManagerTest;
37
import com.cloudera.sqoop.manager.OracleManagerTest;
38
import com.cloudera.sqoop.manager.OracleCompatTest;
38
import com.cloudera.sqoop.manager.OracleCompatTest;
39
import com.cloudera.sqoop.manager.PostgresqlExportTest;
39
import com.cloudera.sqoop.manager.PostgresqlExportTest;
40
import com.cloudera.sqoop.manager.PostgresqlImportTest;
40
import com.cloudera.sqoop.manager.PostgresqlImportTest;

    
   
41
import org.apache.sqoop.manager.sqlserver.SQLServerDatatypeExportDelimitedFileManualTest;

    
   
42
import org.apache.sqoop.manager.sqlserver.SQLServerDatatypeExportSequenceFileManualTest;

    
   
43
import org.apache.sqoop.manager.sqlserver.SQLServerDatatypeImportDelimitedFileManualTest;

    
   
44
import org.apache.sqoop.manager.sqlserver.SQLServerDatatypeImportSequenceFileManualTest;

    
   
45
import org.apache.sqoop.manager.sqlserver.SQLServerHiveImportManualTest;

    
   
46
import org.apache.sqoop.manager.sqlserver.SQLServerManagerManualTest;

    
   
47
import org.apache.sqoop.manager.sqlserver.SQLServerMultiColsManualTest;

    
   
48
import org.apache.sqoop.manager.sqlserver.SQLServerMultiMapsManualTest;

    
   
49
import org.apache.sqoop.manager.sqlserver.SQLServerParseMethodsManualTest;

    
   
50
import org.apache.sqoop.manager.sqlserver.SQLServerQueryManualTest;

    
   
51
import org.apache.sqoop.manager.sqlserver.SQLServerSplitByManualTest;

    
   
52
import org.apache.sqoop.manager.sqlserver.SQLServerWhereManualTest;
41

    
   
53

   
42
/**
54
/**
43
 * Test battery including all tests of vendor-specific ConnManager
55
 * Test battery including all tests of vendor-specific ConnManager
44
 * implementations.  These tests likely aren't run by Apache Hudson, because
56
 * implementations.  These tests likely aren't run by Apache Hudson, because
45
 * they require configuring and using Oracle, MySQL, etc., which may have
57
 * they require configuring and using Oracle, MySQL, etc., which may have
[+20] [20] 17 lines
[+20] [+] public static Test suite() {
63
    // Oracle
75
    // Oracle
64
    suite.addTestSuite(OracleExportTest.class);
76
    suite.addTestSuite(OracleExportTest.class);
65
    suite.addTestSuite(OracleManagerTest.class);
77
    suite.addTestSuite(OracleManagerTest.class);
66
    suite.addTestSuite(OracleCompatTest.class);
78
    suite.addTestSuite(OracleCompatTest.class);
67

    
   
79

   

    
   
80
    // SQL Server

    
   
81
    suite.addTestSuite(SQLServerDatatypeExportDelimitedFileManualTest.class);

    
   
82
    suite.addTestSuite(SQLServerDatatypeExportSequenceFileManualTest.class);

    
   
83
    suite.addTestSuite(SQLServerDatatypeImportDelimitedFileManualTest.class);

    
   
84
    suite.addTestSuite(SQLServerDatatypeImportSequenceFileManualTest.class);

    
   
85
    suite.addTestSuite(SQLServerHiveImportManualTest.class);

    
   
86
    suite.addTestSuite(SQLServerManagerManualTest.class);

    
   
87
    suite.addTestSuite(SQLServerMultiColsManualTest.class);

    
   
88
    suite.addTestSuite(SQLServerMultiMapsManualTest.class);

    
   
89
    suite.addTestSuite(SQLServerParseMethodsManualTest.class);

    
   
90
    suite.addTestSuite(SQLServerQueryManualTest.class);

    
   
91
    suite.addTestSuite(SQLServerSplitByManualTest.class);

    
   
92
    suite.addTestSuite(SQLServerWhereManualTest.class);

    
   
93

   
68
    // PostgreSQL
94
    // PostgreSQL
69
    suite.addTestSuite(PostgresqlImportTest.class);
95
    suite.addTestSuite(PostgresqlImportTest.class);
70
    suite.addTestSuite(PostgresqlExportTest.class);
96
    suite.addTestSuite(PostgresqlExportTest.class);
71

    
   
97

   
72
    // Hbase
98
    // Hbase
[+20] [20] 13 lines
src/test/com/cloudera/sqoop/hive/TestHiveImport.java
Revision 9c47bad New Change
 
src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestData.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestDataFileParser.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestUtils.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/ManagerCompatExport.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportDelimitedFileManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportSequenceFileManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportDelimitedFileManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportSequenceFileManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerHiveImportManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerManagerManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiColsManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiMapsManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerParseMethodsManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerQueryManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerSplitByManualTest.java
New File
 
src/test/org/apache/sqoop/manager/sqlserver/SQLServerWhereManualTest.java
New File
 
testdata/DatatypeTestData-export-lite.txt
New File
 
testdata/DatatypeTestData-import-lite.txt
New File
 
testdata/MSTest.properties
New File
 
  1. src/test/com/cloudera/sqoop/ThirdPartyTests.java: Loading...
  2. src/test/com/cloudera/sqoop/hive/TestHiveImport.java: Loading...
  3. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestData.java: Loading...
  4. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestDataFileParser.java: Loading...
  5. src/test/org/apache/sqoop/manager/sqlserver/MSSQLTestUtils.java: Loading...
  6. src/test/org/apache/sqoop/manager/sqlserver/ManagerCompatExport.java: Loading...
  7. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportDelimitedFileManualTest.java: Loading...
  8. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeExportSequenceFileManualTest.java: Loading...
  9. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportDelimitedFileManualTest.java: Loading...
  10. src/test/org/apache/sqoop/manager/sqlserver/SQLServerDatatypeImportSequenceFileManualTest.java: Loading...
  11. src/test/org/apache/sqoop/manager/sqlserver/SQLServerHiveImportManualTest.java: Loading...
  12. src/test/org/apache/sqoop/manager/sqlserver/SQLServerManagerManualTest.java: Loading...
  13. src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiColsManualTest.java: Loading...
  14. src/test/org/apache/sqoop/manager/sqlserver/SQLServerMultiMapsManualTest.java: Loading...
  15. src/test/org/apache/sqoop/manager/sqlserver/SQLServerParseMethodsManualTest.java: Loading...
  16. src/test/org/apache/sqoop/manager/sqlserver/SQLServerQueryManualTest.java: Loading...
  17. src/test/org/apache/sqoop/manager/sqlserver/SQLServerSplitByManualTest.java: Loading...
  18. src/test/org/apache/sqoop/manager/sqlserver/SQLServerWhereManualTest.java: Loading...
  19. testdata/DatatypeTestData-export-lite.txt: Loading...
  20. testdata/DatatypeTestData-import-lite.txt: Loading...
  21. testdata/MSTest.properties: Loading...