Commit Graph
1676 Commits
Author SHA1 Message Date
Gwendal Roué 90dd8d19bc More tests for consumption of prefetched rows 2019-05-05 15:10:55 +02:00
Gwendal Roué efe89f000d More tests for consumption of prefetched rows 2019-05-05 14:52:54 +02:00
Gwendal Roué 590f6c2b2a More tests for consumption of prefetched rows 2019-05-05 14:23:45 +02:00
Gwendal Roué 623f2eaf43 First tests for consumption of prefetched rows 2019-05-05 13:54:55 +02:00
Gwendal Roué 217b7eee9f AssociationHasManyPrefetchingSQLTests cleanup 2019-05-04 22:04:22 +02:00
Gwendal Roué f1522c09b5 AssociationHasManyPrefetchingSQLTests cleanup 2019-05-04 22:00:37 +02:00
Gwendal Roué b00271ad80 AssociationHasManyPrefetchingSQLTests cleanup 2019-05-04 21:45:29 +02:00
Gwendal Roué d7b4cf364d More passing prefetch tests 2019-05-04 21:35:06 +02:00
Gwendal Roué 7ef5669710 More passing prefetch tests 2019-05-04 21:28:59 +02:00
Gwendal Roué ce782cecac More passing prefetch tests 2019-05-04 21:04:55 +02:00
Gwendal Roué a7431403a5 AssociationHasManyPrefetchingSQLTests cleanup 2019-05-04 20:39:56 +02:00
Gwendal Roué 4b82656d3a More passing prefetch tests 2019-05-04 17:20:56 +02:00
Gwendal Roué 2ca2f11883 First prefetch and passing tests 2019-05-04 17:02:19 +02:00
Gwendal Roué 820db3f07d Refactor SQLAssociation
# Conflicts:
#	GRDB/QueryInterface/Association/Association.swift
2019-05-02 20:34:10 +02:00
Gwendal Roué c37ccb6448 Test for PRAGMA cipher_compatibility 2019-04-21 13:46:05 +02:00
Gwendal Roué a336cf6ca4 Drop obsolete documentation 2019-04-21 13:04:07 +02:00
Gwendal Roué 801e8bb23c Remove remaining references to Carthage 2019-04-21 13:03:28 +02:00
Gwendal Roué 235ce0aba2 Remove remaining references to GRDBCipher 2019-04-21 13:01:54 +02:00
Gwendal Roué 2a72d08334 Restore Database.logError 2019-04-21 12:59:12 +02:00
Gwendal Roué 1b9a1d3e30 SQLCipher tests: don't sign code 2019-04-20 22:03:48 +02:00
Gwendal Roué 5730dd5414 Refactor Makefile and .travis.yml for new SQLCipher tests 2019-04-20 20:44:52 +02:00
Gwendal Roué c0c2a40c22 SQLCipher3 tests 2019-04-20 20:15:45 +02:00
Gwendal Roué 7d50825bff SQLCipher4 tests 2019-04-20 20:10:50 +02:00
Gwendal Roué 6b3f2e844c Fix make test_install_GRDBCipher_CocoaPods 2019-04-20 16:06:25 +02:00
Gwendal Roué 95274c57dd SQLCipher 4: adapt tests for past-error Cursor.next() 2019-04-20 15:32:01 +02:00
Gwendal Roué e55a5bd1d0 SQLCipher can't backup encrypted databases 2019-04-20 15:29:43 +02:00
Gwendal Roué 97173dea60 Fix Xcode 10.2.1 warnings 2019-04-20 14:49:43 +02:00
Gwendal Roué 1c1ee4e92a GRDBCipher is no longer. Long live GRDB.swift/SQLCipher. 2019-04-19 13:11:55 +02:00
Gwendal Roué 1f50b4fefe Integrate SQLCipher as a CocoaPod 2019-04-19 08:33:19 +02:00
Gwendal Roué 2711b9bb04 Merge branch 'GRDB-4.0' into feature/fetchOne-limit-1 2019-04-18 07:01:03 +02:00
Gwendal Roué 3f8047fc0e Tests for the singleResult hint and SQLRequest.init(_:request:) 2019-04-17 21:32:47 +02:00
Gwendal Roué a12830050b Tests for the singleResult hint and databaseRegion 2019-04-17 21:32:13 +02:00
Gwendal Roué 21c0175a71 Tests for the singleResult hint and fetchCount 2019-04-17 21:31:53 +02:00
Gwendal Roué 65fe2bb50c Tests for the singleResult hint and fetching methods 2019-04-17 21:31:30 +02:00
Gwendal Roué e3a0935914 Add SQL tests for all record testFetchOne…() methods
We usually update all those tests together
2019-04-17 14:01:16 +02:00
Gwendal Roué 693e6da773 Do not test that fetchOne does not add LIMIT 1 to raw SQL requests
We do not add LIMIT 1 to raw SQL requests because it is difficult. But it would not be wrong to do so.
2019-04-17 13:08:51 +02:00
Alex Robinson 235a612ce0 Remove LIMIT 1 from expected SQL when filtering by key
Tests now fail
2019-04-16 10:29:40 +10:00
Alex Robinson 7070dedf1a Replace FetchRequestHint with a boolean for single results
Fixes previous test failure
2019-04-16 10:20:36 +10:00
Alex Robinson 20aecd5328 Add failing test for fetchOne with a non-zero offset 2019-04-16 10:20:36 +10:00
Gwendal Roué 9b24671043 Disable #514 failing tests 2019-04-11 08:14:04 +02:00
Alex Robinson dd139b6268 Fix testing lastSQLQuery when a cursor hasn't retrieved a record
This problem was masked by the fact all queries in the test expected the same SQL query.
2019-04-11 13:19:04 +10:00
Alex Robinson 072fa2583a Add hints for use in request preparation
Hints are ignored by SQLRequest. When you write raw SQL you probably don't want GRDB to modify your query.
2019-04-11 13:14:41 +10:00
Alex Robinson af1fd6b90c More tests for presence of LIMIT 1 2019-04-11 13:08:29 +10:00
Alex Robinson f9868bd8b5 Update tests to expect "LIMIT 1" where appropriate
Tests currently fail
2019-04-11 11:51:16 +10:00
Gwendal Roué 00ae2de14e Another failing test for #514 2019-04-10 19:54:44 +02:00
Gwendal Roué a6cbd242e6 Add a failing test forr #514 2019-04-10 19:29:50 +02:00
Gwendal Roué db34d9537b Remove more useless failing tests 2019-04-10 07:49:06 +02:00
Gwendal Roué 94316540de Remove useless failing tests
They were failing because database initialization now uses high level methods which throw detailed errors.
2019-04-09 20:01:22 +02:00
Gwendal Roué a0f37c6e85 Simplify Database.validateFormat() 2019-04-09 19:56:01 +02:00
Michael Kirk 99065a4faf prepareDB block 2019-04-02 10:47:31 -06:00