From bb2b0d20350e590d779e7c2168db25b5e67248e5 Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Mon, 21 Mar 2016 10:56:17 +0100 Subject: [PATCH] TestsUI: do not run Notification test on simulator (fix typo) --- TestsUI/NotificationTester.m | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/TestsUI/NotificationTester.m b/TestsUI/NotificationTester.m index 981ec2b2c..677254587 100644 --- a/TestsUI/NotificationTester.m +++ b/TestsUI/NotificationTester.m @@ -10,20 +10,22 @@ @implementation NotificationTester +#if !TARGET_IPHONE_SIMULATOR + - (void)beforeAll { [super beforeAll]; [self switchToValidAccountIfNeeded]; } - (void)testCallNotificationInBackground { -#if !TARGET_OS_SIMULATOR const LinphoneAddress *addr = linphone_proxy_config_get_identity_address(linphone_core_get_default_proxy_config(LC)); LinphoneChatMessage *msg = linphone_chat_room_create_message(linphone_core_get_chat_room(LC, addr), "hello my own"); linphone_chat_room_send_chat_message(linphone_core_get_chat_room(LC, addr), msg); linphone_core_set_network_reachable(LC, NO); [tester waitForViewWithAccessibilityLabel:@"hello my own"]; -#endif } +#endif + @end