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 leakcanary.FailTestOnLeak;
16import org.junit.runner.RunWith;
18@RunWith(AndroidJUnit4.class)
23 new ActivityTestRule<>(
29 Intent intent =
new Intent(Intent.ACTION_MAIN);
30 intent.putExtra(
"scenario_name",
"platform_view");
31 intent.putExtra(
"use_android_view",
true);
ActivityTestRule< PlatformViewsActivity > activityRule
void platformViewHybridComposition_launchActivityFinishAndLaunchAgain()