diff --git a/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/AppDelegate.h b/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/AppDelegate.h index de090bc7cb4e2..e7b3600a059cb 100644 --- a/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/AppDelegate.h +++ b/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/AppDelegate.h @@ -9,5 +9,4 @@ @interface AppDelegate : NSObject - @end diff --git a/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/AppDelegate.m b/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/AppDelegate.m index 36aeae8dbe6cf..36d16491c63b1 100644 --- a/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/AppDelegate.m +++ b/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/AppDelegate.m @@ -9,24 +9,20 @@ @interface AppDelegate () - @end @implementation AppDelegate -- (void)applicationDidFinishLaunching:(NSNotification *)aNotification { - // Insert code here to initialize your application +- (void)applicationDidFinishLaunching:(NSNotification*)aNotification { + // Insert code here to initialize your application } - -- (void)applicationWillTerminate:(NSNotification *)aNotification { - // Insert code here to tear down your application +- (void)applicationWillTerminate:(NSNotification*)aNotification { + // Insert code here to tear down your application } - -- (BOOL)applicationSupportsSecureRestorableState:(NSApplication *)app { - return YES; +- (BOOL)applicationSupportsSecureRestorableState:(NSApplication*)app { + return YES; } - @end diff --git a/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/main.m b/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/main.m index 6742734169489..ee939ac3752c1 100644 --- a/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/main.m +++ b/onnxruntime/test/platform/apple/apple_package_test/macos_package_test/main.m @@ -7,9 +7,9 @@ #import -int main(int argc, const char * argv[]) { - @autoreleasepool { - // Setup code that might create autoreleased objects goes here. - } - return NSApplicationMain(argc, argv); +int main(int argc, const char* argv[]) { + @autoreleasepool { + // Setup code that might create autoreleased objects goes here. + } + return NSApplicationMain(argc, argv); } diff --git a/onnxruntime/test/platform/apple/apple_package_test/macos_package_testUITests/macos_package_uitest_cpp_api.mm b/onnxruntime/test/platform/apple/apple_package_test/macos_package_testUITests/macos_package_uitest_cpp_api.mm index c6dd3e16ae650..613c6e545939f 100644 --- a/onnxruntime/test/platform/apple/apple_package_test/macos_package_testUITests/macos_package_uitest_cpp_api.mm +++ b/onnxruntime/test/platform/apple/apple_package_test/macos_package_testUITests/macos_package_uitest_cpp_api.mm @@ -76,16 +76,16 @@ @interface macos_package_testUITests : XCTestCase @implementation macos_package_testUITests - (void)setUp { - // Put setup code here. This method is called before the invocation of each test method in the class. + // Put setup code here. This method is called before the invocation of each test method in the class. - // In UI tests it is usually best to stop immediately when a failure occurs. - self.continueAfterFailure = NO; + // In UI tests it is usually best to stop immediately when a failure occurs. + self.continueAfterFailure = NO; - // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. + // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this. } - (void)tearDown { - // Put teardown code here. This method is called after the invocation of each test method in the class. + // Put teardown code here. This method is called after the invocation of each test method in the class. } - (NSString*)getFilePath {