"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dev/devicelab/bin/tasks/routing_test.dart" between
flutter-2.0.2.tar.gz and flutter-2.0.3.tar.gz

About: Flutter is Google's SDK for crafting beautiful apps for mobile, web, and desktop from a single codebase.

routing_test.dart  (flutter-2.0.2):routing_test.dart  (flutter-2.0.3)
skipping to change at line 39 skipping to change at line 39
); );
}); });
section('TEST WHETHER `flutter run --route` WORKS'); section('TEST WHETHER `flutter run --route` WORKS');
await inDirectory(appDir, () async { await inDirectory(appDir, () async {
final Completer<void> ready = Completer<void>(); final Completer<void> ready = Completer<void>();
bool ok; bool ok;
print('run: starting...'); print('run: starting...');
final Process run = await startProcess( final Process run = await startProcess(
path.join(flutterDirectory.path, 'bin', 'flutter'), path.join(flutterDirectory.path, 'bin', 'flutter'),
// --fast-start does not support routes. // --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', 'l ib/route.dart'],
); );
run.stdout run.stdout
.transform<String>(utf8.decoder) .transform<String>(utf8.decoder)
.transform<String>(const LineSplitter()) .transform<String>(const LineSplitter())
.listen((String line) { .listen((String line) {
print('run:stdout: $line'); print('run:stdout: $line');
if (vmServicePort == null) { if (vmServicePort == null) {
vmServicePort = parseServicePort(line); vmServicePort = parseServicePort(line);
if (vmServicePort != null) { if (vmServicePort != null) {
print('service protocol connection available at port $vmServicePor t'); print('service protocol connection available at port $vmServicePor t');
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)