Files
flipper/iOS/SonarKitTests/FlipperClientTests.mm
John Knox 3118814ddc Add iOS client hang test
Summary: Check that it never hangs or crashes during startup

Reviewed By: priteshrnandgaonkar

Differential Revision: D10034630

fbshipit-source-id: b69ce9e6f91a5499a084c4d7328e6934ec92ece4
2018-09-26 07:26:54 -07:00

27 lines
499 B
Plaintext

/*
* Copyright (c) 2018-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the LICENSE
* file in the root directory of this source tree.
*
*/
#import <XCTest/XCTest.h>
#if FB_SONARKIT_ENABLED
#import <FlipperKit/FlipperClient.h>
@interface FlipperClientTests : XCTestCase
@end
@implementation FlipperClientTests
- (void)testStartingClientDoesntCrashOrHang {
FlipperClient *client = [FlipperClient sharedClient];
[client start];
}
@end
#endif