Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 163685d

Browse files
fix tests
1 parent ce03d81 commit 163685d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

shell/platform/android/test/io/flutter/plugin/editing/InputConnectionAdaptorTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -950,14 +950,12 @@ public void inputConnectionAdaptor_skipCallsAfterEditingValueUpdateFromFramework
950950
DartExecutor dartExecutor = spy(new DartExecutor(mockFlutterJni, mock(AssetManager.class)));
951951
int inputTargetId = 0;
952952
TestTextInputChannel textInputChannel = new TestTextInputChannel(dartExecutor);
953-
AndroidKeyProcessor mockKeyProcessor = mock(AndroidKeyProcessor.class);
954953
Editable mEditable = Editable.Factory.getInstance().newEditable("");
955954
EditorInfo outAttrs = new EditorInfo();
956955
outAttrs.inputType = InputType.TYPE_CLASS_TEXT | InputType.TYPE_TEXT_FLAG_MULTI_LINE;
957956

958957
InputConnectionAdaptor inputConnectionAdaptor =
959-
new InputConnectionAdaptor(
960-
testView, inputTargetId, textInputChannel, mockKeyProcessor, mEditable, outAttrs);
958+
new InputConnectionAdaptor(testView, inputTargetId, textInputChannel, mEditable, outAttrs);
961959

962960
inputConnectionAdaptor.setComposingText("initial text", 1);
963961
assertEquals(textInputChannel.text, "initial text");

0 commit comments

Comments
 (0)