Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
65d9faa1
Unverified
Commit
65d9faa1
authored
Aug 10, 2020
by
Ming Lyu (CareF)
Committed by
GitHub
Aug 10, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prepare macrobenchmarks' e2e tests for firebase test lab (#63197)
parent
fb544659
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
0 deletions
+25
-0
build.gradle
dev/benchmarks/macrobenchmarks/android/app/build.gradle
+9
-0
MainActivityTest.java
...st/java/com/example/macrobenchmarks/MainActivityTest.java
+16
-0
No files found.
dev/benchmarks/macrobenchmarks/android/app/build.gradle
View file @
65d9faa1
...
...
@@ -41,6 +41,7 @@ android {
targetSdkVersion
28
versionCode
flutterVersionCode
.
toInteger
()
versionName
flutterVersionName
testInstrumentationRunner
"androidx.test.runner.AndroidJUnitRunner"
}
buildTypes
{
...
...
@@ -54,3 +55,11 @@ android {
flutter
{
source
'../..'
}
dependencies
{
testImplementation
'junit:junit:4.12'
// https://developer.android.com/jetpack/androidx/releases/test/#1.2.0
androidTestImplementation
'androidx.test:runner:1.2.0'
androidTestImplementation
'androidx.test.espresso:espresso-core:3.2.0'
}
dev/benchmarks/macrobenchmarks/android/app/src/androidTest/java/com/example/macrobenchmarks/MainActivityTest.java
0 → 100644
View file @
65d9faa1
// Copyright 2014 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package
com
.
example
.
macrobenchmarks
;
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
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment