Formatting Objective-C and Objective-C++ (#2492)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
__attribute__((visibility ("default")))
|
||||
__attribute__((visibility("default")))
|
||||
@interface IosTestRunner : NSObject
|
||||
|
||||
- (NSString*) getStyleResultPath;
|
||||
- (NSString*) getMetricResultPath;
|
||||
- (NSString*) getMetricPath;
|
||||
- (BOOL) getTestStatus;
|
||||
- (NSString*)getStyleResultPath;
|
||||
- (NSString*)getMetricResultPath;
|
||||
- (NSString*)getMetricPath;
|
||||
- (BOOL)getTestStatus;
|
||||
|
||||
@end
|
||||
|
||||
@@ -20,13 +20,16 @@ bool TestRunner::startTest(const std::string& manifestBasePath) {
|
||||
|
||||
int finishedTestCount = 0;
|
||||
std::function<void()> testStatus = [&]() {
|
||||
mbgl::Log::Info(mbgl::Event::General, "Current finished tests number is '" + std::to_string(++finishedTestCount) + "' ");
|
||||
mbgl::Log::Info(mbgl::Event::General,
|
||||
"Current finished tests number is '" + std::to_string(++finishedTestCount) + "' ");
|
||||
};
|
||||
mbgl::Log::Info(mbgl::Event::General, "Start running RenderTestRunner with manifest: '" + manifest + "' ");
|
||||
|
||||
auto result = mbgl::runRenderTests(static_cast<int>(argv.size() - 1), argv.data(), testStatus);
|
||||
|
||||
mbgl::Log::Info(mbgl::Event::General, "End running RenderTestRunner with manifest: '" + manifest + "' with result value " + std::to_string(result));
|
||||
mbgl::Log::Info(mbgl::Event::General,
|
||||
"End running RenderTestRunner with manifest: '" + manifest + "' with result value " +
|
||||
std::to_string(result));
|
||||
return result == 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user