aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-03-26 16:24:06 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2014-03-26 16:24:06 +0000
commit0bac72735b993b897d88a341fd3ae7ef3df10b48 (patch)
tree9109b3fce2c1f8be1c24e3f4e019c6e5ddf42ccc /UnitTesting
parent32f3eea1f4fa9b684de868d8f03a32cbec234b22 (diff)
Reverting, change wasn't correct in all cases.
RCL=63803810-p10 RDATE=2014/03/26 07:41:01
Diffstat (limited to 'UnitTesting')
-rw-r--r--UnitTesting/GTMIPhoneUnitTestDelegate.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/UnitTesting/GTMIPhoneUnitTestDelegate.m b/UnitTesting/GTMIPhoneUnitTestDelegate.m
index e28d3ea..03ded2f 100644
--- a/UnitTesting/GTMIPhoneUnitTestDelegate.m
+++ b/UnitTesting/GTMIPhoneUnitTestDelegate.m
@@ -71,7 +71,7 @@
// Run through all the registered classes and run test methods on any
// that are subclasses of SenTestCase. Terminate the application upon
// test completion.
-- (void)applicationDidFinishLaunching:(NSNotification *)notification {
+- (void)applicationDidFinishLaunching:(UIApplication *)application {
// We could get called twice once from our notification registration, and
// once if we actually still are the delegate of the application after
@@ -87,7 +87,7 @@
// To permit UI-based tests, run the tests and exit app in a delayed selector
// call. This ensures tests are run outside of applicationDidFinishLaunching:.
[self performSelector:@selector(runTestsAndExit:)
- withObject:[notification object]
+ withObject:application
afterDelay:0];
}