Definition at line 24 of file TextInputChannelTest.java.
◆ setEditableSizeAndTransformCompletes()
void io.flutter.embedding.engine.systemchannels.TextInputChannelTest.setEditableSizeAndTransformCompletes |
( |
| ) |
throws JSONException |
|
inline |
Definition at line 26 of file TextInputChannelTest.java.
26 {
27 TextInputChannel textInputChannel = new TextInputChannel(mock(DartExecutor.class));
28 textInputChannel.setTextInputMethodHandler(mock(TextInputChannel.TextInputMethodHandler.class));
29 JSONObject arguments = new JSONObject();
30 arguments.put("width", 100.0);
31 arguments.put("height", 20.0);
32 arguments.put("transform", new JSONArray(new double[16]));
34 MethodChannel.Result
result = mock(MethodChannel.Result.class);
35 textInputChannel.parsingMethodHandler.onMethodCall(
call,
result);
36 verify(
result).success(
null);
37 }
The documentation for this class was generated from the following file: