Roll engine to 4c79e423dc6f89f98d8ceb263a5ca78e2f2da996 (#23384)

Also includes
  * Updates to affected tests
  * Change flutter_tools to pass package URIs to the Dart front end
    instead of filesystem paths
This commit is contained in:
Jason Simmons
2018-10-22 18:03:50 -07:00
committed by GitHub
parent b7c9c96c6b
commit a6a1607888
6 changed files with 91 additions and 25 deletions

View File

@@ -33,13 +33,13 @@ void main() {
Future<VMIsolate> breakInBuildMethod(FlutterTestDriver flutter) async {
return _flutter.breakAt(
Uri.file(_project.buildMethodBreakpointFile),
Uri.parse('package:test/main.dart'),
_project.buildMethodBreakpointLine);
}
Future<VMIsolate> breakInTopLevelFunction(FlutterTestDriver flutter) async {
return _flutter.breakAt(
Uri.file(_project.topLevelFunctionBreakpointFile),
Uri.parse('package:test/main.dart'),
_project.topLevelFunctionBreakpointLine);
}

View File

@@ -41,7 +41,7 @@ void main() {
test('reload hits breakpoints after reload', () async {
await _flutter.run(withDebugger: true);
final VMIsolate isolate = await _flutter.breakAt(
Uri.file(_project.breakpointFile),
Uri.parse('package:test/main.dart'),
_project.breakpointLine);
expect(isolate.pauseEvent, isInstanceOf<VMPauseBreakpointEvent>());
});