◆ setUp()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.setUp |
( |
| ) |
|
|
inline |
Definition at line 38 of file PlatformViewWithSurfaceViewUiTest.java.
38 {
39 instrumentation = InstrumentationRegistry.getInstrumentation();
40 intent = new Intent(Intent.ACTION_MAIN);
41
42 intent.putExtra("use_android_view", false);
43 intent.putExtra("view_type", PlatformViewsActivity.SURFACE_VIEW_PV);
44 }
◆ testPlatformView()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformView |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewClippath()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewClippath |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewCliprect()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewCliprect |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewCliprrect()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewCliprrect |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewLargerThanDisplaySize()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewLargerThanDisplaySize |
( |
| ) |
throws Exception |
|
inline |
Definition at line 137 of file PlatformViewWithSurfaceViewUiTest.java.
137 {
138
139 intent.putExtra("scenario_name", "platform_view_larger_than_display_size");
140 ScreenshotUtil.capture(
141 activityRule.launchActivity(intent), goldName(
"testPlatformViewLargerThanDisplaySize"));
142 }
◆ testPlatformViewMultiple()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewMultiple |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewMultipleBackgroundForeground()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewMultipleBackgroundForeground |
( |
| ) |
throws Exception |
|
inline |
Definition at line 60 of file PlatformViewWithSurfaceViewUiTest.java.
60 {
61 intent.putExtra("scenario_name", "platform_view_multiple_background_foreground");
62 ScreenshotUtil.capture(
64 goldName("testPlatformViewMultipleBackgroundForeground"));
65 }
◆ testPlatformViewMultipleWithoutOverlays()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewMultipleWithoutOverlays |
( |
| ) |
throws Exception |
|
inline |
Definition at line 112 of file PlatformViewWithSurfaceViewUiTest.java.
112 {
113 intent.putExtra("scenario_name", "platform_view_multiple_without_overlays");
114 ScreenshotUtil.capture(
115 activityRule.launchActivity(intent), goldName(
"testPlatformViewMultipleWithoutOverlays"));
116 }
◆ testPlatformViewOpacity()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewOpacity |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewRotate()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewRotate |
( |
| ) |
throws Exception |
|
inline |
Definition at line 103 of file PlatformViewWithSurfaceViewUiTest.java.
103 {
104 intent.putExtra("scenario_name", "platform_view_rotate");
105 PlatformViewsActivity activity =
activityRule.launchActivity(intent);
106 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
107 instrumentation.waitForIdleSync();
108 ScreenshotUtil.capture(activity, goldName("testPlatformViewRotate"));
109 }
◆ testPlatformViewTransform()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewTransform |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewTwoIntersectingOverlays()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewTwoIntersectingOverlays |
( |
| ) |
throws Exception |
|
inline |
Definition at line 119 of file PlatformViewWithSurfaceViewUiTest.java.
119 {
120 intent.putExtra("scenario_name", "platform_view_two_intersecting_overlays");
121 ScreenshotUtil.capture(
122 activityRule.launchActivity(intent), goldName(
"testPlatformViewTwoIntersectingOverlays"));
123 }
◆ testPlatformViewWithoutOverlayIntersection()
void dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.testPlatformViewWithoutOverlayIntersection |
( |
| ) |
throws Exception |
|
inline |
Definition at line 126 of file PlatformViewWithSurfaceViewUiTest.java.
126 {
127 intent.putExtra("scenario_name", "platform_view_no_overlay_intersection");
128 ScreenshotUtil.capture(
130 goldName("testPlatformViewWithoutOverlayIntersection"));
131 }
◆ activityRule
ActivityTestRule<PlatformViewsActivity> dev.flutter.scenariosui.PlatformViewWithSurfaceViewUiTest.activityRule |
The documentation for this class was generated from the following file: