aboutsummaryrefslogtreecommitdiffstats
path: root/UnitTests/SPTableCopyTest.h
Commit message (Collapse)AuthorAgeFilesLines
* Add initial support of moving views when renaming a database. Currently not ↵stuconnolly2012-05-041-4/+1
| | | | hooked up yet. Part of issue #1235.
* * removed SPDatabaseCopyTest testCopyDatabaseTables which is out of place heredrx7772010-04-281-3/+19
| | | | | | | | | * 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)
* This changeset implements renaming and duplicating databases on a server. ↵drx7772010-04-281-0/+21
Details as follows: * altered MCPConnection listTablesFromDB:like: to return NSArray * altered MCPConnection listFieldsFromTable:like: to use backtick quoted strings for table and fieldnames * added MCPConnection listTablesFromDB for a complete table list * added SPStringAdditions.h to various files to prevent warnings * added sheets for duplicate/rename DB in DBView.xib * added duplicate/rename menu items to MainMenu.xib * added outlets in TableDocument: databaseNewSheet databaseRenameSheet databaseCopyNameField databaseRenameNameField copyOnlyStructureButton copyDatabaseButton renameDatabaseButton * added methods in TableDocument: getConnection, copyDatabase, renameDatabase, _copyDatabase, _renameDatabase * added OCMock Framework for object mocking in tests * added group Others/DatabaseActions