Commit Graph

5 Commits

Author SHA1 Message Date
Robert M. Ryan
b9c456867b Refine close logic
- If you call `[db close]`, it should reset `isOpen` to false;
- When you try to use `[queue database]`, it should not only check that the `FMDatabase` is non-nil, but also whether the database is open or not;
- Added `testClose` test to `FMDatabaseQueue` logic if the queue's `FMDatabase` was closed.
2017-12-18 15:59:18 -08:00
Robert M. Ryan
cb92845077 Update transactions
- Add explicit exclusive transaction code
- Add warning to beginTransaction and inTransaction calls that while it's currently exclusive, we reserve the right to change this in the future
- Add a few tests while I was here
2017-10-24 00:09:25 -07:00
Robert M. Ryan
d565c2055c 2.7
- Audited for nullability;
- Updated `makeFunctionNamed` and added associated utility `value` and `result` methods;
- Added URL methods;
- As adding tests for new methods, expanded test coverage a bit (now over 80% coverage);
- Updated VFS tests to make sure they unregister;
2017-01-11 14:17:49 -08:00
Robert M. Ryan
7da973d694 Version 2.6 2015-12-28 23:37:43 -08:00
Graham Dennis
e4dd8758b1 Converting fmdb.m to XCTest tests.
Move FMDBTempDBTests class into the Tests directory.
2013-11-24 18:34:23 +11:00