1package io.flutter.embedding.engine.systemchannels;
3import static io.flutter.Build.API_LEVELS;
4import static org.mockito.Mockito.mock;
5import static org.mockito.Mockito.verify;
7import android.annotation.TargetApi;
8import androidx.test.ext.junit.runners.AndroidJUnit4;
9import io.flutter.embedding.engine.dart.DartExecutor;
10import io.flutter.plugin.common.MethodCall;
11import io.flutter.plugin.common.MethodChannel;
12import org.json.JSONArray;
13import org.json.JSONException;
14import org.json.JSONObject;
16import org.junit.runner.RunWith;
17import org.robolectric.annotation.Config;
22@RunWith(AndroidJUnit4.class)
23@TargetApi(API_LEVELS.API_24)
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]));
36 verify(
result).success(
null);
void setEditableSizeAndTransformCompletes()
final MethodChannel.MethodCallHandler parsingMethodHandler
void setTextInputMethodHandler(@Nullable TextInputMethodHandler textInputMethodHandler)