@@ -20,11 +20,9 @@ void main() {
20
20
21
21
late Directory tempDir;
22
22
late String sdkDirectory;
23
- late String sdkSummaryPath;
24
23
late String compilerWorkerPath;
25
24
26
25
// Missing assets
27
- late String sdkFullDillPath;
28
26
late String amdSdkJsPath;
29
27
late String amdSdkJsMapPath;
30
28
late String ddcSdkJsPath;
@@ -37,20 +35,17 @@ void main() {
37
35
sdkDirectory = tempDir.path;
38
36
final copySdkLayout = TestSdkLayout .createDefault (sdkDirectory);
39
37
40
- sdkSummaryPath = copySdkLayout.summaryPath;
41
38
compilerWorkerPath = copySdkLayout.dartdevcSnapshotPath;
42
39
43
40
// Copy the SDK directory into a temp directory.
44
41
await copyDirectory (TestSdkLayout .defaultSdkDirectory, sdkDirectory);
45
42
46
43
// Simulate missing assets.
47
- sdkFullDillPath = copySdkLayout.fullDillPath;
48
44
amdSdkJsPath = copySdkLayout.amdJsPath;
49
45
amdSdkJsMapPath = copySdkLayout.amdJsMapPath;
50
46
ddcSdkJsPath = copySdkLayout.ddcJsPath;
51
47
ddcSdkJsMapPath = copySdkLayout.ddcJsMapPath;
52
48
53
- _deleteIfExists (sdkFullDillPath);
54
49
_deleteIfExists (amdSdkJsPath);
55
50
_deleteIfExists (amdSdkJsMapPath);
56
51
_deleteIfExists (ddcSdkJsPath);
@@ -79,8 +74,6 @@ void main() {
79
74
expect (configuration.sdkDirectory, equals (sdkDirectory));
80
75
expect (configuration.compilerWorkerPath, equals (compilerWorkerPath));
81
76
82
- expect (sdkLayout.summaryPath, equals (sdkSummaryPath));
83
- expect (sdkLayout.fullDillPath, equals (sdkFullDillPath));
84
77
expect (sdkLayout.amdJsPath, equals (amdSdkJsPath));
85
78
expect (sdkLayout.amdJsMapPath, equals (amdSdkJsMapPath));
86
79
@@ -89,8 +82,6 @@ void main() {
89
82
configuration.validate ();
90
83
91
84
// Validate all assets exist.
92
- expect (sdkLayout.summaryPath, _exists);
93
- expect (sdkLayout.fullDillPath, _exists);
94
85
expect (sdkLayout.amdJsPath, _exists);
95
86
expect (sdkLayout.amdJsMapPath, _exists);
96
87
});
@@ -113,8 +104,6 @@ void main() {
113
104
expect (configuration.sdkDirectory, equals (sdkDirectory));
114
105
expect (configuration.compilerWorkerPath, equals (compilerWorkerPath));
115
106
116
- expect (sdkLayout.summaryPath, equals (sdkSummaryPath));
117
- expect (sdkLayout.fullDillPath, equals (sdkFullDillPath));
118
107
expect (sdkLayout.ddcJsPath, equals (ddcSdkJsPath));
119
108
expect (sdkLayout.ddcJsMapPath, equals (ddcSdkJsMapPath));
120
109
@@ -123,8 +112,6 @@ void main() {
123
112
configuration.validate ();
124
113
125
114
// Validate all assets exist.
126
- expect (sdkLayout.summaryPath, _exists);
127
- expect (sdkLayout.fullDillPath, _exists);
128
115
expect (sdkLayout.ddcJsPath, _exists);
129
116
expect (sdkLayout.ddcJsMapPath, _exists);
130
117
});
0 commit comments