mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
liblinphonetester: fix compilation
This commit is contained in:
parent
3c4ca7a968
commit
6be7591ee4
2 changed files with 3 additions and 3 deletions
|
|
@ -195,7 +195,7 @@ static NSString *const kAllTestsName = @"Run All tests";
|
|||
if ([test.name isEqualToString:kAllTestsName]) {
|
||||
testName = nil;
|
||||
}
|
||||
BOOL fail = bc_tester_run_tests([testSuite UTF8String], [testName UTF8String]);
|
||||
BOOL fail = bc_tester_run_tests([testSuite UTF8String], [testName UTF8String], NULL);
|
||||
if (fail) {
|
||||
LOGW(@"Test Failed!");
|
||||
test.state = TestStateFailed;
|
||||
|
|
|
|||
|
|
@ -89,8 +89,8 @@ void tester_logs_handler(int level, const char *fmt, va_list args) {
|
|||
|
||||
- (void)testForSuite:(NSString *)suite andTest:(NSString *)test {
|
||||
LOGI(@"Launching test %@ from suite %@", test, suite);
|
||||
XCTAssertFalse(bc_tester_run_tests([suite UTF8String], [test UTF8String]), @"Suite '%@' / Test '%@' failed", suite,
|
||||
test);
|
||||
XCTAssertFalse(bc_tester_run_tests([suite UTF8String], [test UTF8String], NULL), @"Suite '%@' / Test '%@' failed",
|
||||
suite, test);
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue