aboutsummaryrefslogtreecommitdiffstats
path: root/UnitTests/SPDatabaseCopyTest.m
diff options
context:
space:
mode:
authordrx777 <david.rekowski@gmx.de>2010-04-28 23:09:12 +0000
committerdrx777 <david.rekowski@gmx.de>2010-04-28 23:09:12 +0000
commitbc4c01b1c4729e3be448503e6ad2f6799834abca (patch)
tree26ad0baae641ecd91e2449f7f72652dd3bf9de0e /UnitTests/SPDatabaseCopyTest.m
parentd6bf18b27e7e6e744b24ff69ec8bc0cce134f8eb (diff)
downloadsequelpro-bc4c01b1c4729e3be448503e6ad2f6799834abca.tar.gz
sequelpro-bc4c01b1c4729e3be448503e6ad2f6799834abca.tar.bz2
sequelpro-bc4c01b1c4729e3be448503e6ad2f6799834abca.zip
* removed SPDatabaseCopyTest testCopyDatabaseTables which is out of place here
* minor restructuring of SPTableCopy for readability and debuggability * corrected wrong default copyright header on some files * SPCopyTableTest: removed testCopyTableFromTo since it is integrated in testCopyTableFromToWithData; * SPCopyTableTest: fixed test to reflect two queries table creation (show create and create) instead of create like (<4.1 compatibility)
Diffstat (limited to 'UnitTests/SPDatabaseCopyTest.m')
-rw-r--r--UnitTests/SPDatabaseCopyTest.m11
1 files changed, 1 insertions, 10 deletions
diff --git a/UnitTests/SPDatabaseCopyTest.m b/UnitTests/SPDatabaseCopyTest.m
index eafeb57b..c9a37d3c 100644
--- a/UnitTests/SPDatabaseCopyTest.m
+++ b/UnitTests/SPDatabaseCopyTest.m
@@ -1,7 +1,7 @@
//
// $Id$
//
-// DatabaseCopyTest.m
+// SPDatabaseCopyTest.m
// sequel-pro
//
// Created by David Rekowski
@@ -83,15 +83,6 @@
[target release];
}
-- (void) testCopyDatabaseTables {
- SPDatabaseCopy *dbCopy = [self getDatabaseCopyFixture];
- SPTableCopy *tableCopy = [self getTableCopyFixture];
- STAssertTrue([tableCopy copyTable:@"table_one" from: @"source_db" to: @"target_db"],
- @"Should have copied database table table_one.");
- STAssertTrue([tableCopy copyTable:@"table_two" from: @"source_db" to: @"target_db"],
- @"Should have copied database table table_two.");
-}
-
- (void) testCreateDatabase {
SPDatabaseCopy *dbCopy = [self getDatabaseCopyFixture];
// test missing :)