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
08d1ec36
Commit
08d1ec36
authored
Jun 19, 2018
by
Greg Spencer
Committed by
Florian Loitsch
Jun 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651 (#18575)
parent
9e7e6e7c
Changes
93
Hide whitespace changes
Inline
Side-by-side
Showing
93 changed files
with
300 additions
and
307 deletions
+300
-307
engine.version
bin/internal/engine.version
+1
-1
pubspec.yaml
dev/automated_tests/pubspec.yaml
+5
-5
pubspec.yaml
dev/benchmarks/complex_layout/pubspec.yaml
+5
-5
pubspec.yaml
dev/benchmarks/microbenchmarks/pubspec.yaml
+5
-5
pubspec.yaml
dev/bots/pubspec.yaml
+5
-5
prepare_package_test.dart
dev/bots/test/prepare_package_test.dart
+3
-3
save_catalog_screenshots.dart
dev/devicelab/lib/tasks/save_catalog_screenshots.dart
+2
-2
pubspec.yaml
dev/devicelab/pubspec.yaml
+5
-5
pubspec.yaml
dev/integration_tests/channels/pubspec.yaml
+3
-3
pubspec.yaml
dev/integration_tests/external_ui/pubspec.yaml
+3
-3
pubspec.yaml
dev/integration_tests/flavors/pubspec.yaml
+3
-3
pubspec.yaml
dev/integration_tests/platform_interaction/pubspec.yaml
+3
-3
pubspec.yaml
dev/integration_tests/ui/pubspec.yaml
+5
-5
pubspec.yaml
dev/manual_tests/pubspec.yaml
+5
-5
mock_image_http.dart
dev/manual_tests/test/mock_image_http.dart
+1
-1
pubspec.yaml
dev/tools/pubspec.yaml
+5
-5
pubspec.yaml
dev/tools/vitool/pubspec.yaml
+5
-5
vitool_test.dart
dev/tools/vitool/test/vitool_test.dart
+1
-1
pubspec.yaml
examples/catalog/pubspec.yaml
+5
-5
pubspec.yaml
examples/flutter_gallery/pubspec.yaml
+6
-6
pubspec.yaml
examples/hello_world/pubspec.yaml
+5
-5
pubspec.yaml
examples/layers/pubspec.yaml
+5
-5
pubspec.yaml
examples/platform_channel/pubspec.yaml
+5
-5
pubspec.yaml
examples/platform_channel_swift/pubspec.yaml
+5
-5
pubspec.yaml
examples/stocks/pubspec.yaml
+5
-5
refresh.dart
packages/flutter/lib/src/cupertino/refresh.dart
+1
-0
diagnostics.dart
packages/flutter/lib/src/foundation/diagnostics.dart
+1
-1
image_provider.dart
packages/flutter/lib/src/painting/image_provider.dart
+1
-1
asset_bundle.dart
packages/flutter/lib/src/services/asset_bundle.dart
+1
-1
implicit_animations.dart
packages/flutter/lib/src/widgets/implicit_animations.dart
+1
-1
navigator.dart
packages/flutter/lib/src/widgets/navigator.dart
+11
-8
pubspec.yaml
packages/flutter/pubspec.yaml
+5
-5
consolidate_response_test.dart
...es/flutter/test/foundation/consolidate_response_test.dart
+1
-1
app_builder_test.dart
packages/flutter/test/material/app_builder_test.dart
+2
-2
app_test.dart
packages/flutter/test/material/app_test.dart
+3
-3
chip_theme_test.dart
packages/flutter/test/material/chip_theme_test.dart
+9
-9
popup_menu_test.dart
packages/flutter/test/material/popup_menu_test.dart
+2
-2
slider_theme_test.dart
packages/flutter/test/material/slider_theme_test.dart
+3
-3
border_rtl_test.dart
packages/flutter/test/painting/border_rtl_test.dart
+1
-1
border_test.dart
packages/flutter/test/painting/border_test.dart
+1
-1
decoration_test.dart
packages/flutter/test/painting/decoration_test.dart
+6
-6
edge_insets_test.dart
packages/flutter/test/painting/edge_insets_test.dart
+1
-1
box_constraints_test.dart
packages/flutter/test/rendering/box_constraints_test.dart
+3
-3
flex_test.dart
packages/flutter/test/rendering/flex_test.dart
+2
-2
platform_channel_test.dart
packages/flutter/test/services/platform_channel_test.dart
+1
-1
animated_switcher_test.dart
packages/flutter/test/widgets/animated_switcher_test.dart
+5
-5
app_navigator_key_test.dart
packages/flutter/test/widgets/app_navigator_key_test.dart
+3
-3
flow_test.dart
packages/flutter/test/widgets/flow_test.dart
+3
-3
image_headers_test.dart
packages/flutter/test/widgets/image_headers_test.dart
+1
-1
layout_builder_and_global_keys_test.dart
...ter/test/widgets/layout_builder_and_global_keys_test.dart
+1
-1
layout_builder_and_parent_data_test.dart
...ter/test/widgets/layout_builder_and_parent_data_test.dart
+1
-1
layout_builder_and_state_test.dart
...s/flutter/test/widgets/layout_builder_and_state_test.dart
+1
-1
layout_builder_mutations_test.dart
...s/flutter/test/widgets/layout_builder_mutations_test.dart
+1
-1
navigator_test.dart
packages/flutter/test/widgets/navigator_test.dart
+2
-2
reparent_state_harder_test.dart
...ages/flutter/test/widgets/reparent_state_harder_test.dart
+1
-1
reparent_state_with_layout_builder_test.dart
...test/widgets/reparent_state_with_layout_builder_test.dart
+1
-1
routes_test.dart
packages/flutter/test/widgets/routes_test.dart
+4
-4
scroll_behavior_test.dart
packages/flutter/test/widgets/scroll_behavior_test.dart
+3
-3
scroll_notification_test.dart
packages/flutter/test/widgets/scroll_notification_test.dart
+4
-4
scroll_view_test.dart
packages/flutter/test/widgets/scroll_view_test.dart
+5
-5
set_state_5_test.dart
packages/flutter/test/widgets/set_state_5_test.dart
+2
-2
single_child_scroll_view_test.dart
...s/flutter/test/widgets/single_child_scroll_view_test.dart
+2
-2
size_changed_layout_notification_test.dart
...r/test/widgets/size_changed_layout_notification_test.dart
+2
-2
slivers_appbar_floating_test.dart
...es/flutter/test/widgets/slivers_appbar_floating_test.dart
+2
-2
slivers_appbar_pinned_test.dart
...ages/flutter/test/widgets/slivers_appbar_pinned_test.dart
+2
-2
slivers_appbar_scrolling_test.dart
...s/flutter/test/widgets/slivers_appbar_scrolling_test.dart
+2
-2
slivers_padding_test.dart
packages/flutter/test/widgets/slivers_padding_test.dart
+9
-9
slivers_protocol_test.dart
packages/flutter/test/widgets/slivers_protocol_test.dart
+2
-2
state_setting_in_scrollables_test.dart
...utter/test/widgets/state_setting_in_scrollables_test.dart
+1
-1
transitions_test.dart
packages/flutter/test/widgets/transitions_test.dart
+3
-3
widget_inspector_test.dart
packages/flutter/test/widgets/widget_inspector_test.dart
+14
-14
pubspec.yaml
packages/flutter_driver/pubspec.yaml
+5
-5
flutter_driver_test.dart
packages/flutter_driver/test/flutter_driver_test.dart
+4
-4
pubspec.yaml
packages/flutter_goldens/pubspec.yaml
+5
-5
pubspec.yaml
packages/flutter_localizations/pubspec.yaml
+5
-5
matchers.dart
packages/flutter_test/lib/src/matchers.dart
+11
-10
pubspec.yaml
packages/flutter_test/pubspec.yaml
+5
-5
flutter_test_config.dart
...t/test/custom_exception_reporter/flutter_test_config.dart
+1
-1
goldens_test.dart
packages/flutter_test/test/goldens_test.dart
+2
-2
widget_tester_test.dart
packages/flutter_test/test/widget_tester_test.dart
+4
-4
build.dart
packages/flutter_tools/lib/src/base/build.dart
+0
-2
devfs.dart
packages/flutter_tools/lib/src/devfs.dart
+1
-1
vmservice.dart
packages/flutter_tools/lib/src/vmservice.dart
+0
-2
pubspec.yaml
packages/flutter_tools/pubspec.yaml
+6
-6
build_test.dart
packages/flutter_tools/test/base/build_test.dart
+0
-8
analyze_once_test.dart
packages/flutter_tools/test/commands/analyze_once_test.dart
+1
-1
flutter_tester_test.dart
...s/flutter_tools/test/integration/flutter_tester_test.dart
+2
-2
cocoapods_test.dart
packages/flutter_tools/test/ios/cocoapods_test.dart
+2
-2
common.dart
packages/flutter_tools/test/src/common.dart
+2
-2
flutter_tester_test.dart
packages/flutter_tools/test/tester/flutter_tester_test.dart
+1
-1
pubspec.yaml
packages/fuchsia_remote_debug_protocol/pubspec.yaml
+5
-5
dart_vm_test.dart
...sia_remote_debug_protocol/test/src/dart/dart_vm_test.dart
+3
-3
ssh_command_runner_test.dart
...ug_protocol/test/src/runners/ssh_command_runner_test.dart
+1
-1
No files found.
bin/internal/engine.version
View file @
08d1ec36
c8eeee432bb362d657186faa00b3de7c468a9062
0c119932c0d6cb30dafd75ec717d1eda76fd7651
dev/automated_tests/pubspec.yaml
View file @
08d1ec36
...
...
@@ -12,7 +12,7 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -25,14 +25,14 @@ dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -48,7 +48,7 @@ dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math
:
2.0.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -60,4 +60,4 @@ dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
2e6d
# PUBSPEC CHECKSUM:
ab16
dev/benchmarks/complex_layout/pubspec.yaml
View file @
08d1ec36
...
...
@@ -14,12 +14,12 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
intl
:
0.15.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span
:
1.4.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace
:
1.9.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -47,7 +47,7 @@ dev_dependencies:
js
:
0.6.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -64,7 +64,7 @@ dev_dependencies:
source_maps
:
0.10.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml
:
2.1.14
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -75,4 +75,4 @@ flutter:
-
packages/flutter_gallery_assets/people/square/ali.png
-
packages/flutter_gallery_assets/places/india_chettinad_silk_maker.png
# PUBSPEC CHECKSUM:
b126
# PUBSPEC CHECKSUM:
05ce
dev/benchmarks/microbenchmarks/pubspec.yaml
View file @
08d1ec36
...
...
@@ -17,7 +17,7 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dart_style
:
1.0.14
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -34,13 +34,13 @@ dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser
:
1.7.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -57,7 +57,7 @@ dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math
:
2.0.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -69,4 +69,4 @@ dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
e159
# PUBSPEC CHECKSUM:
a202
dev/bots/pubspec.yaml
View file @
08d1ec36
...
...
@@ -2,7 +2,7 @@ name: tests_on_bots
description
:
Scripts which run on bots.
dependencies
:
path
:
1.6.
0
path
:
1.6.
1
args
:
1.4.3
process
:
3.0.1
platform
:
2.1.2
...
...
@@ -20,13 +20,13 @@ dependencies:
typed_data
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies
:
test
:
0.12.4
1
test
:
0.12.4
2
mockito
:
3.0.0-alpha+5
analyzer
:
0.31.2-alpha.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -37,7 +37,7 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -61,4 +61,4 @@ dev_dependencies:
web_socket_channel
:
1.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml
:
2.1.14
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM:
7df6
# PUBSPEC CHECKSUM:
ca9f
dev/bots/test/prepare_package_test.dart
View file @
08d1ec36
...
...
@@ -25,7 +25,7 @@ void main() {
expectAsync1
((
List
<
String
>
commandLine
)
async
{
return
processRunner
.
runProcess
(
commandLine
);
})(<
String
>[
'this_executable_better_not_exist_2857632534321'
]),
throwsA
(
const
isInstanceOf
<
ProcessRunnerException
>()));
throwsA
(
const
TypeMatcher
<
ProcessRunnerException
>()));
try
{
await
processRunner
.
runProcess
(<
String
>[
'this_executable_better_not_exist_2857632534321'
]);
}
on
ProcessRunnerException
catch
(
e
)
{
...
...
@@ -62,7 +62,7 @@ void main() {
expectAsync1
((
List
<
String
>
commandLine
)
async
{
return
processRunner
.
runProcess
(
commandLine
);
})(<
String
>[
'echo'
,
'test'
]),
throwsA
(
const
isInstanceOf
<
ProcessRunnerException
>()));
throwsA
(
const
TypeMatcher
<
ProcessRunnerException
>()));
});
});
group
(
'ArchiveCreator for
$platformName
'
,
()
{
...
...
@@ -204,7 +204,7 @@ void main() {
};
processManager
.
fakeResults
=
calls
;
expect
(
expectAsync0
(
creator
.
initializeRepo
),
throwsA
(
const
isInstanceOf
<
ProcessRunnerException
>()));
throwsA
(
const
TypeMatcher
<
ProcessRunnerException
>()));
});
});
...
...
dev/devicelab/lib/tasks/save_catalog_screenshots.dart
View file @
08d1ec36
...
...
@@ -59,7 +59,7 @@ class Upload {
..
add
(
content
);
final
HttpClientResponse
response
=
await
request
.
close
().
timeout
(
timeLimit
);
if
(
response
.
statusCode
==
HttpStatus
.
OK
)
{
if
(
response
.
statusCode
==
HttpStatus
.
ok
)
{
logMessage
(
'Saved
$name
'
);
await
response
.
drain
<
Null
>();
}
else
{
...
...
@@ -67,7 +67,7 @@ class Upload {
logMessage
(
'Request to save "
$name
" (length
${content.length}
) failed with status
${response.statusCode}
, will retry'
);
logMessage
(
await
response
.
transform
(
utf8
.
decoder
).
join
());
}
return
response
.
statusCode
==
HttpStatus
.
OK
;
return
response
.
statusCode
==
HttpStatus
.
ok
;
}
on
TimeoutException
catch
(
_
)
{
logMessage
(
'Request to save "
$name
" (length
${content.length}
) timed out, will retry'
);
return
false
;
...
...
dev/devicelab/pubspec.yaml
View file @
08d1ec36
...
...
@@ -11,7 +11,7 @@ dependencies:
file
:
5.0.1
image
:
2.0.4
meta
:
1.1.5
path
:
1.6.
0
path
:
1.6.
1
platform
:
2.1.2
process
:
3.0.1
stack_trace
:
1.9.2
...
...
@@ -22,10 +22,10 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
intl
:
0.15.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser
:
1.7.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span
:
1.4.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -36,7 +36,7 @@ dependencies:
dev_dependencies
:
# See packages/flutter_test/pubspec.yaml for why we're pinning this version.
test
:
0.12.4
1
test
:
0.12.4
2
analyzer
:
0.31.2-alpha.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -70,4 +70,4 @@ dev_dependencies:
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml
:
2.1.14
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM:
2039
# PUBSPEC CHECKSUM:
dbe1
dev/integration_tests/channels/pubspec.yaml
View file @
08d1ec36
...
...
@@ -11,12 +11,12 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
intl
:
0.15.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span
:
1.4.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace
:
1.9.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -29,4 +29,4 @@ dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
9fa0
# PUBSPEC CHECKSUM:
e2a3
dev/integration_tests/external_ui/pubspec.yaml
View file @
08d1ec36
...
...
@@ -11,12 +11,12 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
intl
:
0.15.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span
:
1.4.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace
:
1.9.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -29,4 +29,4 @@ dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
9fa0
# PUBSPEC CHECKSUM:
e2a3
dev/integration_tests/flavors/pubspec.yaml
View file @
08d1ec36
...
...
@@ -11,12 +11,12 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
intl
:
0.15.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span
:
1.4.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace
:
1.9.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -29,4 +29,4 @@ dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
9fa0
# PUBSPEC CHECKSUM:
e2a3
dev/integration_tests/platform_interaction/pubspec.yaml
View file @
08d1ec36
...
...
@@ -11,12 +11,12 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
intl
:
0.15.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span
:
1.4.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace
:
1.9.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -29,4 +29,4 @@ dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
9fa0
# PUBSPEC CHECKSUM:
e2a3
dev/integration_tests/ui/pubspec.yaml
View file @
08d1ec36
...
...
@@ -14,13 +14,13 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
intl
:
0.15.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser
:
1.7.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span
:
1.4.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -35,7 +35,7 @@ dependencies:
dev_dependencies
:
flutter_test
:
sdk
:
flutter
test
:
0.12.4
1
test
:
0.12.4
2
analyzer
:
0.31.2-alpha.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -73,4 +73,4 @@ dev_dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
69a4
# PUBSPEC CHECKSUM:
d14d
dev/manual_tests/pubspec.yaml
View file @
08d1ec36
...
...
@@ -21,7 +21,7 @@ dev_dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -34,13 +34,13 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -56,7 +56,7 @@ dev_dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -66,4 +66,4 @@ dev_dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
a8eb
# PUBSPEC CHECKSUM:
3094
dev/manual_tests/test/mock_image_http.dart
View file @
08d1ec36
...
...
@@ -15,7 +15,7 @@ MockHttpClient createMockImageHttpClient(SecurityContext _) {
when
(
request
.
headers
).
thenReturn
(
headers
);
when
(
request
.
close
()).
thenAnswer
((
_
)
=>
new
Future
<
HttpClientResponse
>.
value
(
response
));
when
(
response
.
contentLength
).
thenReturn
(
kTransparentImage
.
length
);
when
(
response
.
statusCode
).
thenReturn
(
HttpStatus
.
OK
);
when
(
response
.
statusCode
).
thenReturn
(
HttpStatus
.
ok
);
when
(
response
.
listen
(
typed
(
any
))).
thenAnswer
((
Invocation
invocation
)
{
final
void
Function
(
List
<
int
>)
onData
=
invocation
.
positionalArguments
[
0
];
final
void
Function
()
onDone
=
invocation
.
namedArguments
[
#onDone
];
...
...
dev/tools/pubspec.yaml
View file @
08d1ec36
...
...
@@ -7,14 +7,14 @@ dependencies:
http
:
0.11.3+16
intl
:
0.15.6
meta
:
1.1.5
path
:
1.6.
0
path
:
1.6.
1
process
:
3.0.1
async
:
2.0.7
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
http_parser
:
3.1.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
platform
:
2.1.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -23,7 +23,7 @@ dependencies:
typed_data
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies
:
test
:
0.12.4
1
test
:
0.12.4
2
mockito
:
3.0.0-alpha+5
analyzer
:
0.31.2-alpha.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -38,7 +38,7 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -62,4 +62,4 @@ dev_dependencies:
web_socket_channel
:
1.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml
:
2.1.14
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM: 2
6ca
# PUBSPEC CHECKSUM: 2
473
dev/tools/vitool/pubspec.yaml
View file @
08d1ec36
...
...
@@ -13,8 +13,8 @@ dependencies:
xml
:
3.0.0
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser
:
1.7.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stack_trace
:
1.9.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -27,7 +27,7 @@ dev_dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -60,7 +60,7 @@ dev_dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -68,4 +68,4 @@ dev_dependencies:
web_socket_channel
:
1.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml
:
2.1.14
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM: e
f62
# PUBSPEC CHECKSUM: e
c0b
dev/tools/vitool/test/vitool_test.dart
View file @
08d1ec36
...
...
@@ -16,7 +16,7 @@ void main() {
test
(
'parsePixels'
,
()
{
expect
(
parsePixels
(
'23px'
),
23
);
expect
(
parsePixels
(
'9px'
),
9
);
expect
(()
{
parsePixels
(
'9pt'
);
},
throwsA
(
const
isInstanceOf
<
ArgumentError
>()));
expect
(()
{
parsePixels
(
'9pt'
);
},
throwsA
(
const
TypeMatcher
<
ArgumentError
>()));
});
test
(
'parsePoints'
,
()
{
...
...
examples/catalog/pubspec.yaml
View file @
08d1ec36
...
...
@@ -3,7 +3,7 @@ description: A collection of Flutter sample apps
dependencies
:
flutter
:
sdk
:
flutter
path
:
1.6.
0
path
:
1.6.
1
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -22,7 +22,7 @@ dev_dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -37,7 +37,7 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -58,7 +58,7 @@ dev_dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -68,4 +68,4 @@ dev_dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
13e3
# PUBSPEC CHECKSUM:
038c
examples/flutter_gallery/pubspec.yaml
View file @
08d1ec36
...
...
@@ -9,14 +9,14 @@ dependencies:
string_scanner
:
1.0.2
url_launcher
:
3.0.2
cupertino_icons
:
0.1.2
video_player
:
0.6.
0
video_player
:
0.6.
1
# Also update dev/benchmarks/complex_layout/pubspec.yaml
flutter_gallery_assets
:
0.1.4
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
source_span
:
1.4.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math
:
2.0.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -34,7 +34,7 @@ dev_dependencies:
async
:
2.0.7
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -48,7 +48,7 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -69,7 +69,7 @@ dev_dependencies:
stack_trace
:
1.9.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -197,4 +197,4 @@ flutter:
-
asset
:
packages/flutter_gallery_assets/fonts/private/googlesans/GoogleSansDisplay-Regular.ttf
weight
:
400
# PUBSPEC CHECKSUM:
428f
# PUBSPEC CHECKSUM:
e439
examples/hello_world/pubspec.yaml
View file @
08d1ec36
...
...
@@ -19,7 +19,7 @@ dev_dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -32,13 +32,13 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -54,7 +54,7 @@ dev_dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -64,4 +64,4 @@ dev_dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
2e6d
# PUBSPEC CHECKSUM:
ab16
examples/layers/pubspec.yaml
View file @
08d1ec36
...
...
@@ -18,7 +18,7 @@ dev_dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -31,13 +31,13 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -53,7 +53,7 @@ dev_dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -65,4 +65,4 @@ flutter:
-
services/data.json
uses-material-design
:
true
# PUBSPEC CHECKSUM:
2e6d
# PUBSPEC CHECKSUM:
ab16
examples/platform_channel/pubspec.yaml
View file @
08d1ec36
...
...
@@ -21,7 +21,7 @@ dev_dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -36,13 +36,13 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -58,7 +58,7 @@ dev_dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -68,4 +68,4 @@ dev_dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
13e3
# PUBSPEC CHECKSUM:
038c
examples/platform_channel_swift/pubspec.yaml
View file @
08d1ec36
...
...
@@ -21,7 +21,7 @@ dev_dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -36,13 +36,13 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -58,7 +58,7 @@ dev_dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -68,4 +68,4 @@ dev_dependencies:
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
13e3
# PUBSPEC CHECKSUM:
038c
examples/stocks/pubspec.yaml
View file @
08d1ec36
...
...
@@ -16,7 +16,7 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dart_style
:
1.0.14
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -25,10 +25,10 @@ dependencies:
http_parser
:
3.1.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser
:
1.7.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -67,11 +67,11 @@ dev_dependencies:
source_maps
:
0.10.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
web_socket_channel
:
1.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
flutter
:
uses-material-design
:
true
# PUBSPEC CHECKSUM:
9954
# PUBSPEC CHECKSUM:
50fc
packages/flutter/lib/src/cupertino/refresh.dart
View file @
08d1ec36
...
...
@@ -8,6 +8,7 @@ import 'package:flutter/rendering.dart';
import
'package:flutter/scheduler.dart'
;
import
'package:flutter/services.dart'
;
import
'package:flutter/widgets.dart'
;
import
'activity_indicator.dart'
;
import
'colors.dart'
;
import
'icons.dart'
;
...
...
packages/flutter/lib/src/foundation/diagnostics.dart
View file @
08d1ec36
...
...
@@ -2046,7 +2046,7 @@ String describeIdentity(Object object) => '${object.runtimeType}#${shortHash(obj
/// monday, tuesday, wednesday, thursday, friday, saturday, sunday
/// }
///
/// validateDescribeEnum() {
/// v
oid v
alidateDescribeEnum() {
/// assert(Day.monday.toString() == 'Day.monday');
/// assert(describeEnum(Day.monday) == 'monday');
/// }
...
...
packages/flutter/lib/src/painting/image_provider.dart
View file @
08d1ec36
...
...
@@ -486,7 +486,7 @@ class NetworkImage extends ImageProvider<NetworkImage> {
request
.
headers
.
add
(
name
,
value
);
});
final
HttpClientResponse
response
=
await
request
.
close
();
if
(
response
.
statusCode
!=
HttpStatus
.
OK
)
if
(
response
.
statusCode
!=
HttpStatus
.
ok
)
throw
new
Exception
(
'HTTP request failed, statusCode:
${response?.statusCode}
,
$resolved
'
);
final
Uint8List
bytes
=
await
consolidateHttpClientResponseBytes
(
response
);
...
...
packages/flutter/lib/src/services/asset_bundle.dart
View file @
08d1ec36
...
...
@@ -115,7 +115,7 @@ class NetworkAssetBundle extends AssetBundle {
Future
<
ByteData
>
load
(
String
key
)
async
{
final
HttpClientRequest
request
=
await
_httpClient
.
getUrl
(
_urlFromKey
(
key
));
final
HttpClientResponse
response
=
await
request
.
close
();
if
(
response
.
statusCode
!=
HttpStatus
.
OK
)
if
(
response
.
statusCode
!=
HttpStatus
.
ok
)
throw
new
FlutterError
(
'Unable to load asset:
$key
\n
'
'HTTP status code:
${response.statusCode}
'
...
...
packages/flutter/lib/src/widgets/implicit_animations.dart
View file @
08d1ec36
...
...
@@ -943,7 +943,7 @@ class _AnimatedPositionedDirectionalState extends AnimatedWidgetBaseState<Animat
/// class LogoFadeState extends State<LogoFade> {
/// double opacityLevel = 1.0;
///
/// _changeOpacity() {
///
void
_changeOpacity() {
/// setState(() => opacityLevel = opacityLevel == 0 ? 1.0 : 0.0);
/// }
///
...
...
packages/flutter/lib/src/widgets/navigator.dart
View file @
08d1ec36
...
...
@@ -18,6 +18,7 @@ import 'ticker_provider.dart';
// Examples can assume:
// class MyPage extends Placeholder { MyPage({String title}); }
// class MyHomePage extends Placeholder { }
// class MyNavigationData {}
// NavigatorState navigator;
/// Creates a route for the given route settings.
...
...
@@ -902,7 +903,7 @@ class Navigator extends StatefulWidget {
///
/// ```dart
/// void _openMyPage() {
/// Navigator.push
(context, new MaterialPageRoute
(builder: (BuildContext context) => new MyPage()));
/// Navigator.push
<MyNavigationData>(context, new MaterialPageRoute<MyNavigationData>
(builder: (BuildContext context) => new MyPage()));
/// }
/// ```
@optionalTypeArgs
...
...
@@ -944,7 +945,8 @@ class Navigator extends StatefulWidget {
///
/// ```dart
/// void _completeLogin() {
/// Navigator.pushReplacement(context, new MaterialPageRoute(builder: (BuildContext context) => new MyHomePage()));
/// Navigator.pushReplacement<MyNavigationData, MyNavigationData>(
/// context, new MaterialPageRoute<MyNavigationData>(builder: (BuildContext context) => new MyHomePage()));
/// }
/// ```
@optionalTypeArgs
...
...
@@ -993,9 +995,9 @@ class Navigator extends StatefulWidget {
///
/// ```dart
/// void _finishAccountCreation() {
/// Navigator.pushAndRemoveUntil(
/// Navigator.pushAndRemoveUntil
<MyNavigationData>
(
/// context,
/// new MaterialPageRoute(builder: (BuildContext context) => new MyHomePage()),
/// new MaterialPageRoute
<MyNavigationData>
(builder: (BuildContext context) => new MyHomePage()),
/// ModalRoute.withName('/'),
/// );
/// }
...
...
@@ -1523,7 +1525,7 @@ class NavigatorState extends State<Navigator> with TickerProviderStateMixin {
///
/// ```dart
/// void _openPage() {
/// navigator.push
(new MaterialPageRoute
(builder: (BuildContext context) => new MyPage()));
/// navigator.push
<MyNavigationData>(new MaterialPageRoute<MyNavigationData>
(builder: (BuildContext context) => new MyPage()));
/// }
/// ```
@optionalTypeArgs
...
...
@@ -1559,7 +1561,8 @@ class NavigatorState extends State<Navigator> with TickerProviderStateMixin {
///
/// ```dart
/// void _doOpenPage() {
/// navigator.pushReplacement(new MaterialPageRoute(builder: (BuildContext context) => new MyHomePage()));
/// navigator.pushReplacement<MyNavigationData, MyNavigationData>(
/// new MaterialPageRoute<MyNavigationData>(builder: (BuildContext context) => new MyHomePage()));
/// }
/// ```
@optionalTypeArgs
...
...
@@ -1607,8 +1610,8 @@ class NavigatorState extends State<Navigator> with TickerProviderStateMixin {
///
/// ```dart
/// void _resetAndOpenPage() {
/// navigator.pushAndRemoveUntil(
/// new MaterialPageRoute(builder: (BuildContext context) => new MyHomePage()),
/// navigator.pushAndRemoveUntil
<MyNavigationData>
(
/// new MaterialPageRoute
<MyNavigationData>
(builder: (BuildContext context) => new MyHomePage()),
/// ModalRoute.withName('/'),
/// );
/// }
...
...
packages/flutter/pubspec.yaml
View file @
08d1ec36
...
...
@@ -26,7 +26,7 @@ dev_dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -41,13 +41,13 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
platform
:
2.1.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -65,7 +65,7 @@ dev_dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -75,4 +75,4 @@ dev_dependencies:
environment
:
sdk
:
'
>=1.19.0
<2.0.0'
# PUBSPEC CHECKSUM:
3d07
# PUBSPEC CHECKSUM:
d4af
packages/flutter/test/foundation/consolidate_response_test.dart
View file @
08d1ec36
...
...
@@ -86,7 +86,7 @@ void main() {
when
(
response
.
contentLength
).
thenReturn
(-
1
);
expect
(
consolidateHttpClientResponseBytes
(
response
),
throwsA
(
const
isInstanceOf
<
Exception
>()));
throwsA
(
const
TypeMatcher
<
Exception
>()));
});
});
}
...
...
packages/flutter/test/material/app_builder_test.dart
View file @
08d1ec36
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
hide
TypeMatcher
;
void
main
(
)
{
testWidgets
(
'builder doesn
\'
t get called if app doesn
\'
t change'
,
(
WidgetTester
tester
)
async
{
...
...
@@ -17,7 +17,7 @@ void main() {
log
.
add
(
'build'
);
expect
(
Theme
.
of
(
context
).
primaryColor
,
Colors
.
green
);
expect
(
Directionality
.
of
(
context
),
TextDirection
.
ltr
);
expect
(
child
,
const
isInstanceOf
<
Navigator
>());
expect
(
child
,
const
TypeMatcher
<
Navigator
>());
return
const
Placeholder
();
},
);
...
...
packages/flutter/test/material/app_test.dart
View file @
08d1ec36
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
hide
TypeMatcher
;
class
StateMarker
extends
StatefulWidget
{
const
StateMarker
({
Key
key
,
this
.
child
})
:
super
(
key:
key
);
...
...
@@ -397,7 +397,7 @@ void main() {
color:
const
Color
(
0xFF112233
),
home:
const
Placeholder
(),
));
expect
(
key
.
currentState
,
const
isInstanceOf
<
NavigatorState
>());
expect
(
key
.
currentState
,
const
TypeMatcher
<
NavigatorState
>());
await
tester
.
pumpWidget
(
new
MaterialApp
(
color:
const
Color
(
0xFF112233
),
home:
const
Placeholder
(),
...
...
@@ -408,6 +408,6 @@ void main() {
color:
const
Color
(
0xFF112233
),
home:
const
Placeholder
(),
));
expect
(
key
.
currentState
,
const
isInstanceOf
<
NavigatorState
>());
expect
(
key
.
currentState
,
const
TypeMatcher
<
NavigatorState
>());
});
}
packages/flutter/test/material/chip_theme_test.dart
View file @
08d1ec36
...
...
@@ -4,7 +4,7 @@
import
'dart:ui'
show
window
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
hide
TypeMatcher
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/painting.dart'
;
...
...
@@ -167,7 +167,7 @@ void main() {
expect
(
lightTheme
.
secondarySelectedColor
,
equals
(
customColor1
.
withAlpha
(
0x3d
)));
expect
(
lightTheme
.
labelPadding
,
equals
(
const
EdgeInsets
.
symmetric
(
horizontal:
8.0
)));
expect
(
lightTheme
.
padding
,
equals
(
const
EdgeInsets
.
all
(
4.0
)));
expect
(
lightTheme
.
shape
,
equals
(
const
isInstanceOf
<
StadiumBorder
>()));
expect
(
lightTheme
.
shape
,
equals
(
const
TypeMatcher
<
StadiumBorder
>()));
expect
(
lightTheme
.
labelStyle
.
color
,
equals
(
Colors
.
black
.
withAlpha
(
0xde
)));
expect
(
lightTheme
.
secondaryLabelStyle
.
color
,
equals
(
customColor1
.
withAlpha
(
0xde
)));
expect
(
lightTheme
.
brightness
,
equals
(
Brightness
.
light
));
...
...
@@ -185,7 +185,7 @@ void main() {
expect
(
darkTheme
.
secondarySelectedColor
,
equals
(
customColor1
.
withAlpha
(
0x3d
)));
expect
(
darkTheme
.
labelPadding
,
equals
(
const
EdgeInsets
.
symmetric
(
horizontal:
8.0
)));
expect
(
darkTheme
.
padding
,
equals
(
const
EdgeInsets
.
all
(
4.0
)));
expect
(
darkTheme
.
shape
,
equals
(
const
isInstanceOf
<
StadiumBorder
>()));
expect
(
darkTheme
.
shape
,
equals
(
const
TypeMatcher
<
StadiumBorder
>()));
expect
(
darkTheme
.
labelStyle
.
color
,
equals
(
Colors
.
white
.
withAlpha
(
0xde
)));
expect
(
darkTheme
.
secondaryLabelStyle
.
color
,
equals
(
customColor1
.
withAlpha
(
0xde
)));
expect
(
darkTheme
.
brightness
,
equals
(
Brightness
.
dark
));
...
...
@@ -203,7 +203,7 @@ void main() {
expect
(
customTheme
.
secondarySelectedColor
,
equals
(
customColor2
.
withAlpha
(
0x3d
)));
expect
(
customTheme
.
labelPadding
,
equals
(
const
EdgeInsets
.
symmetric
(
horizontal:
8.0
)));
expect
(
customTheme
.
padding
,
equals
(
const
EdgeInsets
.
all
(
4.0
)));
expect
(
customTheme
.
shape
,
equals
(
const
isInstanceOf
<
StadiumBorder
>()));
expect
(
customTheme
.
shape
,
equals
(
const
TypeMatcher
<
StadiumBorder
>()));
expect
(
customTheme
.
labelStyle
.
color
,
equals
(
customColor1
.
withAlpha
(
0xde
)));
expect
(
customTheme
.
secondaryLabelStyle
.
color
,
equals
(
customColor2
.
withAlpha
(
0xde
)));
expect
(
customTheme
.
brightness
,
equals
(
Brightness
.
light
));
...
...
@@ -229,7 +229,7 @@ void main() {
expect
(
lerp
.
secondarySelectedColor
,
equals
(
middleGrey
.
withAlpha
(
0x3d
)));
expect
(
lerp
.
labelPadding
,
equals
(
const
EdgeInsets
.
all
(
4.0
)));
expect
(
lerp
.
padding
,
equals
(
const
EdgeInsets
.
all
(
3.0
)));
expect
(
lerp
.
shape
,
equals
(
const
isInstanceOf
<
StadiumBorder
>()));
expect
(
lerp
.
shape
,
equals
(
const
TypeMatcher
<
StadiumBorder
>()));
expect
(
lerp
.
labelStyle
.
color
,
equals
(
middleGrey
.
withAlpha
(
0xde
)));
expect
(
lerp
.
secondaryLabelStyle
.
color
,
equals
(
middleGrey
.
withAlpha
(
0xde
)));
expect
(
lerp
.
brightness
,
equals
(
Brightness
.
light
));
...
...
@@ -244,7 +244,7 @@ void main() {
expect
(
lerpANull25
.
secondarySelectedColor
,
equals
(
Colors
.
white
.
withAlpha
(
0x0f
)));
expect
(
lerpANull25
.
labelPadding
,
equals
(
const
EdgeInsets
.
only
(
left:
0.0
,
top:
2.0
,
right:
0.0
,
bottom:
2.0
)));
expect
(
lerpANull25
.
padding
,
equals
(
const
EdgeInsets
.
all
(
0.5
)));
expect
(
lerpANull25
.
shape
,
equals
(
const
isInstanceOf
<
StadiumBorder
>()));
expect
(
lerpANull25
.
shape
,
equals
(
const
TypeMatcher
<
StadiumBorder
>()));
expect
(
lerpANull25
.
labelStyle
.
color
,
equals
(
Colors
.
black
.
withAlpha
(
0x38
)));
expect
(
lerpANull25
.
secondaryLabelStyle
.
color
,
equals
(
Colors
.
white
.
withAlpha
(
0x38
)));
expect
(
lerpANull25
.
brightness
,
equals
(
Brightness
.
light
));
...
...
@@ -257,7 +257,7 @@ void main() {
expect
(
lerpANull75
.
secondarySelectedColor
,
equals
(
Colors
.
white
.
withAlpha
(
0x2e
)));
expect
(
lerpANull75
.
labelPadding
,
equals
(
const
EdgeInsets
.
only
(
left:
0.0
,
top:
6.0
,
right:
0.0
,
bottom:
6.0
)));
expect
(
lerpANull75
.
padding
,
equals
(
const
EdgeInsets
.
all
(
1.5
)));
expect
(
lerpANull75
.
shape
,
equals
(
const
isInstanceOf
<
StadiumBorder
>()));
expect
(
lerpANull75
.
shape
,
equals
(
const
TypeMatcher
<
StadiumBorder
>()));
expect
(
lerpANull75
.
labelStyle
.
color
,
equals
(
Colors
.
black
.
withAlpha
(
0xa7
)));
expect
(
lerpANull75
.
secondaryLabelStyle
.
color
,
equals
(
Colors
.
white
.
withAlpha
(
0xa7
)));
expect
(
lerpANull75
.
brightness
,
equals
(
Brightness
.
light
));
...
...
@@ -270,7 +270,7 @@ void main() {
expect
(
lerpBNull25
.
secondarySelectedColor
,
equals
(
Colors
.
black
.
withAlpha
(
0x2e
)));
expect
(
lerpBNull25
.
labelPadding
,
equals
(
const
EdgeInsets
.
only
(
left:
6.0
,
top:
0.0
,
right:
6.0
,
bottom:
0.0
)));
expect
(
lerpBNull25
.
padding
,
equals
(
const
EdgeInsets
.
all
(
3.0
)));
expect
(
lerpBNull25
.
shape
,
equals
(
const
isInstanceOf
<
StadiumBorder
>()));
expect
(
lerpBNull25
.
shape
,
equals
(
const
TypeMatcher
<
StadiumBorder
>()));
expect
(
lerpBNull25
.
labelStyle
.
color
,
equals
(
Colors
.
white
.
withAlpha
(
0xa7
)));
expect
(
lerpBNull25
.
secondaryLabelStyle
.
color
,
equals
(
Colors
.
black
.
withAlpha
(
0xa7
)));
expect
(
lerpBNull25
.
brightness
,
equals
(
Brightness
.
dark
));
...
...
@@ -283,7 +283,7 @@ void main() {
expect
(
lerpBNull75
.
secondarySelectedColor
,
equals
(
Colors
.
black
.
withAlpha
(
0x0f
)));
expect
(
lerpBNull75
.
labelPadding
,
equals
(
const
EdgeInsets
.
only
(
left:
2.0
,
top:
0.0
,
right:
2.0
,
bottom:
0.0
)));
expect
(
lerpBNull75
.
padding
,
equals
(
const
EdgeInsets
.
all
(
1.0
)));
expect
(
lerpBNull75
.
shape
,
equals
(
const
isInstanceOf
<
StadiumBorder
>()));
expect
(
lerpBNull75
.
shape
,
equals
(
const
TypeMatcher
<
StadiumBorder
>()));
expect
(
lerpBNull75
.
labelStyle
.
color
,
equals
(
Colors
.
white
.
withAlpha
(
0x38
)));
expect
(
lerpBNull75
.
secondaryLabelStyle
.
color
,
equals
(
Colors
.
black
.
withAlpha
(
0x38
)));
expect
(
lerpBNull75
.
brightness
,
equals
(
Brightness
.
light
));
...
...
packages/flutter/test/material/popup_menu_test.dart
View file @
08d1ec36
...
...
@@ -5,7 +5,7 @@
import
'dart:ui'
show
window
,
SemanticsFlag
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
hide
TypeMatcher
;
import
'../widgets/semantics_tester.dart'
;
...
...
@@ -179,7 +179,7 @@ void main() {
icon:
const
Icon
(
Icons
.
view_carousel
),
itemBuilder:
simplePopupMenuItemBuilder
,
);
},
throwsA
(
const
isInstanceOf
<
AssertionError
>()));
},
throwsA
(
const
TypeMatcher
<
AssertionError
>()));
});
testWidgets
(
'PopupMenuButton creates IconButton when given an icon'
,
(
WidgetTester
tester
)
async
{
...
...
packages/flutter/test/material/slider_theme_test.dart
View file @
08d1ec36
...
...
@@ -4,7 +4,7 @@
import
'dart:ui'
show
window
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
hide
TypeMatcher
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/painting.dart'
;
...
...
@@ -125,8 +125,8 @@ void main() {
expect
(
sliderTheme
.
disabledThumbColor
,
equals
(
customColor2
.
withAlpha
(
0x52
)));
expect
(
sliderTheme
.
overlayColor
,
equals
(
customColor1
.
withAlpha
(
0x29
)));
expect
(
sliderTheme
.
valueIndicatorColor
,
equals
(
customColor1
.
withAlpha
(
0xff
)));
expect
(
sliderTheme
.
thumbShape
,
equals
(
const
isInstanceOf
<
RoundSliderThumbShape
>()));
expect
(
sliderTheme
.
valueIndicatorShape
,
equals
(
const
isInstanceOf
<
PaddleSliderValueIndicatorShape
>()));
expect
(
sliderTheme
.
thumbShape
,
equals
(
const
TypeMatcher
<
RoundSliderThumbShape
>()));
expect
(
sliderTheme
.
valueIndicatorShape
,
equals
(
const
TypeMatcher
<
PaddleSliderValueIndicatorShape
>()));
expect
(
sliderTheme
.
showValueIndicator
,
equals
(
ShowValueIndicator
.
onlyForDiscrete
));
expect
(
sliderTheme
.
valueIndicatorTextStyle
.
color
,
equals
(
customColor4
));
});
...
...
packages/flutter/test/painting/border_rtl_test.dart
View file @
08d1ec36
...
...
@@ -467,7 +467,7 @@ void main() {
);
expect
(
const
BorderDirectional
(
start:
magenta3
)
+
const
BorderDirectional
(
start:
yellow2
),
isNot
(
const
isInstanceOf
<
BorderDirectional
>()),
// see shape_border_test.dart for better tests of this case
isNot
(
const
TypeMatcher
<
BorderDirectional
>()),
// see shape_border_test.dart for better tests of this case
);
const
BorderDirectional
b3
=
const
BorderDirectional
(
top:
magenta3
);
const
BorderDirectional
b6
=
const
BorderDirectional
(
top:
magenta6
);
...
...
packages/flutter/test/painting/border_test.dart
View file @
08d1ec36
...
...
@@ -75,7 +75,7 @@ void main() {
);
expect
(
const
Border
(
left:
magenta3
)
+
const
Border
(
left:
yellow2
),
isNot
(
const
isInstanceOf
<
Border
>()),
// see shape_border_test.dart for better tests of this case
isNot
(
const
TypeMatcher
<
Border
>()),
// see shape_border_test.dart for better tests of this case
);
const
Border
b3
=
const
Border
(
top:
magenta3
);
const
Border
b6
=
const
Border
(
top:
magenta6
);
...
...
packages/flutter/test/painting/decoration_test.dart
View file @
08d1ec36
...
...
@@ -227,10 +227,10 @@ void main() {
final
Invocation
call
=
canvas
.
invocations
.
singleWhere
((
Invocation
call
)
=>
call
.
memberName
==
#drawImageNine
);
expect
(
call
.
isMethod
,
isTrue
);
expect
(
call
.
positionalArguments
,
hasLength
(
4
));
expect
(
call
.
positionalArguments
[
0
],
const
isInstanceOf
<
TestImage
>());
expect
(
call
.
positionalArguments
[
0
],
const
TypeMatcher
<
TestImage
>());
expect
(
call
.
positionalArguments
[
1
],
new
Rect
.
fromLTRB
(
10.0
,
20.0
,
40.0
,
60.0
));
expect
(
call
.
positionalArguments
[
2
],
new
Rect
.
fromLTRB
(
0.0
,
0.0
,
100.0
,
100.0
));
expect
(
call
.
positionalArguments
[
3
],
const
isInstanceOf
<
Paint
>());
expect
(
call
.
positionalArguments
[
3
],
const
TypeMatcher
<
Paint
>());
expect
(
call
.
positionalArguments
[
3
].
isAntiAlias
,
false
);
expect
(
call
.
positionalArguments
[
3
].
colorFilter
,
colorFilter
);
expect
(
call
.
positionalArguments
[
3
].
filterQuality
,
FilterQuality
.
low
);
...
...
@@ -342,9 +342,9 @@ void main() {
});
test
(
'Decoration.lerp with unrelated decorations'
,
()
{
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.0
),
const
isInstanceOf
<
FlutterLogoDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.25
),
const
isInstanceOf
<
FlutterLogoDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.75
),
const
isInstanceOf
<
BoxDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
1.0
),
const
isInstanceOf
<
BoxDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.0
),
const
TypeMatcher
<
FlutterLogoDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.25
),
const
TypeMatcher
<
FlutterLogoDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
0.75
),
const
TypeMatcher
<
BoxDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
expect
(
Decoration
.
lerp
(
const
FlutterLogoDecoration
(),
const
BoxDecoration
(),
1.0
),
const
TypeMatcher
<
BoxDecoration
>());
// ignore: CONST_EVAL_THROWS_EXCEPTION
});
}
packages/flutter/test/painting/edge_insets_test.dart
View file @
08d1ec36
...
...
@@ -175,7 +175,7 @@ void main() {
test
(
'EdgeInsetsGeometry operators'
,
()
{
final
EdgeInsetsGeometry
a
=
const
EdgeInsetsDirectional
.
fromSTEB
(
1.0
,
2.0
,
3.0
,
5.0
).
add
(
EdgeInsets
.
zero
);
expect
(
a
,
isNot
(
const
isInstanceOf
<
EdgeInsetsDirectional
>()));
expect
(
a
,
isNot
(
const
TypeMatcher
<
EdgeInsetsDirectional
>()));
expect
(
a
*
2.0
,
const
EdgeInsetsDirectional
.
fromSTEB
(
2.0
,
4.0
,
6.0
,
10.0
));
expect
(
a
/
2.0
,
const
EdgeInsetsDirectional
.
fromSTEB
(
0.5
,
1.0
,
1.5
,
2.5
));
expect
(
a
%
2.0
,
const
EdgeInsetsDirectional
.
fromSTEB
(
1.0
,
0.0
,
1.0
,
1.0
));
...
...
packages/flutter/test/rendering/box_constraints_test.dart
View file @
08d1ec36
...
...
@@ -153,9 +153,9 @@ void main() {
minHeight:
20.0
,
maxHeight:
30.0
,
);
expect
(()
=>
BoxConstraints
.
lerp
(
constraints1
,
constraints2
,
0.5
),
throwsA
(
const
isInstanceOf
<
AssertionError
>()));
expect
(()
=>
BoxConstraints
.
lerp
(
constraints1
,
constraints3
,
0.5
),
throwsA
(
const
isInstanceOf
<
AssertionError
>()));
expect
(()
=>
BoxConstraints
.
lerp
(
constraints2
,
constraints3
,
0.5
),
throwsA
(
const
isInstanceOf
<
AssertionError
>()));
expect
(()
=>
BoxConstraints
.
lerp
(
constraints1
,
constraints2
,
0.5
),
throwsA
(
const
TypeMatcher
<
AssertionError
>()));
expect
(()
=>
BoxConstraints
.
lerp
(
constraints1
,
constraints3
,
0.5
),
throwsA
(
const
TypeMatcher
<
AssertionError
>()));
expect
(()
=>
BoxConstraints
.
lerp
(
constraints2
,
constraints3
,
0.5
),
throwsA
(
const
TypeMatcher
<
AssertionError
>()));
});
test
(
'BoxConstraints normalize'
,
()
{
...
...
packages/flutter/test/rendering/flex_test.dart
View file @
08d1ec36
...
...
@@ -358,7 +358,7 @@ void main() {
expect
(
exceptions
,
isEmpty
);
layout
(
parent
);
expect
(
exceptions
,
isNotEmpty
);
expect
(
exceptions
.
first
,
const
isInstanceOf
<
FlutterError
>());
expect
(
exceptions
.
first
,
const
TypeMatcher
<
FlutterError
>());
});
test
(
'MainAxisSize.min inside unconstrained'
,
()
{
...
...
@@ -388,7 +388,7 @@ void main() {
expect
(
exceptions
,
isEmpty
);
layout
(
parent
);
expect
(
exceptions
,
isNotEmpty
);
expect
(
exceptions
.
first
,
const
isInstanceOf
<
FlutterError
>());
expect
(
exceptions
.
first
,
const
TypeMatcher
<
FlutterError
>());
});
test
(
'MainAxisSize.min inside tightly constrained'
,
()
{
...
...
packages/flutter/test/services/platform_channel_test.dart
View file @
08d1ec36
...
...
@@ -215,7 +215,7 @@ void main() {
await
new
Future
<
Null
>.
delayed
(
Duration
.
zero
);
expect
(
events
,
isEmpty
);
expect
(
errors
,
hasLength
(
1
));
expect
(
errors
[
0
],
const
isInstanceOf
<
PlatformException
>());
expect
(
errors
[
0
],
const
TypeMatcher
<
PlatformException
>());
final
PlatformException
error
=
errors
[
0
];
expect
(
error
.
code
,
'404'
);
expect
(
error
.
message
,
'Not Found.'
);
...
...
packages/flutter/test/widgets/animated_switcher_test.dart
View file @
08d1ec36
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
void
main
(
)
{
...
...
@@ -221,7 +221,7 @@ void main() {
expect
(
find
.
byType
(
Column
),
findsOneWidget
);
for
(
Widget
child
in
foundChildren
)
{
expect
(
child
,
const
isInstanceOf
<
KeyedSubtree
>());
expect
(
child
,
const
TypeMatcher
<
KeyedSubtree
>());
}
await
tester
.
pumpWidget
(
...
...
@@ -239,7 +239,7 @@ void main() {
await
tester
.
pump
(
const
Duration
(
milliseconds:
50
));
for
(
Widget
child
in
foundChildren
)
{
expect
(
child
,
const
isInstanceOf
<
KeyedSubtree
>());
expect
(
child
,
const
TypeMatcher
<
KeyedSubtree
>());
expect
(
find
.
descendant
(
of:
find
.
byWidget
(
child
),
matching:
find
.
byType
(
SizeTransition
)),
findsOneWidget
,
...
...
@@ -389,7 +389,7 @@ void main() {
expect
(
foundChildren
.
length
,
equals
(
3
));
for
(
Widget
child
in
foundChildren
)
{
expect
(
child
,
const
isInstanceOf
<
KeyedSubtree
>());
expect
(
child
,
const
TypeMatcher
<
KeyedSubtree
>());
expect
(
find
.
descendant
(
of:
find
.
byWidget
(
child
),
matching:
find
.
byType
(
FadeTransition
)),
findsOneWidget
,
...
...
@@ -419,7 +419,7 @@ void main() {
expect
(
foundChildren
.
length
,
equals
(
3
));
for
(
Widget
child
in
foundChildren
)
{
expect
(
child
,
const
isInstanceOf
<
KeyedSubtree
>());
expect
(
child
,
const
TypeMatcher
<
KeyedSubtree
>());
expect
(
find
.
descendant
(
of:
find
.
byWidget
(
child
),
matching:
find
.
byType
(
ScaleTransition
)),
findsOneWidget
,
...
...
packages/flutter/test/widgets/app_navigator_key_test.dart
View file @
08d1ec36
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
final
RouteFactory
generateRoute
=
(
RouteSettings
settings
)
=>
new
PageRouteBuilder
<
void
>(
settings:
settings
,
...
...
@@ -20,7 +20,7 @@ void main() {
color:
const
Color
(
0xFF112233
),
onGenerateRoute:
generateRoute
,
));
expect
(
key
.
currentState
,
const
isInstanceOf
<
NavigatorState
>());
expect
(
key
.
currentState
,
const
TypeMatcher
<
NavigatorState
>());
await
tester
.
pumpWidget
(
new
WidgetsApp
(
color:
const
Color
(
0xFF112233
),
onGenerateRoute:
generateRoute
,
...
...
@@ -31,6 +31,6 @@ void main() {
color:
const
Color
(
0xFF112233
),
onGenerateRoute:
generateRoute
,
));
expect
(
key
.
currentState
,
const
isInstanceOf
<
NavigatorState
>());
expect
(
key
.
currentState
,
const
TypeMatcher
<
NavigatorState
>());
});
}
packages/flutter/test/widgets/flow_test.dart
View file @
08d1ec36
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
import
'package:flutter/rendering.dart'
;
class
TestFlowDelegate
extends
FlowDelegate
{
...
...
@@ -113,9 +113,9 @@ void main() {
ContainerLayer
layer
=
RendererBinding
.
instance
.
renderView
.
debugLayer
;
while
(
layer
!=
null
&&
!(
layer
is
OpacityLayer
))
layer
=
layer
.
firstChild
;
expect
(
layer
,
const
isInstanceOf
<
OpacityLayer
>());
expect
(
layer
,
const
TypeMatcher
<
OpacityLayer
>());
final
OpacityLayer
opacityLayer
=
layer
;
expect
(
opacityLayer
.
alpha
,
equals
(
opacity
*
255
));
expect
(
layer
.
firstChild
,
const
isInstanceOf
<
TransformLayer
>());
expect
(
layer
.
firstChild
,
const
TypeMatcher
<
TransformLayer
>());
});
}
packages/flutter/test/widgets/image_headers_test.dart
View file @
08d1ec36
...
...
@@ -31,7 +31,7 @@ void main() {
when
(
request
.
headers
).
thenReturn
(
headers
);
when
(
request
.
close
()).
thenAnswer
((
_
)
=>
new
Future
<
HttpClientResponse
>.
value
(
response
));
when
(
response
.
contentLength
).
thenReturn
(
kTransparentImage
.
length
);
when
(
response
.
statusCode
).
thenReturn
(
HttpStatus
.
OK
);
when
(
response
.
statusCode
).
thenReturn
(
HttpStatus
.
ok
);
when
(
response
.
listen
(
typed
(
any
))).
thenAnswer
((
Invocation
invocation
)
{
final
void
Function
(
List
<
int
>)
onData
=
invocation
.
positionalArguments
[
0
];
final
void
Function
()
onDone
=
invocation
.
namedArguments
[
#onDone
];
...
...
packages/flutter/test/widgets/layout_builder_and_global_keys_test.dart
View file @
08d1ec36
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
class
Wrapper
extends
StatelessWidget
{
...
...
packages/flutter/test/widgets/layout_builder_and_parent_data_test.dart
View file @
08d1ec36
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
class
SizeChanger
extends
StatefulWidget
{
...
...
packages/flutter/test/widgets/layout_builder_and_state_test.dart
View file @
08d1ec36
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'test_widgets.dart'
;
...
...
packages/flutter/test/widgets/layout_builder_mutations_test.dart
View file @
08d1ec36
...
...
@@ -5,7 +5,7 @@
import
'package:flutter/src/widgets/basic.dart'
;
import
'package:flutter/src/widgets/framework.dart'
;
import
'package:flutter/src/widgets/layout_builder.dart'
;
import
'package:flutter_test/flutter_test.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
class
Wrapper
extends
StatelessWidget
{
const
Wrapper
({
...
...
packages/flutter/test/widgets/navigator_test.dart
View file @
08d1ec36
...
...
@@ -5,7 +5,7 @@
import
'dart:ui'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
hide
TypeMatcher
;
import
'semantics_tester.dart'
;
...
...
@@ -186,7 +186,7 @@ void main() {
);
await
tester
.
pumpWidget
(
widget
);
await
tester
.
tap
(
find
.
byKey
(
targetKey
));
expect
(
exception
,
const
isInstanceOf
<
FlutterError
>());
expect
(
exception
,
const
TypeMatcher
<
FlutterError
>());
expect
(
'
$exception
'
,
startsWith
(
'Navigator operation requested with a context'
));
});
...
...
packages/flutter/test/widgets/reparent_state_harder_test.dart
View file @
08d1ec36
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
// This is a regression test for https://github.com/flutter/flutter/issues/5588.
...
...
packages/flutter/test/widgets/reparent_state_with_layout_builder_test.dart
View file @
08d1ec36
...
...
@@ -5,7 +5,7 @@
import
'dart:ui'
as
ui
show
window
;
import
'package:flutter/material.dart'
;
import
'package:flutter_test/flutter_test.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
// This is a regression test for https://github.com/flutter/flutter/issues/5840.
...
...
packages/flutter/test/widgets/routes_test.dart
View file @
08d1ec36
...
...
@@ -6,7 +6,7 @@ import 'dart:collection';
import
'package:mockito/mockito.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
final
List
<
String
>
results
=
<
String
>[];
...
...
@@ -46,7 +46,7 @@ class TestRoute extends LocalHistoryRoute<String> {
@override
void
didReplace
(
Route
<
dynamic
>
oldRoute
)
{
expect
(
oldRoute
,
const
isInstanceOf
<
TestRoute
>());
expect
(
oldRoute
,
const
TypeMatcher
<
TestRoute
>());
final
TestRoute
castRoute
=
oldRoute
;
log
(
'didReplace
${castRoute.name}
'
);
super
.
didReplace
(
castRoute
);
...
...
@@ -63,7 +63,7 @@ class TestRoute extends LocalHistoryRoute<String> {
@override
void
didPopNext
(
Route
<
dynamic
>
nextRoute
)
{
expect
(
nextRoute
,
const
isInstanceOf
<
TestRoute
>());
expect
(
nextRoute
,
const
TypeMatcher
<
TestRoute
>());
final
TestRoute
castRoute
=
nextRoute
;
log
(
'didPopNext
${castRoute.name}
'
);
super
.
didPopNext
(
castRoute
);
...
...
@@ -71,7 +71,7 @@ class TestRoute extends LocalHistoryRoute<String> {
@override
void
didChangeNext
(
Route
<
dynamic
>
nextRoute
)
{
expect
(
nextRoute
,
anyOf
(
isNull
,
const
isInstanceOf
<
TestRoute
>()));
expect
(
nextRoute
,
anyOf
(
isNull
,
const
TypeMatcher
<
TestRoute
>()));
final
TestRoute
castRoute
=
nextRoute
;
log
(
'didChangeNext
${castRoute?.name}
'
);
super
.
didChangeNext
(
castRoute
);
...
...
packages/flutter/test/widgets/scroll_behavior_test.dart
View file @
08d1ec36
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
class
TestScrollBehavior
extends
ScrollBehavior
{
...
...
@@ -47,7 +47,7 @@ void main() {
expect
(
behavior
,
isNotNull
);
expect
(
behavior
.
flag
,
isTrue
);
expect
(
position
.
physics
,
const
isInstanceOf
<
ClampingScrollPhysics
>());
expect
(
position
.
physics
,
const
TypeMatcher
<
ClampingScrollPhysics
>());
ScrollMetrics
metrics
=
position
.
copyWith
();
expect
(
metrics
.
extentAfter
,
equals
(
400.0
));
expect
(
metrics
.
viewportDimension
,
equals
(
600.0
));
...
...
@@ -62,7 +62,7 @@ void main() {
expect
(
behavior
,
isNotNull
);
expect
(
behavior
.
flag
,
isFalse
);
expect
(
position
.
physics
,
const
isInstanceOf
<
BouncingScrollPhysics
>());
expect
(
position
.
physics
,
const
TypeMatcher
<
BouncingScrollPhysics
>());
// Regression test for https://github.com/flutter/flutter/issues/5856
metrics
=
position
.
copyWith
();
expect
(
metrics
.
extentAfter
,
equals
(
400.0
));
...
...
packages/flutter/test/widgets/scroll_notification_test.dart
View file @
08d1ec36
...
...
@@ -4,7 +4,7 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
void
main
(
)
{
testWidgets
(
'Scroll notification basics'
,
(
WidgetTester
tester
)
async
{
...
...
@@ -23,7 +23,7 @@ void main() {
final
TestGesture
gesture
=
await
tester
.
startGesture
(
const
Offset
(
100.0
,
100.0
));
await
tester
.
pump
(
const
Duration
(
seconds:
1
));
expect
(
notification
,
const
isInstanceOf
<
ScrollStartNotification
>());
expect
(
notification
,
const
TypeMatcher
<
ScrollStartNotification
>());
expect
(
notification
.
depth
,
equals
(
0
));
final
ScrollStartNotification
start
=
notification
;
expect
(
start
.
dragDetails
,
isNotNull
);
...
...
@@ -31,7 +31,7 @@ void main() {
await
gesture
.
moveBy
(
const
Offset
(-
10.0
,
-
10.0
));
await
tester
.
pump
(
const
Duration
(
seconds:
1
));
expect
(
notification
,
const
isInstanceOf
<
ScrollUpdateNotification
>());
expect
(
notification
,
const
TypeMatcher
<
ScrollUpdateNotification
>());
expect
(
notification
.
depth
,
equals
(
0
));
final
ScrollUpdateNotification
update
=
notification
;
expect
(
update
.
dragDetails
,
isNotNull
);
...
...
@@ -40,7 +40,7 @@ void main() {
await
gesture
.
up
();
await
tester
.
pump
(
const
Duration
(
seconds:
1
));
expect
(
notification
,
const
isInstanceOf
<
ScrollEndNotification
>());
expect
(
notification
,
const
TypeMatcher
<
ScrollEndNotification
>());
expect
(
notification
.
depth
,
equals
(
0
));
final
ScrollEndNotification
end
=
notification
;
expect
(
end
.
dragDetails
,
isNotNull
);
...
...
packages/flutter/test/widgets/scroll_view_test.dart
View file @
08d1ec36
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
import
'states.dart'
;
...
...
@@ -319,22 +319,22 @@ void main() {
testWidgets
(
'Primary ListViews are always scrollable'
,
(
WidgetTester
tester
)
async
{
final
ListView
view
=
new
ListView
(
primary:
true
);
expect
(
view
.
physics
,
const
isInstanceOf
<
AlwaysScrollableScrollPhysics
>());
expect
(
view
.
physics
,
const
TypeMatcher
<
AlwaysScrollableScrollPhysics
>());
});
testWidgets
(
'Non-primary ListViews are not always scrollable'
,
(
WidgetTester
tester
)
async
{
final
ListView
view
=
new
ListView
(
primary:
false
);
expect
(
view
.
physics
,
isNot
(
const
isInstanceOf
<
AlwaysScrollableScrollPhysics
>()));
expect
(
view
.
physics
,
isNot
(
const
TypeMatcher
<
AlwaysScrollableScrollPhysics
>()));
});
testWidgets
(
'Defaulting-to-primary ListViews are always scrollable'
,
(
WidgetTester
tester
)
async
{
final
ListView
view
=
new
ListView
(
scrollDirection:
Axis
.
vertical
);
expect
(
view
.
physics
,
const
isInstanceOf
<
AlwaysScrollableScrollPhysics
>());
expect
(
view
.
physics
,
const
TypeMatcher
<
AlwaysScrollableScrollPhysics
>());
});
testWidgets
(
'Defaulting-to-not-primary ListViews are not always scrollable'
,
(
WidgetTester
tester
)
async
{
final
ListView
view
=
new
ListView
(
scrollDirection:
Axis
.
horizontal
);
expect
(
view
.
physics
,
isNot
(
const
isInstanceOf
<
AlwaysScrollableScrollPhysics
>()));
expect
(
view
.
physics
,
isNot
(
const
TypeMatcher
<
AlwaysScrollableScrollPhysics
>()));
});
testWidgets
(
'primary:true leads to scrolling'
,
(
WidgetTester
tester
)
async
{
...
...
packages/flutter/test/widgets/set_state_5_test.dart
View file @
08d1ec36
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
class
BadWidget
extends
StatefulWidget
{
@override
...
...
@@ -29,6 +29,6 @@ class BadWidgetState extends State<BadWidget> {
void
main
(
)
{
testWidgets
(
'setState() catches being used inside a constructor'
,
(
WidgetTester
tester
)
async
{
await
tester
.
pumpWidget
(
new
BadWidget
());
expect
(
tester
.
takeException
(),
const
isInstanceOf
<
FlutterError
>());
expect
(
tester
.
takeException
(),
const
TypeMatcher
<
FlutterError
>());
});
}
packages/flutter/test/widgets/single_child_scroll_view_test.dart
View file @
08d1ec36
...
...
@@ -6,7 +6,7 @@ import 'dart:ui';
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
import
'semantics_tester.dart'
;
...
...
@@ -72,7 +72,7 @@ void main() {
));
final
ScrollableState
scrollable
=
tester
.
state
(
find
.
byType
(
Scrollable
));
expect
(
scrollable
.
position
,
const
isInstanceOf
<
TestScrollPosition
>());
expect
(
scrollable
.
position
,
const
TypeMatcher
<
TestScrollPosition
>());
});
testWidgets
(
'Sets PrimaryScrollController when primary'
,
(
WidgetTester
tester
)
async
{
...
...
packages/flutter/test/widgets/size_changed_layout_notification_test.dart
View file @
08d1ec36
...
...
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
class
NotifyMaterial
extends
StatelessWidget
{
...
...
@@ -37,7 +37,7 @@ void main() {
new
Center
(
child:
new
NotificationListener
<
LayoutChangedNotification
>(
onNotification:
(
LayoutChangedNotification
notification
)
{
expect
(
notification
,
const
isInstanceOf
<
SizeChangedLayoutNotification
>());
expect
(
notification
,
const
TypeMatcher
<
SizeChangedLayoutNotification
>());
notified
=
true
;
return
true
;
},
...
...
packages/flutter/test/widgets/slivers_appbar_floating_test.dart
View file @
08d1ec36
...
...
@@ -4,11 +4,11 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
void
verifyPaintPosition
(
GlobalKey
key
,
Offset
ideal
,
bool
visible
)
{
final
RenderSliver
target
=
key
.
currentContext
.
findRenderObject
();
expect
(
target
.
parent
,
const
isInstanceOf
<
RenderViewport
>());
expect
(
target
.
parent
,
const
TypeMatcher
<
RenderViewport
>());
final
SliverPhysicalParentData
parentData
=
target
.
parentData
;
final
Offset
actual
=
parentData
.
paintOffset
;
expect
(
actual
,
ideal
);
...
...
packages/flutter/test/widgets/slivers_appbar_pinned_test.dart
View file @
08d1ec36
...
...
@@ -4,11 +4,11 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
void
verifyPaintPosition
(
GlobalKey
key
,
Offset
ideal
,
bool
visible
)
{
final
RenderSliver
target
=
key
.
currentContext
.
findRenderObject
();
expect
(
target
.
parent
,
const
isInstanceOf
<
RenderViewport
>());
expect
(
target
.
parent
,
const
TypeMatcher
<
RenderViewport
>());
final
SliverPhysicalParentData
parentData
=
target
.
parentData
;
final
Offset
actual
=
parentData
.
paintOffset
;
expect
(
actual
,
ideal
);
...
...
packages/flutter/test/widgets/slivers_appbar_scrolling_test.dart
View file @
08d1ec36
...
...
@@ -4,11 +4,11 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
void
verifyPaintPosition
(
GlobalKey
key
,
Offset
ideal
)
{
final
RenderObject
target
=
key
.
currentContext
.
findRenderObject
();
expect
(
target
.
parent
,
const
isInstanceOf
<
RenderViewport
>());
expect
(
target
.
parent
,
const
TypeMatcher
<
RenderViewport
>());
final
SliverPhysicalParentData
parentData
=
target
.
parentData
;
final
Offset
actual
=
parentData
.
paintOffset
;
expect
(
actual
,
ideal
);
...
...
packages/flutter/test/widgets/slivers_padding_test.dart
View file @
08d1ec36
...
...
@@ -4,7 +4,7 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
Future
<
Null
>
test
(
WidgetTester
tester
,
double
offset
,
EdgeInsetsGeometry
padding
,
AxisDirection
axisDirection
,
TextDirection
textDirection
)
{
return
tester
.
pumpWidget
(
...
...
@@ -168,11 +168,11 @@ void main() {
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
10.0
,
10.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
firstRenderObject
<
RenderObject
>(
find
.
byType
(
Text
)));
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
10.0
,
60.0
));
expect
(
result
.
path
.
first
.
target
,
const
isInstanceOf
<
RenderView
>());
expect
(
result
.
path
.
first
.
target
,
const
TypeMatcher
<
RenderView
>());
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
100.0
,
100.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
renderObjectList
<
RenderObject
>(
find
.
byType
(
Text
)).
skip
(
1
).
first
);
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
100.0
,
490.0
));
expect
(
result
.
path
.
first
.
target
,
const
isInstanceOf
<
RenderView
>());
expect
(
result
.
path
.
first
.
target
,
const
TypeMatcher
<
RenderView
>());
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
10.0
,
520.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
renderObjectList
<
RenderObject
>(
find
.
byType
(
Text
)).
last
);
});
...
...
@@ -190,11 +190,11 @@ void main() {
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
10.0
,
600.0
-
10.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
firstRenderObject
<
RenderObject
>(
find
.
byType
(
Text
)));
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
10.0
,
600.0
-
60.0
));
expect
(
result
.
path
.
first
.
target
,
const
isInstanceOf
<
RenderView
>());
expect
(
result
.
path
.
first
.
target
,
const
TypeMatcher
<
RenderView
>());
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
100.0
,
600.0
-
100.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
renderObjectList
<
RenderObject
>(
find
.
byType
(
Text
)).
skip
(
1
).
first
);
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
100.0
,
600.0
-
490.0
));
expect
(
result
.
path
.
first
.
target
,
const
isInstanceOf
<
RenderView
>());
expect
(
result
.
path
.
first
.
target
,
const
TypeMatcher
<
RenderView
>());
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
10.0
,
600.0
-
520.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
renderObjectList
<
RenderObject
>(
find
.
byType
(
Text
)).
last
);
});
...
...
@@ -212,11 +212,11 @@ void main() {
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
800.0
-
10.0
,
10.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
firstRenderObject
<
RenderObject
>(
find
.
byType
(
Text
)));
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
800.0
-
60.0
,
10.0
));
expect
(
result
.
path
.
first
.
target
,
const
isInstanceOf
<
RenderView
>());
expect
(
result
.
path
.
first
.
target
,
const
TypeMatcher
<
RenderView
>());
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
800.0
-
100.0
,
100.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
renderObjectList
<
RenderObject
>(
find
.
byType
(
Text
)).
skip
(
1
).
first
);
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
800.0
-
490.0
,
100.0
));
expect
(
result
.
path
.
first
.
target
,
const
isInstanceOf
<
RenderView
>());
expect
(
result
.
path
.
first
.
target
,
const
TypeMatcher
<
RenderView
>());
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
800.0
-
520.0
,
10.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
renderObjectList
<
RenderObject
>(
find
.
byType
(
Text
)).
last
);
});
...
...
@@ -234,11 +234,11 @@ void main() {
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
10.0
,
10.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
firstRenderObject
<
RenderObject
>(
find
.
byType
(
Text
)));
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
60.0
,
10.0
));
expect
(
result
.
path
.
first
.
target
,
const
isInstanceOf
<
RenderView
>());
expect
(
result
.
path
.
first
.
target
,
const
TypeMatcher
<
RenderView
>());
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
100.0
,
100.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
renderObjectList
<
RenderObject
>(
find
.
byType
(
Text
)).
skip
(
1
).
first
);
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
490.0
,
100.0
));
expect
(
result
.
path
.
first
.
target
,
const
isInstanceOf
<
RenderView
>());
expect
(
result
.
path
.
first
.
target
,
const
TypeMatcher
<
RenderView
>());
result
=
tester
.
hitTestOnBinding
(
const
Offset
(
520.0
,
10.0
));
expect
(
result
.
path
.
first
.
target
,
tester
.
renderObjectList
<
RenderObject
>(
find
.
byType
(
Text
)).
last
);
});
...
...
packages/flutter/test/widgets/slivers_protocol_test.dart
View file @
08d1ec36
...
...
@@ -6,11 +6,11 @@ import 'dart:math' as math;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
void
verifyPaintPosition
(
GlobalKey
key
,
Offset
ideal
)
{
final
RenderObject
target
=
key
.
currentContext
.
findRenderObject
();
expect
(
target
.
parent
,
const
isInstanceOf
<
RenderViewport
>());
expect
(
target
.
parent
,
const
TypeMatcher
<
RenderViewport
>());
final
SliverPhysicalParentData
parentData
=
target
.
parentData
;
final
Offset
actual
=
parentData
.
paintOffset
;
expect
(
actual
,
ideal
);
...
...
packages/flutter/test/widgets/state_setting_in_scrollables_test.dart
View file @
08d1ec36
...
...
@@ -3,7 +3,7 @@
// found in the LICENSE file.
import
'package:flutter/widgets.dart'
;
import
'package:flutter_test/flutter_test.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
class
Foo
extends
StatefulWidget
{
@override
...
...
packages/flutter/test/widgets/transitions_test.dart
View file @
08d1ec36
...
...
@@ -4,7 +4,7 @@
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
void
main
(
)
{
testWidgets
(
'toString control test'
,
(
WidgetTester
tester
)
async
{
...
...
@@ -77,7 +77,7 @@ void main() {
actualDecoration
=
actualBox
.
decoration
;
expect
(
actualDecoration
.
color
,
const
Color
(
0xFF7F7F7F
));
expect
(
actualDecoration
.
border
,
const
isInstanceOf
<
Border
>());
expect
(
actualDecoration
.
border
,
const
TypeMatcher
<
Border
>());
final
Border
border
=
actualDecoration
.
border
;
expect
(
border
.
left
.
width
,
2.5
);
expect
(
border
.
left
.
style
,
BorderStyle
.
solid
);
...
...
@@ -133,7 +133,7 @@ void main() {
// Same as the test above but the values should be much closer to the
// tween's end values given the easeOut curve.
expect
(
actualDecoration
.
color
,
const
Color
(
0xFF505050
));
expect
(
actualDecoration
.
border
,
const
isInstanceOf
<
Border
>());
expect
(
actualDecoration
.
border
,
const
TypeMatcher
<
Border
>());
final
Border
border
=
actualDecoration
.
border
;
expect
(
border
.
left
.
width
,
closeTo
(
1.9
,
0.1
));
expect
(
border
.
left
.
style
,
BorderStyle
.
solid
);
...
...
packages/flutter/test/widgets/widget_inspector_test.dart
View file @
08d1ec36
...
...
@@ -5,9 +5,9 @@
import
'dart:async'
;
import
'dart:convert'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
hide
TypeMatcher
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/widgets.dart'
;
import
'package:flutter/widgets.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
typedef
FutureOr
<
Map
<
String
,
Object
>>
InspectorServiceExtensionCallback
(
Map
<
String
,
String
>
parameters
);
...
...
@@ -495,7 +495,7 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
expect
(
chainNode
[
'node'
],
isMap
);
final
Map
<
String
,
Object
>
jsonNode
=
chainNode
[
'node'
];
expect
(
service
.
toObject
(
jsonNode
[
'valueId'
]),
equals
(
element
));
expect
(
service
.
toObject
(
jsonNode
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
jsonNode
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
expect
(
chainNode
[
'children'
],
isList
);
final
List
<
Object
>
jsonChildren
=
chainNode
[
'children'
];
...
...
@@ -511,7 +511,7 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
expect
(
jsonChildren
[
j
],
isMap
);
final
Map
<
String
,
Object
>
childJson
=
jsonChildren
[
j
];
expect
(
service
.
toObject
(
childJson
[
'valueId'
]),
equals
(
childrenElements
[
j
]));
expect
(
service
.
toObject
(
childJson
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
childJson
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
}
}
});
...
...
@@ -528,7 +528,7 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
for
(
int
i
=
0
;
i
<
propertiesJson
.
length
;
++
i
)
{
final
Map
<
String
,
Object
>
propertyJson
=
propertiesJson
[
i
];
expect
(
service
.
toObject
(
propertyJson
[
'valueId'
]),
equals
(
properties
[
i
].
value
));
expect
(
service
.
toObject
(
propertyJson
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
propertyJson
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
}
});
...
...
@@ -557,7 +557,7 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
for
(
int
i
=
0
;
i
<
propertiesJson
.
length
;
++
i
)
{
final
Map
<
String
,
Object
>
propertyJson
=
propertiesJson
[
i
];
expect
(
service
.
toObject
(
propertyJson
[
'valueId'
]),
equals
(
children
[
i
].
value
));
expect
(
service
.
toObject
(
propertyJson
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
propertyJson
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
}
});
...
...
@@ -811,7 +811,7 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
expect
(
chainNode
[
'node'
],
isMap
);
final
Map
<
String
,
Object
>
jsonNode
=
chainNode
[
'node'
];
expect
(
service
.
toObject
(
jsonNode
[
'valueId'
]),
equals
(
element
));
expect
(
service
.
toObject
(
jsonNode
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
jsonNode
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
expect
(
chainNode
[
'children'
],
isList
);
final
List
<
Object
>
jsonChildren
=
chainNode
[
'children'
];
...
...
@@ -827,7 +827,7 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
expect
(
jsonChildren
[
j
],
isMap
);
final
Map
<
String
,
Object
>
childJson
=
jsonChildren
[
j
];
expect
(
service
.
toObject
(
childJson
[
'valueId'
]),
equals
(
childrenElements
[
j
]));
expect
(
service
.
toObject
(
childJson
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
childJson
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
}
}
});
...
...
@@ -843,7 +843,7 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
for
(
int
i
=
0
;
i
<
propertiesJson
.
length
;
++
i
)
{
final
Map
<
String
,
Object
>
propertyJson
=
propertiesJson
[
i
];
expect
(
service
.
toObject
(
propertyJson
[
'valueId'
]),
equals
(
properties
[
i
].
value
));
expect
(
service
.
toObject
(
propertyJson
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
propertyJson
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
}
});
...
...
@@ -871,7 +871,7 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
for
(
int
i
=
0
;
i
<
propertiesJson
.
length
;
++
i
)
{
final
Map
<
String
,
Object
>
propertyJson
=
propertiesJson
[
i
];
expect
(
service
.
toObject
(
propertyJson
[
'valueId'
]),
equals
(
children
[
i
].
value
));
expect
(
service
.
toObject
(
propertyJson
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
propertyJson
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
}
});
...
...
@@ -899,13 +899,13 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
for
(
int
i
=
0
;
i
<
childrenJson
.
length
;
++
i
)
{
final
Map
<
String
,
Object
>
childJson
=
childrenJson
[
i
];
expect
(
service
.
toObject
(
childJson
[
'valueId'
]),
equals
(
children
[
i
].
value
));
expect
(
service
.
toObject
(
childJson
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
childJson
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
final
List
<
Object
>
propertiesJson
=
childJson
[
'properties'
];
final
DiagnosticsNode
diagnosticsNode
=
service
.
toObject
(
childJson
[
'objectId'
]);
final
List
<
DiagnosticsNode
>
expectedProperties
=
diagnosticsNode
.
getProperties
();
for
(
Map
<
String
,
Object
>
propertyJson
in
propertiesJson
)
{
final
Object
property
=
service
.
toObject
(
propertyJson
[
'objectId'
]);
expect
(
property
,
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
property
,
const
TypeMatcher
<
DiagnosticsNode
>());
expect
(
expectedProperties
.
contains
(
property
),
isTrue
);
}
}
...
...
@@ -937,13 +937,13 @@ class TestWidgetInspectorService extends Object with WidgetInspectorService {
for
(
int
i
=
0
;
i
<
childrenJson
.
length
;
++
i
)
{
final
Map
<
String
,
Object
>
childJson
=
childrenJson
[
i
];
expect
(
service
.
toObject
(
childJson
[
'valueId'
]),
equals
(
children
[
i
].
value
));
expect
(
service
.
toObject
(
childJson
[
'objectId'
]),
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
service
.
toObject
(
childJson
[
'objectId'
]),
const
TypeMatcher
<
DiagnosticsNode
>());
final
List
<
Object
>
propertiesJson
=
childJson
[
'properties'
];
final
DiagnosticsNode
diagnosticsNode
=
service
.
toObject
(
childJson
[
'objectId'
]);
final
List
<
DiagnosticsNode
>
expectedProperties
=
diagnosticsNode
.
getProperties
();
for
(
Map
<
String
,
Object
>
propertyJson
in
propertiesJson
)
{
final
Object
property
=
service
.
toObject
(
propertyJson
[
'objectId'
]);
expect
(
property
,
const
isInstanceOf
<
DiagnosticsNode
>());
expect
(
property
,
const
TypeMatcher
<
DiagnosticsNode
>());
expect
(
expectedProperties
.
contains
(
property
),
isTrue
);
}
}
...
...
packages/flutter_driver/pubspec.yaml
View file @
08d1ec36
...
...
@@ -10,7 +10,7 @@ dependencies:
file
:
5.0.1
json_rpc_2
:
2.0.8
meta
:
1.1.5
path
:
1.6.
0
path
:
1.6.
1
web_socket_channel
:
1.0.8
vm_service_client
:
0.2.4+3
flutter
:
...
...
@@ -25,7 +25,7 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -38,7 +38,7 @@ dependencies:
js
:
0.6.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -65,8 +65,8 @@ dependencies:
yaml
:
2.1.14
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
dev_dependencies
:
test
:
0.12.4
1
test
:
0.12.4
2
mockito
:
3.0.0-alpha+5
quiver
:
0.29.0+1
# PUBSPEC CHECKSUM:
1062
# PUBSPEC CHECKSUM:
0a0b
packages/flutter_driver/test/flutter_driver_test.dart
View file @
08d1ec36
...
...
@@ -138,7 +138,7 @@ void main() {
group
(
'ByValueKey'
,
()
{
test
(
'restricts value types'
,
()
async
{
expect
(()
=>
find
.
byValueKey
(
null
),
throwsA
(
const
isInstanceOf
<
DriverError
>()));
throwsA
(
const
TypeMatcher
<
DriverError
>()));
});
test
(
'finds by ValueKey'
,
()
async
{
...
...
@@ -158,7 +158,7 @@ void main() {
group
(
'tap'
,
()
{
test
(
'requires a target reference'
,
()
async
{
expect
(
driver
.
tap
(
null
),
throwsA
(
const
isInstanceOf
<
DriverError
>()));
expect
(
driver
.
tap
(
null
),
throwsA
(
const
TypeMatcher
<
DriverError
>()));
});
test
(
'sends the tap command'
,
()
async
{
...
...
@@ -177,7 +177,7 @@ void main() {
group
(
'getText'
,
()
{
test
(
'requires a target reference'
,
()
async
{
expect
(
driver
.
getText
(
null
),
throwsA
(
const
isInstanceOf
<
DriverError
>()));
expect
(
driver
.
getText
(
null
),
throwsA
(
const
TypeMatcher
<
DriverError
>()));
});
test
(
'sends the getText command'
,
()
async
{
...
...
@@ -200,7 +200,7 @@ void main() {
group
(
'waitFor'
,
()
{
test
(
'requires a target reference'
,
()
async
{
expect
(
driver
.
waitFor
(
null
),
throwsA
(
const
isInstanceOf
<
DriverError
>()));
expect
(
driver
.
waitFor
(
null
),
throwsA
(
const
TypeMatcher
<
DriverError
>()));
});
test
(
'sends the waitFor command'
,
()
async
{
...
...
packages/flutter_goldens/pubspec.yaml
View file @
08d1ec36
...
...
@@ -16,7 +16,7 @@ dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -30,13 +30,13 @@ dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -52,7 +52,7 @@ dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math
:
2.0.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -67,4 +67,4 @@ dev_dependencies:
environment
:
sdk
:
'
>=1.19.0
<2.0.0'
# PUBSPEC CHECKSUM:
ccaf
# PUBSPEC CHECKSUM:
8558
packages/flutter_localizations/pubspec.yaml
View file @
08d1ec36
...
...
@@ -8,7 +8,7 @@ dependencies:
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
typed_data
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vector_math
:
2.0.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -23,7 +23,7 @@ dev_dependencies:
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -36,7 +36,7 @@ dev_dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -57,11 +57,11 @@ dev_dependencies:
stream_channel
:
1.6.7+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
string_scanner
:
1.0.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
term_glyph
:
1.0.0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
test
:
0.12.4
2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
utf
:
0.9.0+4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
vm_service_client
:
0.2.4+3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
watcher
:
0.9.7+8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
web_socket_channel
:
1.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
yaml
:
2.1.14
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM:
a9cd
# PUBSPEC CHECKSUM:
d176
packages/flutter_test/lib/src/matchers.dart
View file @
08d1ec36
...
...
@@ -6,13 +6,14 @@ import 'dart:async';
import
'dart:math'
as
math
;
import
'dart:ui'
as
ui
;
import
'package:meta/meta.dart'
;
import
'package:test/test.dart'
;
import
'package:test/src/frontend/async_matcher.dart'
;
// ignore: implementation_imports
import
'package:flutter/foundation.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
hide
TypeMatcher
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/services.dart'
;
import
'package:meta/meta.dart'
;
import
'package:test/test.dart'
hide
TypeMatcher
;
import
'package:test/src/frontend/async_matcher.dart'
;
// ignore: implementation_imports
import
'binding.dart'
;
import
'finders.dart'
;
...
...
@@ -147,7 +148,7 @@ const Matcher hasAGoodToStringDeep = const _HasGoodToStringDeep();
/// A matcher for functions that throw [FlutterError].
///
/// This is equivalent to `throwsA(const
isInstanceOf
<FlutterError>())`.
/// This is equivalent to `throwsA(const
TypeMatcher
<FlutterError>())`.
///
/// See also:
///
...
...
@@ -158,7 +159,7 @@ final Matcher throwsFlutterError = throwsA(isFlutterError);
/// A matcher for functions that throw [AssertionError].
///
/// This is equivalent to `throwsA(const
isInstanceOf
<AssertionError>())`.
/// This is equivalent to `throwsA(const
TypeMatcher
<AssertionError>())`.
///
/// See also:
///
...
...
@@ -169,23 +170,23 @@ final Matcher throwsAssertionError = throwsA(isAssertionError);
/// A matcher for [FlutterError].
///
/// This is equivalent to `const
isInstanceOf
<FlutterError>()`.
/// This is equivalent to `const
TypeMatcher
<FlutterError>()`.
///
/// See also:
///
/// * [throwsFlutterError], to test if a function throws a [FlutterError].
/// * [isAssertionError], to test if any object is any kind of [AssertionError].
const
Matcher
isFlutterError
=
const
isInstanceOf
<
FlutterError
>();
const
Matcher
isFlutterError
=
const
TypeMatcher
<
FlutterError
>();
/// A matcher for [AssertionError].
///
/// This is equivalent to `const
isInstanceOf
<AssertionError>()`.
/// This is equivalent to `const
TypeMatcher
<AssertionError>()`.
///
/// See also:
///
/// * [throwsAssertionError], to test if a function throws any [AssertionError].
/// * [isFlutterError], to test if any object is a [FlutterError].
const
Matcher
isAssertionError
=
const
isInstanceOf
<
AssertionError
>();
const
Matcher
isAssertionError
=
const
TypeMatcher
<
AssertionError
>();
/// Asserts that two [double]s are equal, within some tolerated error.
///
...
...
packages/flutter_test/pubspec.yaml
View file @
08d1ec36
...
...
@@ -8,10 +8,10 @@ dependencies:
# We depend on very specific internal implementation details of the
# 'test' package, which change between versions, so when upgrading
# this, make sure the tests are still running correctly.
test
:
0.12.4
1
test
:
0.12.4
2
# Used by golden file comparator
path
:
1.6.
0
path
:
1.6.
1
# We use FakeAsync and other testing utilities.
quiver
:
0.29.0+1
...
...
@@ -31,7 +31,7 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
glob
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -44,7 +44,7 @@ dependencies:
json_rpc_2
:
2.0.8
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
meta
:
1.1.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -76,4 +76,4 @@ dev_dependencies:
intl
:
0.15.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
# PUBSPEC CHECKSUM:
13e3
# PUBSPEC CHECKSUM:
038c
packages/flutter_test/test/custom_exception_reporter/flutter_test_config.dart
View file @
08d1ec36
...
...
@@ -9,7 +9,7 @@ import 'package:flutter_test/flutter_test.dart';
Future
<
void
>
main
(
FutureOr
<
void
>
testMain
())
async
{
reportTestException
=
(
FlutterErrorDetails
details
,
String
testDescription
)
{
expect
(
details
.
exception
,
const
isInstanceOf
<
StateError
>());
expect
(
details
.
exception
,
const
TypeMatcher
<
StateError
>());
expect
(
details
.
exception
.
message
,
'foo'
);
expect
(
testDescription
,
'custom exception reporter'
);
};
...
...
packages/flutter_test/test/goldens_test.dart
View file @
08d1ec36
...
...
@@ -59,7 +59,7 @@ void main() {
group
(
'goldenFileComparator'
,
()
{
test
(
'is initialized by test framework'
,
()
{
expect
(
goldenFileComparator
,
isNotNull
);
expect
(
goldenFileComparator
,
const
isInstanceOf
<
LocalFileComparator
>());
expect
(
goldenFileComparator
,
const
TypeMatcher
<
LocalFileComparator
>());
final
LocalFileComparator
comparator
=
goldenFileComparator
;
expect
(
comparator
.
basedir
.
path
,
contains
(
'flutter_test'
));
});
...
...
@@ -133,7 +133,7 @@ void main() {
group
(
'fails'
,
()
{
test
(
'when golden file does not exist'
,
()
async
{
final
Future
<
bool
>
comparison
=
doComparison
();
expect
(
comparison
,
throwsA
(
const
isInstanceOf
<
TestFailure
>()));
expect
(
comparison
,
throwsA
(
const
TypeMatcher
<
TestFailure
>()));
});
test
(
'when golden bytes are leading subset of image bytes'
,
()
async
{
...
...
packages/flutter_test/test/widget_tester_test.dart
View file @
08d1ec36
...
...
@@ -5,8 +5,8 @@
import
'dart:async'
;
import
'dart:io'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/cupertino.dart'
hide
TypeMatcher
;
import
'package:flutter/material.dart'
hide
TypeMatcher
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:test/test.dart'
as
test_package
;
import
'package:test/src/frontend/async_matcher.dart'
show
AsyncMatcher
;
...
...
@@ -334,7 +334,7 @@ void main() {
expect
(
expectAsync0
(
tester
.
pageBack
),
throwsA
(
const
isInstanceOf
<
TestFailure
>()),
throwsA
(
const
TypeMatcher
<
TestFailure
>()),
);
});
...
...
@@ -490,7 +490,7 @@ void main() {
testWidgets
(
'disallows re-entry'
,
(
WidgetTester
tester
)
async
{
final
Completer
<
void
>
completer
=
new
Completer
<
void
>();
tester
.
runAsync
<
void
>(()
=>
completer
.
future
);
expect
(()
=>
tester
.
runAsync
(()
async
{}),
throwsA
(
const
isInstanceOf
<
TestFailure
>()));
expect
(()
=>
tester
.
runAsync
(()
async
{}),
throwsA
(
const
TypeMatcher
<
TestFailure
>()));
completer
.
complete
();
});
...
...
packages/flutter_tools/lib/src/base/build.dart
View file @
08d1ec36
...
...
@@ -52,7 +52,6 @@ class GenSnapshot {
'--await_is_keyword'
,
'--causal_async_stacks'
,
'--packages=
$packagesPath
'
,
'--dependencies=
$depfilePath
'
,
]..
addAll
(
additionalArgs
);
final
String
snapshotterPath
=
getSnapshotterPath
(
snapshotType
);
...
...
@@ -195,7 +194,6 @@ class AOTSnapshotter {
'--url_mapping=dart:vmservice_io,
$vmServicePath
'
,
'--embedder_entry_points_manifest=
$vmEntryPoints
'
,
'--embedder_entry_points_manifest=
$ioEntryPoints
'
,
'--dependencies=
$depfilePath
'
,
];
if
(
previewDart2
)
{
genSnapshotArgs
.
addAll
(<
String
>[
...
...
packages/flutter_tools/lib/src/devfs.dart
View file @
08d1ec36
...
...
@@ -296,7 +296,7 @@ class _DevFSHttpWriter {
])
async
{
try
{
final
HttpClientRequest
request
=
await
_client
.
putUrl
(
httpAddress
);
request
.
headers
.
removeAll
(
HttpHeaders
.
ACCEPT_ENCODING
);
request
.
headers
.
removeAll
(
HttpHeaders
.
acceptEncodingHeader
);
request
.
headers
.
add
(
'dev_fs_name'
,
fsName
);
request
.
headers
.
add
(
'dev_fs_uri_b64'
,
base64
.
encode
(
utf8
.
encode
(
deviceUri
.
toString
())));
...
...
packages/flutter_tools/lib/src/vmservice.dart
View file @
08d1ec36
...
...
@@ -1396,8 +1396,6 @@ class ServiceMap extends ServiceObject implements Map<String, dynamic> {
@override
void
updateAll
(
dynamic
update
(
String
key
,
dynamic
value
))
=>
_map
.
updateAll
(
update
);
@override
Map
<
RK
,
RV
>
retype
<
RK
,
RV
>()
=>
_map
.
retype
<
RK
,
RV
>();
// ignore: deprecated_member_use
@override
dynamic
update
(
String
key
,
dynamic
update
(
dynamic
value
),
{
dynamic
ifAbsent
()})
=>
_map
.
update
(
key
,
update
,
ifAbsent:
ifAbsent
);
}
...
...
packages/flutter_tools/pubspec.yaml
View file @
08d1ec36
...
...
@@ -13,13 +13,13 @@ dependencies:
args
:
1.4.3
cli_util
:
0.1.3
coverage
:
0.11.0
crypto
:
2.0.
3
crypto
:
2.0.
5
file
:
5.0.1
http
:
0.11.3+16
intl
:
0.15.6
json_rpc_2
:
2.0.8
json_schema
:
1.0.8
linter
:
0.1.5
2
linter
:
0.1.5
3
meta
:
1.1.5
mustache
:
1.0.1
package_config
:
1.0.3
...
...
@@ -38,7 +38,7 @@ dependencies:
# We depend on very specific internal implementation details of the
# 'test' package, which change between versions, so when upgrading
# this, make sure the tests are still running correctly.
test
:
0.12.4
1
test
:
0.12.4
2
async
:
2.0.7
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
boolean_selector
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -54,12 +54,12 @@ dependencies:
js
:
0.6.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
petitparser
:
1.7.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pub_semver
:
1.4.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -85,4 +85,4 @@ dartdoc:
# Exclude this package from the hosted API docs.
nodoc
:
true
# PUBSPEC CHECKSUM:
d01d
# PUBSPEC CHECKSUM:
9fc6
packages/flutter_tools/test/base/build_test.dart
View file @
08d1ec36
...
...
@@ -406,7 +406,6 @@ void main() {
'--url_mapping=dart:vmservice_io,
${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}
'
,
'--embedder_entry_points_manifest=
$kVmEntrypoints
'
,
'--embedder_entry_points_manifest=
$kIoEntries
'
,
'--dependencies=
${fs.path.join(outputPath, 'snapshot.d')}
'
,
'--reify-generic-functions'
,
'--strong'
,
'--snapshot_kind=app-aot-assembly'
,
...
...
@@ -453,7 +452,6 @@ void main() {
'--url_mapping=dart:vmservice_io,
${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}
'
,
'--embedder_entry_points_manifest=
$kVmEntrypoints
'
,
'--embedder_entry_points_manifest=
$kIoEntries
'
,
'--dependencies=
${fs.path.join(outputPath, 'snapshot.d')}
'
,
'--reify-generic-functions'
,
'--strong'
,
'--snapshot_kind=app-aot-assembly'
,
...
...
@@ -500,7 +498,6 @@ void main() {
'--url_mapping=dart:vmservice_io,
${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}
'
,
'--embedder_entry_points_manifest=
$kVmEntrypoints
'
,
'--embedder_entry_points_manifest=
$kIoEntries
'
,
'--dependencies=
${fs.path.join(outputPath, 'snapshot.d')}
'
,
'--reify-generic-functions'
,
'--strong'
,
'--snapshot_kind=app-aot-blobs'
,
...
...
@@ -552,7 +549,6 @@ void main() {
'--url_mapping=dart:vmservice_io,
${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}
'
,
'--embedder_entry_points_manifest=
$kVmEntrypoints
'
,
'--embedder_entry_points_manifest=
$kIoEntries
'
,
'--dependencies=
${fs.path.join(outputPath, 'snapshot.d')}
'
,
'--reify-generic-functions'
,
'--strong'
,
'--snapshot_kind=app-aot-blobs'
,
...
...
@@ -600,7 +596,6 @@ void main() {
'--url_mapping=dart:vmservice_io,
${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}
'
,
'--embedder_entry_points_manifest=
$kVmEntrypoints
'
,
'--embedder_entry_points_manifest=
$kIoEntries
'
,
'--dependencies=
${fs.path.join(outputPath, 'snapshot.d')}
'
,
'--reify-generic-functions'
,
'--strong'
,
'--snapshot_kind=app-aot-assembly'
,
...
...
@@ -647,7 +642,6 @@ void main() {
'--url_mapping=dart:vmservice_io,
${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}
'
,
'--embedder_entry_points_manifest=
$kVmEntrypoints
'
,
'--embedder_entry_points_manifest=
$kIoEntries
'
,
'--dependencies=
${fs.path.join(outputPath, 'snapshot.d')}
'
,
'--reify-generic-functions'
,
'--strong'
,
'--snapshot_kind=app-aot-assembly'
,
...
...
@@ -713,7 +707,6 @@ void main() {
'--url_mapping=dart:vmservice_io,
${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}
'
,
'--embedder_entry_points_manifest=
$kVmEntrypoints
'
,
'--embedder_entry_points_manifest=
$kIoEntries
'
,
'--dependencies=
${fs.path.join(outputPath, 'snapshot.d')}
'
,
'--reify-generic-functions'
,
'--strong'
,
'--snapshot_kind=app-aot-blobs'
,
...
...
@@ -765,7 +758,6 @@ void main() {
'--url_mapping=dart:vmservice_io,
${fs.path.join(skyEnginePath, 'sdk_ext', 'vmservice_io.dart')}
'
,
'--embedder_entry_points_manifest=
$kVmEntrypoints
'
,
'--embedder_entry_points_manifest=
$kIoEntries
'
,
'--dependencies=
${fs.path.join(outputPath, 'snapshot.d')}
'
,
'--reify-generic-functions'
,
'--strong'
,
'--snapshot_kind=app-aot-blobs'
,
...
...
packages/flutter_tools/test/commands/analyze_once_test.dart
View file @
08d1ec36
...
...
@@ -142,7 +142,7 @@ void main() {
foo
.
writeAsStringSync
(
'''
import '
bar
.
dart
';
foo() => bar();
void
foo() => bar();
'''
);
final
File
bar
=
fs
.
file
(
fs
.
path
.
join
(
tempDir
.
path
,
'bar.dart'
));
...
...
packages/flutter_tools/test/integration/flutter_tester_test.dart
View file @
08d1ec36
...
...
@@ -69,8 +69,8 @@ void main() {
expect
(
result
.
started
,
isTrue
);
expect
(
result
.
observatoryUri
,
isNotNull
);
final
String
line
=
await
device
.
getLogReader
().
logLines
.
first
;
expect
(
line
,
'Hello!'
);
final
String
line
=
await
device
.
getLogReader
().
logLines
.
first
Where
((
String
line
)
=>
!
line
.
contains
(
'TeXGyreSchola'
))
;
expect
(
line
,
equals
(
'Hello!'
)
);
expect
(
await
device
.
stopApp
(
null
),
isTrue
);
});
...
...
packages/flutter_tools/test/ios/cocoapods_test.dart
View file @
08d1ec36
...
...
@@ -224,7 +224,7 @@ void main() {
);
fail
(
'ToolExit expected'
);
}
catch
(
e
)
{
expect
(
e
,
const
isInstanceOf
<
ToolExit
>());
expect
(
e
,
const
TypeMatcher
<
ToolExit
>());
verifyNever
(
mockProcessManager
.
run
(
typedArgThat
(
containsAllInOrder
(<
String
>[
'pod'
,
'install'
])),
workingDirectory:
anyNamed
(
'workingDirectory'
),
...
...
@@ -271,7 +271,7 @@ Note: as of CocoaPods 1.0, `pod repo update` does not happen on `pod install` by
);
fail
(
'ToolExit expected'
);
}
catch
(
e
)
{
expect
(
e
,
const
isInstanceOf
<
ToolExit
>());
expect
(
e
,
const
TypeMatcher
<
ToolExit
>());
expect
(
testLogger
.
errorText
,
contains
(
"CocoaPods's specs repository is too out-of-date to satisfy dependencies"
),
...
...
packages/flutter_tools/test/src/common.dart
View file @
08d1ec36
...
...
@@ -76,7 +76,7 @@ Matcher throwsToolExit({int exitCode, String message}) {
}
/// Matcher for [ToolExit]s.
const
Matcher
isToolExit
=
const
isInstanceOf
<
ToolExit
>();
const
Matcher
isToolExit
=
const
TypeMatcher
<
ToolExit
>();
/// Matcher for functions that throw [ProcessExit].
Matcher
throwsProcessExit
(
[
dynamic
exitCode
])
{
...
...
@@ -86,7 +86,7 @@ Matcher throwsProcessExit([dynamic exitCode]) {
}
/// Matcher for [ProcessExit]s.
const
Matcher
isProcessExit
=
const
isInstanceOf
<
ProcessExit
>();
const
Matcher
isProcessExit
=
const
TypeMatcher
<
ProcessExit
>();
/// Creates a flutter project in the [temp] directory using the
/// [arguments] list if specified, or `--no-pub` if not.
...
...
packages/flutter_tools/test/tester/flutter_tester_test.dart
View file @
08d1ec36
...
...
@@ -59,7 +59,7 @@ void main() {
expect
(
devices
,
hasLength
(
1
));
final
Device
device
=
devices
.
single
;
expect
(
device
,
const
isInstanceOf
<
FlutterTesterDevice
>());
expect
(
device
,
const
TypeMatcher
<
FlutterTesterDevice
>());
expect
(
device
.
id
,
'flutter-tester'
);
});
});
...
...
packages/fuchsia_remote_debug_protocol/pubspec.yaml
View file @
08d1ec36
...
...
@@ -20,7 +20,7 @@ dependencies:
charcode
:
1.1.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
collection
:
1.14.6
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
convert
:
2.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
crypto
:
2.0.
5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
csslib
:
0.14.4
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
file
:
5.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
front_end
:
0.1.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -34,13 +34,13 @@ dependencies:
js
:
0.6.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
kernel
:
0.3.0-alpha.12
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
logging
:
0.11.3+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
2+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
matcher
:
0.12.
3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
mime
:
0.9.6+1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
multi_server_socket
:
1.0.1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
node_preamble
:
1.4.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_config
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
package_resolver
:
1.0.3
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
0
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
path
:
1.6.
1
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
platform
:
2.1.2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
plugin
:
0.2.0+2
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
pool
:
1.3.5
# THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
...
...
@@ -66,6 +66,6 @@ dependencies:
dev_dependencies
:
mockito
:
3.0.0-alpha+5
test
:
0.12.4
1
test
:
0.12.4
2
# PUBSPEC CHECKSUM:
ccaf
# PUBSPEC CHECKSUM:
8558
packages/fuchsia_remote_debug_protocol/test/src/dart/dart_vm_test.dart
View file @
08d1ec36
...
...
@@ -149,7 +149,7 @@ void main() {
}
// Both views should be invalid as they were missing required fields.
expect
(
failingFunction
,
throwsA
(
const
isInstanceOf
<
RpcFormatError
>()));
expect
(
failingFunction
,
throwsA
(
const
TypeMatcher
<
RpcFormatError
>()));
});
test
(
'invalid flutter view missing ID'
,
()
async
{
...
...
@@ -187,7 +187,7 @@ void main() {
}
// Both views should be invalid as they were missing required fields.
expect
(
failingFunction
,
throwsA
(
const
isInstanceOf
<
RpcFormatError
>()));
expect
(
failingFunction
,
throwsA
(
const
TypeMatcher
<
RpcFormatError
>()));
});
});
...
...
@@ -220,7 +220,7 @@ void main() {
await
vm
.
invokeRpc
(
'somesillyfunction'
,
timeout:
timeoutTime
);
}
expect
(
failingFunction
,
throwsA
(
const
isInstanceOf
<
TimeoutException
>()));
expect
(
failingFunction
,
throwsA
(
const
TypeMatcher
<
TimeoutException
>()));
});
});
}
...
...
packages/fuchsia_remote_debug_protocol/test/src/runners/ssh_command_runner_test.dart
View file @
08d1ec36
...
...
@@ -99,7 +99,7 @@ void main() {
await
runner
.
run
(
'oihaw'
);
}
expect
(
failingFunction
,
throwsA
(
const
isInstanceOf
<
SshCommandError
>()));
expect
(
failingFunction
,
throwsA
(
const
TypeMatcher
<
SshCommandError
>()));
});
test
(
'verify correct args with config'
,
()
async
{
...
...
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