Roll engine to 0c119932c0d6cb30dafd75ec717d1eda76fd7651 (#18575)

This commit is contained in:
Greg Spencer
2018-06-19 00:58:20 -07:00
committed by Florian Loitsch
parent 9e7e6e7c9b
commit 08d1ec36de
93 changed files with 300 additions and 307 deletions

View File

@@ -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',

View File

@@ -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'));

View File

@@ -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.firstWhere((String line) => !line.contains('TeXGyreSchola'));
expect(line, equals('Hello!'));
expect(await device.stopApp(null), isTrue);
});

View File

@@ -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"),

View File

@@ -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.

View File

@@ -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');
});
});