mirror of
https://github.com/flutter/samples.git
synced 2026-03-23 12:51:57 +00:00
Add an e2e (host-independent) test demo to testing_app (#515)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package dev.flutter.testing_app;
|
||||
|
||||
import androidx.test.rule.ActivityTestRule;
|
||||
import dev.flutter.plugins.e2e.FlutterTestRunner;
|
||||
import org.junit.Rule;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@RunWith(FlutterTestRunner.class)
|
||||
public class MainActivityTest {
|
||||
@Rule
|
||||
public ActivityTestRule<MainActivity> rule = new ActivityTestRule<>(MainActivity.class, true, false);
|
||||
}
|
||||
Reference in New Issue
Block a user