@@ -12,26 +12,25 @@ import 'package:test/test.dart';
12
12
import 'fixtures/context.dart' ;
13
13
import 'fixtures/utilities.dart' ;
14
14
15
- final context = TestContext .withWeakNullSafety (
16
- packageName: '_testPackage ' ,
15
+ final context = TestContext .withSoundNullSafety (
16
+ packageName: '_testPackageSound ' ,
17
17
webAssetsPath: 'web' ,
18
18
dartEntryFileName: 'main.dart' ,
19
19
htmlEntryFileName: 'index.html' ,
20
20
);
21
21
22
22
/// The directory for the general _test package.
23
- final testDir = absolutePath (pathFromFixtures: p.join ('_test ' ));
23
+ final testDir = absolutePath (pathFromFixtures: p.join ('_testSound ' ));
24
24
25
25
/// The directory for the _testPackage package (contained within dwds), which
26
26
/// imports _test.
27
- final testPackageDir = absolutePath (pathFromFixtures: p.join ('_testPackage' ));
27
+ final testPackageDir =
28
+ absolutePath (pathFromFixtures: p.join ('_testPackageSound' ));
28
29
29
30
// This tests converting file Uris into our internal paths.
30
31
//
31
32
// These tests are separated out because we need a running isolate in order to
32
33
// look up packages.
33
- // TODO(https://github.com/dart-lang/webdev/issues/1818): Switch test over for
34
- // testing sound null-safety.
35
34
void main () {
36
35
for (final compilationMode in CompilationMode .values) {
37
36
group ('$compilationMode |' , () {
@@ -45,14 +44,14 @@ void main() {
45
44
final serverPath =
46
45
compilationMode == CompilationMode .frontendServer &&
47
46
useDebuggerModuleNames
48
- ? 'packages/_testPackage /lib/test_library.dart'
49
- : 'packages/_test_package /test_library.dart' ;
47
+ ? 'packages/_testPackageSound /lib/test_library.dart'
48
+ : 'packages/_test_package_sound /test_library.dart' ;
50
49
51
50
final anotherServerPath =
52
51
compilationMode == CompilationMode .frontendServer &&
53
52
useDebuggerModuleNames
54
- ? 'packages/_test /lib/library.dart'
55
- : 'packages/_test /library.dart' ;
53
+ ? 'packages/_testSound /lib/library.dart'
54
+ : 'packages/_test_sound /library.dart' ;
56
55
57
56
setUpAll (() async {
58
57
await context.setUp (
0 commit comments