◆ setUp()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.setUp |
( |
| ) |
|
|
inline |
Definition at line 37 of file PlatformViewWithTextureViewUiTest.java.
37 {
38 instrumentation = InstrumentationRegistry.getInstrumentation();
39 intent = new Intent(Intent.ACTION_MAIN);
40 intent.putExtra("view_type", PlatformViewsActivity.TEXTURE_VIEW_PV);
41 }
◆ testPlatformView()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformView |
( |
| ) |
throws Exception |
|
inline |
Definition at line 44 of file PlatformViewWithTextureViewUiTest.java.
44 {
45 intent.putExtra("scenario_name", "platform_view");
46 ScreenshotUtil.capture(
activityRule.launchActivity(intent), goldName(
"testPlatformView"));
47 }
ActivityTestRule< PlatformViewsActivity > activityRule
◆ testPlatformViewClippath()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewClippath |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewCliprect()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewCliprect |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewCliprrect()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewCliprrect |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewMultiple()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewMultiple |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewMultipleBackgroundForeground()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewMultipleBackgroundForeground |
( |
| ) |
throws Exception |
|
inline |
Definition at line 57 of file PlatformViewWithTextureViewUiTest.java.
57 {
58 intent.putExtra("scenario_name", "platform_view_multiple_background_foreground");
59 ScreenshotUtil.capture(
61 goldName("testPlatformViewMultipleBackgroundForeground"));
62 }
◆ testPlatformViewMultipleWithoutOverlays()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewMultipleWithoutOverlays |
( |
| ) |
throws Exception |
|
inline |
Definition at line 109 of file PlatformViewWithTextureViewUiTest.java.
109 {
110 intent.putExtra("scenario_name", "platform_view_multiple_without_overlays");
111 ScreenshotUtil.capture(
112 activityRule.launchActivity(intent), goldName(
"testPlatformViewMultipleWithoutOverlays"));
113 }
◆ testPlatformViewOpacity()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewOpacity |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewRotate()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewRotate |
( |
| ) |
throws Exception |
|
inline |
Definition at line 100 of file PlatformViewWithTextureViewUiTest.java.
100 {
101 intent.putExtra("scenario_name", "platform_view_rotate");
102 PlatformViewsActivity activity =
activityRule.launchActivity(intent);
103 activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
104 instrumentation.waitForIdleSync();
105 ScreenshotUtil.capture(activity, goldName("testPlatformViewRotate"));
106 }
◆ testPlatformViewTransform()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewTransform |
( |
| ) |
throws Exception |
|
inline |
◆ testPlatformViewTwoIntersectingOverlays()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewTwoIntersectingOverlays |
( |
| ) |
throws Exception |
|
inline |
Definition at line 116 of file PlatformViewWithTextureViewUiTest.java.
116 {
117 intent.putExtra("scenario_name", "platform_view_two_intersecting_overlays");
118 ScreenshotUtil.capture(
119 activityRule.launchActivity(intent), goldName(
"testPlatformViewTwoIntersectingOverlays"));
120 }
◆ testPlatformViewWithoutOverlayIntersection()
void dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.testPlatformViewWithoutOverlayIntersection |
( |
| ) |
throws Exception |
|
inline |
Definition at line 123 of file PlatformViewWithTextureViewUiTest.java.
123 {
124 intent.putExtra("scenario_name", "platform_view_no_overlay_intersection");
125 ScreenshotUtil.capture(
127 goldName("testPlatformViewWithoutOverlayIntersection"));
128 }
◆ activityRule
ActivityTestRule<PlatformViewsActivity> dev.flutter.scenariosui.PlatformViewWithTextureViewUiTest.activityRule |
The documentation for this class was generated from the following file: