mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
iPhone test runner adds OC_TEST_CASEs
This commit is contained in:
@@ -76,12 +76,13 @@
|
||||
|
||||
if( runner.getFailureCount() == 0 )
|
||||
{
|
||||
NSLog( @"%d", runner.getFailureCount() );
|
||||
NSLog( @"no failures" );
|
||||
if( runner.getSuccessCount() > 0 )
|
||||
appName.textColor = [[UIColor alloc] initWithRed:0.35 green:1 blue:0.35 alpha:1];
|
||||
}
|
||||
else
|
||||
{
|
||||
NSLog( @"%d failures", runner.getFailureCount() );
|
||||
appName.textColor = [[UIColor alloc] initWithRed:1 green:0.35 blue:0.35 alpha:1];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user