LinphoneUITester: do not remove chat rooms from tester, it cannot be done properly from there - only ChatTableViewController should do that

This commit is contained in:
Gautier Pelloux-Prayer 2015-09-03 16:12:17 +02:00
parent 3c49bb7965
commit 7d3e4e5572
4 changed files with 4 additions and 10 deletions

View file

@ -50,8 +50,8 @@
#pragma mark - ViewController Functions
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
self.tableView.accessibilityIdentifier = @"ChatRoom list";
[self loadData];
}

@ -1 +1 @@
Subproject commit 7cf06309ad1e5b694f1ae6f2f40c0e8d386f7f06
Subproject commit d99b9a1ab55a655841492df9d033c1543d175990

View file

@ -239,12 +239,6 @@
[tester tapViewWithAccessibilityLabel:@"Chat"];
NSTimeInterval after = [[NSDate date] timeIntervalSince1970];
// delete all rooms from test because it takes time when done by tester
[tester tapViewWithAccessibilityLabel:@"Dialer"];
for (MSList *it = linphone_core_get_chat_rooms(lc); it != NULL; it = it->next) {
linphone_chat_room_delete_history(it->data);
}
// conversation loading MUST be less than 1 sec
XCTAssertLessThan(after - before, 1.);
}

@ -1 +1 @@
Subproject commit 434907917e933737b31b93853019f3a8c7300675
Subproject commit 08e923a41c73ce78826c3ef93e9107e89222ce40