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
91aad2bb
Unverified
Commit
91aad2bb
authored
Feb 01, 2021
by
Jenn Magder
Committed by
GitHub
Feb 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid iOS local networking dialog in integration tests (#75163)
parent
80372f1b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
10 additions
and
5 deletions
+10
-5
build_mode_test.dart
dev/devicelab/bin/tasks/build_mode_test.dart
+1
-1
flutter_run_test.dart
dev/devicelab/bin/tasks/flutter_run_test.dart
+1
-1
routing_test.dart
dev/devicelab/bin/tasks/routing_test.dart
+1
-1
service_extensions_test.dart
dev/devicelab/bin/tasks/service_extensions_test.dart
+1
-1
hot_mode_tests.dart
dev/devicelab/lib/tasks/hot_mode_tests.dart
+1
-1
microbenchmarks.dart
dev/devicelab/lib/tasks/microbenchmarks.dart
+1
-0
perf_tests.dart
dev/devicelab/lib/tasks/perf_tests.dart
+4
-0
No files found.
dev/devicelab/bin/tasks/build_mode_test.dart
View file @
91aad2bb
...
...
@@ -18,7 +18,7 @@ Future<String> runFlutterAndQuit(List<String> args, Device device) async {
print
(
'run: starting...'
);
final
Process
run
=
await
startProcess
(
path
.
join
(
flutterDirectory
.
path
,
'bin'
,
'flutter'
),
<
String
>[
'run'
,
'--suppress-analytics'
,
...
args
],
<
String
>[
'run'
,
'--suppress-analytics'
,
'--no-publish-port'
,
...
args
],
isBot:
false
,
// we just want to test the output, not have any debugging info
);
final
List
<
String
>
stdout
=
<
String
>[];
...
...
dev/devicelab/bin/tasks/flutter_run_test.dart
View file @
91aad2bb
...
...
@@ -39,7 +39,7 @@ Future<TaskResult> createFlutterRunTask() async {
final
Device
device
=
await
devices
.
workingDevice
;
await
device
.
unlock
();
final
List
<
String
>
options
=
<
String
>[
'-t'
,
runTestSource
.
absolute
.
path
,
'-d'
,
device
.
deviceId
,
'-v'
,
'-t'
,
runTestSource
.
absolute
.
path
,
'-d'
,
device
.
deviceId
,
'-v'
,
'--no-publish-port'
,
];
await
inDirectory
<
void
>(
flutterGalleryDir
,
()
async
{
final
Process
run
=
await
startProcess
(
...
...
dev/devicelab/bin/tasks/routing_test.dart
View file @
91aad2bb
...
...
@@ -36,7 +36,7 @@ void main() {
final
Process
run
=
await
startProcess
(
path
.
join
(
flutterDirectory
.
path
,
'bin'
,
'flutter'
),
// --fast-start does not support routes.
<
String
>[
'run'
,
'--verbose'
,
'--disable-service-auth-codes'
,
'--no-fast-start'
,
'-d'
,
device
.
deviceId
,
'--route'
,
'/smuggle-it'
,
'lib/route.dart'
],
<
String
>[
'run'
,
'--verbose'
,
'--disable-service-auth-codes'
,
'--no-fast-start'
,
'-
-no-publish-port'
,
'-
d'
,
device
.
deviceId
,
'--route'
,
'/smuggle-it'
,
'lib/route.dart'
],
);
run
.
stdout
.
transform
<
String
>(
utf8
.
decoder
)
...
...
dev/devicelab/bin/tasks/service_extensions_test.dart
View file @
91aad2bb
...
...
@@ -26,7 +26,7 @@ void main() {
print
(
'run: starting...'
);
final
Process
run
=
await
startProcess
(
path
.
join
(
flutterDirectory
.
path
,
'bin'
,
'flutter'
),
<
String
>[
'run'
,
'--verbose'
,
'--no-fast-start'
,
'--disable-service-auth-codes'
,
'-d'
,
device
.
deviceId
,
'lib/main.dart'
],
<
String
>[
'run'
,
'--verbose'
,
'--no-fast-start'
,
'--
no-publish-port'
,
'--
disable-service-auth-codes'
,
'-d'
,
device
.
deviceId
,
'lib/main.dart'
],
);
run
.
stdout
.
transform
<
String
>(
utf8
.
decoder
)
...
...
dev/devicelab/lib/tasks/hot_mode_tests.dart
View file @
91aad2bb
...
...
@@ -33,7 +33,7 @@ TaskFunction createHotModeTest({String deviceIdOverride, Map<String, String> env
final
File
benchmarkFile
=
file
(
path
.
join
(
_editedFlutterGalleryDir
.
path
,
'hot_benchmark.json'
));
rm
(
benchmarkFile
);
final
List
<
String
>
options
=
<
String
>[
'--hot'
,
'-d'
,
deviceIdOverride
,
'--benchmark'
,
'--resident'
,
'--no-android-gradle-daemon'
,
'--verbose'
,
'--hot'
,
'-d'
,
deviceIdOverride
,
'--benchmark'
,
'--resident'
,
'--no-android-gradle-daemon'
,
'--
no-publish-port'
,
'--
verbose'
,
];
int
hotReloadCount
=
0
;
Map
<
String
,
dynamic
>
smallReloadData
;
...
...
dev/devicelab/lib/tasks/microbenchmarks.dart
View file @
91aad2bb
...
...
@@ -30,6 +30,7 @@ TaskFunction createMicrobenchmarkTask() {
'-v'
,
// --release doesn't work on iOS due to code signing issues
'--profile'
,
'--no-publish-port'
,
'-d'
,
device
.
deviceId
,
];
...
...
dev/devicelab/lib/tasks/perf_tests.dart
View file @
91aad2bb
...
...
@@ -484,6 +484,7 @@ class StartupTest {
for
(
int
i
=
0
;
i
<
iterations
;
i
+=
1
)
{
final
int
result
=
await
flutter
(
'run'
,
options:
<
String
>[
'--no-android-gradle-daemon'
,
'--no-publish-port'
,
'--verbose'
,
'--profile'
,
'--trace-startup'
,
...
...
@@ -783,6 +784,7 @@ class PerfTestWithSkSL extends PerfTest {
'--verbose'
,
'--verbose-system-logs'
,
'--purge-persistent-cache'
,
'--no-publish-port'
,
'--profile'
,
if
(
cacheSkSL
)
'--cache-sksl'
,
'-d'
,
_device
.
deviceId
,
...
...
@@ -1286,6 +1288,7 @@ class DevToolsMemoryTest {
'run'
,
'--verbose'
,
'--profile'
,
'--no-publish-port'
,
'-d'
,
_device
.
deviceId
,
driverTest
,
],
...
...
@@ -1401,6 +1404,7 @@ class ReportedDurationTest {
print
(
'launching
$project$test
on device...'
);
await
flutter
(
'run'
,
options:
<
String
>[
'--verbose'
,
'--no-publish-port'
,
'--no-fast-start'
,
'--
${_reportedDurationTestToString(flavor)}
'
,
'--no-resident'
,
...
...
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