aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting/GTMUnitTestDevLog.m
diff options
context:
space:
mode:
authorGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-12-29 18:57:18 +0000
committerGravatar thomasvl@gmail.com <thomasvl@gmail.com@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2008-12-29 18:57:18 +0000
commit84d1232477f398339e48ea504c45048e9328ef9b (patch)
treea9d48903e6bf318840eba1f38b26f68a7560f0ed /UnitTesting/GTMUnitTestDevLog.m
parent2e8516354aacef064d01425808da06d2cdcb4791 (diff)
- Updated some tests for 10.5.6.
- Updated some tests for debug vs. release differences. (added help on log validation for this). - Some fixes build issues w/ different os versions.
Diffstat (limited to 'UnitTesting/GTMUnitTestDevLog.m')
-rw-r--r--UnitTesting/GTMUnitTestDevLog.m16
1 files changed, 16 insertions, 0 deletions
diff --git a/UnitTesting/GTMUnitTestDevLog.m b/UnitTesting/GTMUnitTestDevLog.m
index a0c31b3..227eb11 100644
--- a/UnitTesting/GTMUnitTestDevLog.m
+++ b/UnitTesting/GTMUnitTestDevLog.m
@@ -185,3 +185,19 @@ casesOfPattern:(NSString*)format
}
}
@end
+
+
+@implementation GTMUnitTestDevLogDebug
+
++ (void)expect:(NSUInteger)n
+casesOfPattern:(NSString*)format
+ args:(va_list)args {
+#if DEBUG
+ // In debug, let the base work happen
+ [super expect:n casesOfPattern:format args:args];
+#else
+ // nothing when not in debug
+#endif
+}
+
+@end