aboutsummaryrefslogtreecommitdiffstats
path: root/UnitTests
Commit message (Collapse)AuthorAgeFilesLines
* Some changes to PR #2795Max Lohrmann2017-05-201-0/+76
| | | | | | | * Adjusted code style * Added unit tests * Rewrote a function to be easier to understand * Added support for MySQL X’val’ style hex literal
* Update source code compatibilityMax2017-03-311-78/+0
| | | | | | * Remove forward SDK declaration for 10.8 and below (since that is the minimum required development SDK) * Fix one case where a method unconditionally required a 10.9+ runtime * Move all of the forward/backward hacks into their own file
* Add unit tests and fix a bug in JSON formatterMax2017-02-121-0/+141
|
* Updated test to use NSEqualRangesMarius Ursache2016-02-291-27/+10
| | | | Previous tests where using NSValue wrapping for NSRange 'XCTAssertTrue result.
* Reapply "Fixed testCopyTableFromTo_NoPermissions test"Marius Ursache2016-02-291-1/+2
| | | | This reverts commit 0f3ce372c0c777287f81f6db2f8431a4d32f1cd4.
* Revert "Fixed testCopyTableFromTo_NoPermissions test"Marius Ursache2016-02-271-2/+1
| | | | This reverts commit 4d2ec773b833b06fd6925502eb4ac512b1274b86.
* Fixed testCopyTableFromTo_NoPermissions testMarius Ursache2016-02-261-1/+2
| | | | Fixing testCopyTableFromTo_NoPermissions not using the mockConnection.
* Converted tests to XCTestMarius Ursache2016-02-268-97/+114
| | | | Converted the unit tests from SenTestingKit to XCTest as SenTestingKit was deprecated a couple of SDK versions ago.
* 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
|