@@ -700,7 +700,7 @@ - (nonnull NSView*)createWithViewIdentifier:(int64_t)viewId arguments:(nullable
700
700
TEST_F (FlutterEngineTest, HandlesTerminationRequest) {
701
701
id engineMock = CreateMockFlutterEngine (nil );
702
702
__block NSString * nextResponse = @" exit" ;
703
- __block BOOL triedToTerminate = FALSE ;
703
+ __block BOOL triedToTerminate = NO ;
704
704
FlutterEngineTerminationHandler* terminationHandler =
705
705
[[FlutterEngineTerminationHandler alloc ] initWithEngine: engineMock
706
706
terminator: ^(id sender) {
@@ -743,7 +743,7 @@ - (nonnull NSView*)createWithViewIdentifier:(int64_t)viewId arguments:(nullable
743
743
arguments: @{@" type" : @" cancelable" }];
744
744
745
745
// Always terminate when the binding isn't ready (which is the default).
746
- triedToTerminate = FALSE ;
746
+ triedToTerminate = NO ;
747
747
calledAfterTerminate = @" " ;
748
748
nextResponse = @" cancel" ;
749
749
[engineMock handleMethodCall: methodExitApplication result: appExitResult];
@@ -752,22 +752,22 @@ - (nonnull NSView*)createWithViewIdentifier:(int64_t)viewId arguments:(nullable
752
752
753
753
// Once the binding is ready, handle the request.
754
754
terminationHandler.acceptingRequests = YES ;
755
- triedToTerminate = FALSE ;
755
+ triedToTerminate = NO ;
756
756
calledAfterTerminate = @" " ;
757
757
nextResponse = @" exit" ;
758
758
[engineMock handleMethodCall: methodExitApplication result: appExitResult];
759
759
EXPECT_STREQ ([calledAfterTerminate UTF8String ], " exit" );
760
760
EXPECT_TRUE (triedToTerminate);
761
761
762
- triedToTerminate = FALSE ;
762
+ triedToTerminate = NO ;
763
763
calledAfterTerminate = @" " ;
764
764
nextResponse = @" cancel" ;
765
765
[engineMock handleMethodCall: methodExitApplication result: appExitResult];
766
766
EXPECT_STREQ ([calledAfterTerminate UTF8String ], " cancel" );
767
767
EXPECT_FALSE (triedToTerminate);
768
768
769
769
// Check that it doesn't crash on error.
770
- triedToTerminate = FALSE ;
770
+ triedToTerminate = NO ;
771
771
calledAfterTerminate = @" " ;
772
772
nextResponse = @" error" ;
773
773
[engineMock handleMethodCall: methodExitApplication result: appExitResult];
@@ -776,7 +776,7 @@ - (nonnull NSView*)createWithViewIdentifier:(int64_t)viewId arguments:(nullable
776
776
}
777
777
778
778
TEST_F (FlutterEngineTest, HandleAccessibilityEvent) {
779
- __block BOOL announced = FALSE ;
779
+ __block BOOL announced = NO ;
780
780
id engineMock = CreateMockFlutterEngine (nil );
781
781
782
782
OCMStub ([engineMock announceAccessibilityMessage: [OCMArg any ]
0 commit comments