Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ccgus/fmdb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Dennis <graham.dennis@gmail.com>2013-11-29 08:47:24 +0400
committerGraham Dennis <graham.dennis@gmail.com>2013-11-29 08:47:24 +0400
commit1faf00c9efc9f03b5b022400466242b1f73c2674 (patch)
treeb56165dfc0d82bb3d0f539e6e22ff5053a135ea8
parente312d6195a008163ea87f61cfb5132297b0e93bf (diff)
Fix -[FMDatabaseTests testApplicationID]
There were compile errors in this code because I just copy/pasted it from fmdb.m without making the changes for XCTest. It wasn't causing problems for me because I am using a version of SQLite older than the preprocessor check.
-rw-r--r--Tests/FMDatabaseTests.m8
1 files changed, 2 insertions, 6 deletions
diff --git a/Tests/FMDatabaseTests.m b/Tests/FMDatabaseTests.m
index 34e4ded..f3ef197 100644
--- a/Tests/FMDatabaseTests.m
+++ b/Tests/FMDatabaseTests.m
@@ -803,17 +803,13 @@
uint32_t rAppID = [db applicationID];
- NSLog(@"rAppID: %d", rAppID);
-
- FMDBQuickCheck(rAppID == appID);
+ XCTAssertEqual(rAppID, appID);
[db setApplicationIDString:@"acrn"];
NSString *s = [db applicationIDString];
- NSLog(@"s: '%@'", s);
-
- FMDBQuickCheck([s isEqualToString:@"acrn"]);
+ XCTAssertEqualObjects(s, @"acrn");
}
#endif