Commit Graph
595 Commits
Author SHA1 Message Date
Gwendal Roué 7186c9a3a0 #68: take care of Int, Int32 and Int64 overflow when converting from database values 2016-06-05 13:49:47 +02:00
swiftlyfalling 066a4de15f Added tests
For:
- NSNull.swift
- NSNumber.swift
- NSString.swift
- NSURL.swift
- DatabaseValue+Foundation.swift
2016-06-02 19:25:42 -04:00
swiftlyfalling 4966ce447f Add missing Target Dependency for GRDBCustomSQLite frameworks. 2016-05-31 17:33:04 -04:00
swiftlyfalling 280d90cdc4 More tweaks to GRDBCustomSQLite run script phase 2016-05-31 09:39:42 -04:00
swiftlyfalling 74d46f201a Tweaks to GRDBCustomSQLite run script build phase 2016-05-30 21:54:07 -04:00
swiftlyfalling cb8331f213 Renamed customizable files to <file>-USER, added .example files, preserve user customizations.
Added .example files.
Added build phase script to copy .example files if user configuration
files are not already present.
2016-05-30 21:16:36 -04:00
swiftlyfalling 9f406c6725 Add GRDBCustomSQLite targets and schemes.
To support building GRDB with a built-in custom SQLite build/version.
2016-05-30 18:16:04 -04:00
Gwendal Roué bc757016af Issue #61: Database.inSavepoint(named:) 2016-05-28 18:46:12 +02:00
Gwendal Roué ac31392b90 Issue #61: test TransactionObserver with a simple savepoint 2016-05-28 13:42:48 +02:00
Gwendal Roué 5fe7c5d888 FetchRequest tests 2016-05-22 20:16:17 +02:00
Gwendal Roué 2f18d1ff8b Merge branch 'master' into RowAdapter
Conflicts:
	GRDB/Record/FetchedRecordsController.swift
2016-05-21 16:03:45 +02:00
Gwendal Roué 9794b72607 Fixes #55 2016-05-21 15:08:16 +02:00
Gwendal Roué 997a29e70b Fixes #58 2016-05-21 12:15:36 +02:00
Gwendal Roué eb726e47c3 RowAdapter documentation 2016-05-21 08:07:20 +02:00
Gwendal Roué 4e2f396b4a RowAdapter refactoring 2016-05-20 21:00:50 +02:00
Gwendal Roué daba5b2102 Merge branch 'master' into RowAdapter
Conflicts:
	GRDB.xcodeproj/project.pbxproj
	GRDB/Record/FetchedRecordsController.swift
	TODO.md
2016-05-19 20:40:26 +02:00
Gwendal Roué a9d3dffd3c Failing test for issue #54 2016-05-19 13:57:25 +02:00
Gwendal Roué 5fac4abc07 Use FetchRequest instead of QueryInterfaceRequest where relevant 2016-05-19 13:35:45 +02:00
Gwendal Roué 28a795eddb Rename FetchRequestType to FetchRequest 2016-05-19 13:09:30 +02:00
Gwendal Roué 06b824928b Rename FetchRequest to QueryInterfaceRequest 2016-05-19 13:08:48 +02:00
Gwendal Roué a348febf3e Introduce FetchRequestType 2016-05-19 12:23:58 +02:00
Gwendal Roué a08bbbad29 Failing tests for issue #53 2016-05-19 09:02:20 +02:00
Gwendal Roué 75258afb6c Issue #50: Tests for FetchedRecordsController(...:adapter:) 2016-05-19 08:26:28 +02:00
Gwendal Roué 5c6bccd7b3 Issue #50: Row equality now compares subrows 2016-05-18 16:25:24 +02:00
Gwendal Roué 51130c354b Issue #50: More MappedRowTests 2016-05-18 13:55:02 +02:00
Gwendal Roué 84929771be RowAdapter initial implementation 2016-05-13 11:30:44 +02:00
Gwendal Roué 1d5999e50b FetchedRecordsController: expose UITableView-targetted callbacks to iOS only 2016-05-11 10:36:51 +02:00
Gwendal Roué fbb59d2d6c DatabaseReader.backup(to:) 2016-05-05 15:24:14 +02:00
Gwendal Roué 94797986a9 Expose FetchedRecordsController to OSX 2016-05-03 11:44:04 +02:00
Gwendal Roué 660c255532 Drop obsolete test 2016-05-01 14:05:55 +02:00
Gwendal Roué 234e1e6810 FetchedRecordsController tests WIP 2016-04-30 14:50:10 +02:00
Gwendal Roué 4bcff181c7 Back to block-based database accesses.
Rationale: https://medium.com/@gwendal.roue/four-different-ways-to-handle-sqlite-concurrency-db3bcc74d00e
2016-04-08 08:29:58 +02:00
Gwendal Roué f868d3eead changePassphrase() 2016-04-05 05:51:19 +02:00
Gwendal Roué 08de2cc920 Remove explicit deployment targets for OS X tests 2016-04-03 22:46:20 +02:00
Gwendal Roué 41fab091d0 GRDBCipheriOS 2016-04-03 22:16:30 +02:00
Gwendal Roué 484d5a5968 Framework for GRDB+SQLCipher is named GRDBCipher 2016-04-03 21:30:22 +02:00
Gwendal Roué eabacfafb2 Encryption tests 2016-04-03 20:39:20 +02:00
Gwendal Roué e0bb6d106c Failing tests for encrypted databases 2016-04-03 17:58:58 +02:00
Gwendal Roué 7e3563f64b Refactor tests so that DatabaseQueue can be configured at the target level. We are preparing tests for encrypted databases. 2016-04-03 16:20:45 +02:00
Gwendal Roué 0473d232ed Tests for GRDBOSX, GRDBiOS, and GRDBCipherOSX (without encryption) 2016-04-03 14:04:04 +02:00
Gwendal Roué 3e0fcc4b87 New GRDBCipherOSX target + tests 2016-04-03 11:40:34 +02:00
Gwendal Roué e8ccc48815 Add performance tests README in project so that I don’t have to look after it in order to build Realm 2016-04-01 20:20:15 +02:00
Gwendal Roué 5fbdd03acb Restore disabled tests (???) 2016-03-27 14:38:03 +02:00
Gwendal Roué 9160021442 New GRDBFetchedRecordsControllerDemo app 2016-03-26 16:28:40 +01:00
Gwendal Roué 87733729b1 Merge branch 'master' into FetchedRecordsController
Conflicts:
	GRDB.xcworkspace/contents.xcworkspacedata
2016-03-23 13:15:35 +01:00
Gwendal Roué 09cbbb4570 Fix GRDBiOSTests target 2016-03-23 13:13:40 +01:00
Gwendal Roué aea7609e0b Merge branch 'master' into FetchedRecordsController 2016-03-22 21:29:46 +01:00
Gwendal Roué 32461d221a Merge commit '7de27389aa89f731b977e2d046c8b12ff2191e5d' into FetchedRecordsController 2016-03-22 21:06:04 +01:00
Gwendal Roué 1b78881f78 Update performance tests 2016-03-22 14:11:36 +01:00
Gwendal Roué b45c711483 FetchedResultsController: replace "Result" by "Record", and "Change" by "Event" (this leaves changes free for actual row changes) 2016-03-17 13:27:06 +01:00