mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
TestsUI: do not run Notification test on simulator (fix typo)
This commit is contained in:
parent
afcc8c5e04
commit
bb2b0d2035
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue