Switch to URIs for breakpoints and unskip tests on Windows (#22510)
* Switch to URIs for breakpoints and unskip tests on Windows
addBreakpointWithScriptUri expects Uris. By coincidence, FS paths work on Mac/Linux but they fail on Windows. One of the issues in the skip comment is fixed, the other one seems not relevant here.
* Apply symlink resolution to all integration tests
The default temp folders we get include symlinks which breaks breakpoints.
* Save 🙄
* Fix typo
This commit is contained in:
@@ -16,8 +16,8 @@ abstract class TestProject {
|
||||
String get main;
|
||||
|
||||
// Valid locations for a breakpoint for tests that just need to break somewhere.
|
||||
String get breakpointFile => fs.file(fs.path.join(
|
||||
dir.path, 'lib', 'main.dart')).resolveSymbolicLinksSync();
|
||||
String get breakpointFile => fs.path.join(
|
||||
dir.path, 'lib', 'main.dart');
|
||||
int get breakpointLine => lineContaining(main, '// BREAKPOINT');
|
||||
|
||||
Future<void> setUpIn(Directory dir) async {
|
||||
|
||||
Reference in New Issue
Block a user