aboutsummaryrefslogtreecommitdiffstats
path: root/UnitTests
Commit message (Collapse)AuthorAgeFilesLines
* Fix: "Custom filename" in export dialog would accept multi line text (#2325)Max2015-11-131-0/+21
|
* Add validation of SSL client cert fileMax2015-10-151-0/+11
|
* Add code to verify that a SSL key file actually contains a usable RSA keyMax2015-10-141-0/+92
|
* Add a unit test someone forgot and clean it upMax2015-10-021-30/+40
| | | | (Also add a test that will currently fail)
* Improve the search method in "Go To Database" to sort results in a more ↵Max2015-09-261-10/+45
| | | | relevant order
* Replace OpenSSL with Apple's CommonCrypto for session file decryption (fixes ↵Max2015-09-141-0/+95
| | | | | | #2223) This also removes the dependency on OpenSSL.
* Replace OpenSSL for encrypting session files with Apple's CommonCrypto (part ↵Max2015-09-141-0/+77
| | | | of #2223)
* Replace OpenSSL for SHA1 calculation with Apple's CommonCryptoMax2015-09-131-0/+112
| | | | | (The easier half of #2223) Also added some unit tests.
* Added some basic unit tests for SPTableFilterParserMax2015-04-231-0/+57
|
* Remove .h files for unit testsMax2015-03-1612-253/+70
| | | | There is really no point in having them as unit tests don't have an interface someone would want to #import. (and they are disabled right now anyway ;))
* Updated OCMock framework and added a unit testMax2015-03-161-0/+92
|
* Added an internal algorithm for fuzzy string matchingMax2015-03-072-0/+70
| | | | | * This works similar to a regex matching "abc" as /a.*b.*c/ (ie. all characters of $needle need to be contained in $haystack in the correct order but not neccesarily consecutive). Additionaly some unicode equivalencies are handled. * Changed a tiny helper function from ObjC to plain C
* Fix syntax highlighting for emoji et al. #2044Max2015-01-281-2/+5
| | | | Voodoo magic provided by @Bibiko ;)
* Expand previous unit testMax2015-01-271-0/+12
|
* Adding a unit test that should fail right nowMax2015-01-271-0/+72
| | | | (if I could get Xcode to **actually** run the tests instead of only showing green checkmarks, that is)
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-2612-12/+12
|
* Remove SVN property placeholder.Stuart Connolly2014-01-2612-24/+0
|
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-1/+1
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-2512-151/+235
|
* Rename test files.stuconnolly2012-05-084-11/+14
|
* Improve formatting of SQL keywords in view syntax prettifier and add an ↵stuconnolly2012-05-083-2/+26
| | | | associated test.
* UUID string test.stuconnolly2012-05-072-3/+12
|
* Fix test build.stuconnolly2012-05-076-11/+11
|
* Move the BASH command code from the string additions category to remove the ↵stuconnolly2012-05-072-2/+4
| | | | dependency on SP specific code and all the tests to build successfully.
* Disable tests until I have time to fix them.stuconnolly2012-05-066-11/+11
|
* Test config.stuconnolly2012-05-052-15/+13
|
* Tidy up database action tests.stuconnolly2012-05-043-52/+37
|
* Add initial support of moving views when renaming a database. Currently not ↵stuconnolly2012-05-047-140/+9
| | | | hooked up yet. Part of issue #1235.
* Bring outline view branch up to date with trunk.stuconnolly2012-04-162-169/+0
|
* Bring outline view branch up to date with trunk (r3471:r3517).stuconnolly2012-03-182-111/+0
|
* Bring outlinew view branch up to date with trunk (r3375:3468).stuconnolly2012-01-222-0/+111
|
* Bring outline view branch up to date with trunk (r3246:r3264).stuconnolly2011-04-036-10/+101
|
* Fix favorites sorting.stuconnolly2011-02-022-0/+78
|
* More tests tidy up.stuconnolly2011-01-091-18/+21
|
* Tidy up and fix MCPKit test cases.stuconnolly2011-01-062-25/+74
|
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-242-3/+2
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Tidy up the project's logical structure in Xcode.stuconnolly2010-10-174-26/+39
|
* Only switch to the renamed/duplicated database name, if the action was ↵drx7772010-04-292-2/+2
| | | | successful. Caused an existing DB to be selected, after ren/dup failed because it exists.
* * removed SPDatabaseCopyTest testCopyDatabaseTables which is out of place heredrx7772010-04-286-36/+103
| | | | | | | | | * 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)
* SVN properties.stuconnolly2010-04-284-4/+4
|
* This changeset implements renaming and duplicating databases on a server. ↵drx7772010-04-288-0/+418
| | | | | | | | | | | | | | | | | | | 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
* Rename test case classes.stuconnolly2009-11-134-10/+18
|
* Tidy up and fix unit tests.stuconnolly2009-11-134-40/+39
|
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-214-13/+7
| | | | | | | | | | | | | | | - Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project. - All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information. - All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult. - Framework includes MySQL 5.1.36 client libraries and source headers. - Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary. - All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>. - New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage. Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes. Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
* - fixed path issue with unit test building and plist locationmtvee2009-05-201-0/+1
|
* Move unit tests info plist to resources directory and remove space from unit ↵stuconnolly2009-05-184-0/+205
tests directory.