"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "dev/devicelab/bin/tasks/build_mode_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.

build_mode_test.dart  (flutter-2.0.2):build_mode_test.dart  (flutter-2.0.3)
skipping to change at line 21 skipping to change at line 21
import 'package:flutter_devicelab/framework/adb.dart'; import 'package:flutter_devicelab/framework/adb.dart';
import 'package:flutter_devicelab/framework/framework.dart'; import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/framework/task_result.dart'; import 'package:flutter_devicelab/framework/task_result.dart';
import 'package:flutter_devicelab/framework/utils.dart'; import 'package:flutter_devicelab/framework/utils.dart';
Future<String> runFlutterAndQuit(List<String> args, Device device) async { Future<String> runFlutterAndQuit(List<String> args, Device device) async {
final Completer<void> ready = Completer<void>(); final Completer<void> ready = Completer<void>();
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'),
<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 inf o isBot: false, // we just want to test the output, not have any debugging inf o
); );
final List<String> stdout = <String>[]; final List<String> stdout = <String>[];
final List<String> stderr = <String>[]; final List<String> stderr = <String>[];
int runExitCode; int runExitCode;
run.stdout.transform<String>(utf8.decoder).transform<String>(const LineSplitte r()).listen( run.stdout.transform<String>(utf8.decoder).transform<String>(const LineSplitte r()).listen(
(String line) { (String line) {
print('run:stdout: $line'); print('run:stdout: $line');
stdout.add(line); stdout.add(line);
if (line.contains('>>> FINISHED <<<')) { if (line.contains('>>> FINISHED <<<')) {
 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)