5package dev.flutter.scenariosui;
8import androidx.annotation.NonNull;
9import androidx.test.ext.junit.runners.AndroidJUnit4;
10import androidx.test.filters.LargeTest;
11import androidx.test.rule.ActivityTestRule;
12import dev.flutter.scenarios.PlatformViewsActivity;
13import org.junit.Before;
16import org.junit.runner.RunWith;
18@RunWith(AndroidJUnit4.class)
25 new ActivityTestRule<>(
28 private static String goldName(String
suffix) {
29 return "PlatformViewWithSurfaceViewBadContextUiTest_" +
suffix;
34 intent =
new Intent(Intent.ACTION_MAIN);
36 intent.putExtra(
"use_android_view",
false);
42 intent.putExtra(
"scenario_name",
"platform_view");
ActivityTestRule< PlatformViewsActivity > activityRule
static void capture(@NonNull TestableFlutterActivity activity, @NonNull String captureName)