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
00aa1442
Unverified
Commit
00aa1442
authored
Feb 01, 2021
by
Michael Goderbauer
Committed by
GitHub
Feb 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate off e2e (#75029)
parent
d3092541
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
19 deletions
+15
-19
pubspec.yaml
dev/benchmarks/complex_layout/pubspec.yaml
+3
-2
measure_scroll_smoothness.dart
...hmarks/complex_layout/test/measure_scroll_smoothness.dart
+5
-5
measure_scroll_smoothness_test.dart
...ex_layout/test_driver/measure_scroll_smoothness_test.dart
+2
-2
pubspec.yaml
dev/integration_tests/release_smoke_test/pubspec.yaml
+3
-8
hello_world_test.dart
...sts/release_smoke_test/test_adapter/hello_world_test.dart
+2
-2
No files found.
dev/benchmarks/complex_layout/pubspec.yaml
View file @
00aa1442
...
...
@@ -35,7 +35,8 @@ dev_dependencies:
flutter_test
:
sdk
:
flutter
test
:
1.16.0-nullsafety.17
e2e
:
0.7.0+1
integration_test
:
sdk
:
flutter
_fe_analyzer_shared
:
14.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
analyzer
:
0.41.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -85,4 +86,4 @@ flutter:
-
packages/flutter_gallery_assets/people/square/ali.png
-
packages/flutter_gallery_assets/places/india_chettinad_silk_maker.png
# PUBSPEC CHECKSUM:
6854
# PUBSPEC CHECKSUM:
a6ac
dev/benchmarks/complex_layout/test/measure_scroll_smoothness.dart
View file @
00aa1442
...
...
@@ -9,7 +9,7 @@
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:
e2e/e2e
.dart'
;
import
'package:
integration_test/integration_test
.dart'
;
import
'package:complex_layout/main.dart'
as
app
;
...
...
@@ -62,7 +62,7 @@ enum TestScenario {
class
ResampleFlagVariant
extends
TestVariant
<
TestScenario
>
{
ResampleFlagVariant
(
this
.
binding
);
final
E2E
WidgetsFlutterBinding
binding
;
final
IntegrationTest
WidgetsFlutterBinding
binding
;
@override
final
Set
<
TestScenario
>
values
=
Set
<
TestScenario
>.
from
(
TestScenario
.
values
);
...
...
@@ -124,9 +124,9 @@ class ResampleFlagVariant extends TestVariant<TestScenario> {
}
Future
<
void
>
main
()
async
{
final
WidgetsBinding
_binding
=
E2E
WidgetsFlutterBinding
.
ensureInitialized
();
assert
(
_binding
is
E2E
WidgetsFlutterBinding
);
final
E2EWidgetsFlutterBinding
binding
=
_binding
as
E2E
WidgetsFlutterBinding
;
final
WidgetsBinding
_binding
=
IntegrationTest
WidgetsFlutterBinding
.
ensureInitialized
();
assert
(
_binding
is
IntegrationTest
WidgetsFlutterBinding
);
final
IntegrationTestWidgetsFlutterBinding
binding
=
_binding
as
IntegrationTest
WidgetsFlutterBinding
;
binding
.
framePolicy
=
LiveTestWidgetsFlutterBindingFramePolicy
.
benchmarkLive
;
binding
.
reportData
??=
<
String
,
dynamic
>{};
final
ResampleFlagVariant
variant
=
ResampleFlagVariant
(
binding
);
...
...
dev/benchmarks/complex_layout/test_driver/measure_scroll_smoothness_test.dart
View file @
00aa1442
...
...
@@ -4,9 +4,9 @@
import
'dart:async'
;
import
'package:
e2e/e2e
_driver.dart'
as
driver
;
import
'package:
integration_test/integration_test
_driver.dart'
as
driver
;
Future
<
void
>
main
()
=>
driver
.
e2e
Driver
(
Future
<
void
>
main
()
=>
driver
.
integration
Driver
(
timeout:
const
Duration
(
minutes:
5
),
responseDataCallback:
(
Map
<
String
,
dynamic
>
data
)
async
{
await
driver
.
writeResponseData
(
...
...
dev/integration_tests/release_smoke_test/pubspec.yaml
View file @
00aa1442
...
...
@@ -16,27 +16,22 @@ dependencies:
dev_dependencies
:
flutter_test
:
sdk
:
flutter
integration_test
:
sdk
:
flutter
e2e
:
0.7.0+1
archive
:
3.0.0-nullsafety.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
async
:
2.5.0-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector
:
2.1.0-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.2.0-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
clock
:
1.1.0-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
3.0.0-nullsafety.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
fake_async
:
1.2.0-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
6.0.0-nullsafety.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.10-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.8.0-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span
:
1.8.0-nullsafety.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace
:
1.10.0-nullsafety.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stream_channel
:
2.1.0-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.1.0-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
sync_http
:
0.3.0-nullsafety.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.2.0-nullsafety.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test_api
:
0.2.19-nullsafety.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service
:
6.0.1-nullsafety.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
webdriver
:
3.0.0-nullsafety.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM:
6e2e
# PUBSPEC CHECKSUM:
ad01
dev/integration_tests/release_smoke_test/test_adapter/hello_world_test.dart
View file @
00aa1442
...
...
@@ -4,10 +4,10 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:release_smoke_test/main.dart'
as
smoke
;
import
'package:
e2e/e2e
.dart'
;
import
'package:
integration_test/integration_test
.dart'
;
void
main
(
)
{
E2E
WidgetsFlutterBinding
.
ensureInitialized
();
IntegrationTest
WidgetsFlutterBinding
.
ensureInitialized
();
testWidgets
(
'Hello world smoke test'
,
(
WidgetTester
tester
)
async
{
smoke
.
main
();
// builds the app and schedules a frame but doesn't trigger one
...
...
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