@@ -22,7 +22,7 @@ class TestProject {
22
22
late Directory _fixturesCopy;
23
23
24
24
/// The top level directory in which we run the test server, e.g.
25
- /// "/tmp/_testSound ".
25
+ /// "/tmp/_test ".
26
26
String get absolutePackageDirectory =>
27
27
p.join (_fixturesCopy.absolute.path, packageDirectory);
28
28
@@ -39,7 +39,7 @@ class TestProject {
39
39
}
40
40
41
41
/// The path to the Dart entry file, e.g,
42
- /// "/tmp/_testSound /example/hello_world/main.dart":
42
+ /// "/tmp/_test /example/hello_world/main.dart":
43
43
String get dartEntryFilePath => p.joinAll ([
44
44
_fixturesCopy.absolute.path,
45
45
packageDirectory,
@@ -61,67 +61,67 @@ class TestProject {
61
61
62
62
TestProject .testPackage ({IndexBaseMode baseMode = IndexBaseMode .noBase})
63
63
: this ._(
64
- packageName: '_test_package_sound ' ,
65
- packageDirectory: '_testPackageSound ' ,
64
+ packageName: '_test_package ' ,
65
+ packageDirectory: '_test_package ' ,
66
66
webAssetsPath: 'web' ,
67
67
dartEntryFileName: 'main.dart' ,
68
68
htmlEntryFileName:
69
69
baseMode == IndexBaseMode .base ? 'base_index.html' : 'index.html' ,
70
70
);
71
71
72
72
static final testCircular1 = TestProject ._(
73
- packageName: '_test_circular1_sound ' ,
74
- packageDirectory: '_testCircular1Sound ' ,
73
+ packageName: '_test_circular1 ' ,
74
+ packageDirectory: '_test_circular1 ' ,
75
75
webAssetsPath: 'web' ,
76
76
dartEntryFileName: 'main.dart' ,
77
77
htmlEntryFileName: 'index.html' ,
78
78
);
79
79
80
80
TestProject .testCircular2 ({IndexBaseMode baseMode = IndexBaseMode .noBase})
81
81
: this ._(
82
- packageName: '_test_circular2_sound ' ,
83
- packageDirectory: '_testCircular2Sound ' ,
82
+ packageName: '_test_circular2 ' ,
83
+ packageDirectory: '_test_circular2 ' ,
84
84
webAssetsPath: 'web' ,
85
85
dartEntryFileName: 'main.dart' ,
86
86
htmlEntryFileName:
87
87
baseMode == IndexBaseMode .base ? 'base_index.html' : 'index.html' ,
88
88
);
89
89
90
90
static final test = TestProject ._(
91
- packageName: '_test_sound ' ,
92
- packageDirectory: '_testSound ' ,
91
+ packageName: '_test ' ,
92
+ packageDirectory: '_test ' ,
93
93
webAssetsPath: 'example/hello_world' ,
94
94
dartEntryFileName: 'main.dart' ,
95
95
htmlEntryFileName: 'index.html' ,
96
96
);
97
97
98
98
static final testScopes = TestProject ._(
99
- packageName: '_test_sound ' ,
100
- packageDirectory: '_testSound ' ,
99
+ packageName: '_test ' ,
100
+ packageDirectory: '_test ' ,
101
101
webAssetsPath: webCompatiblePath (['example' , 'scopes' ]),
102
102
dartEntryFileName: 'main.dart' ,
103
103
htmlEntryFileName: 'scopes.html' ,
104
104
);
105
105
106
106
static final testAppendBody = TestProject ._(
107
- packageName: '_test_sound ' ,
108
- packageDirectory: '_testSound ' ,
107
+ packageName: '_test ' ,
108
+ packageDirectory: '_test ' ,
109
109
webAssetsPath: webCompatiblePath (['example' , 'append_body' ]),
110
110
dartEntryFileName: 'main.dart' ,
111
111
htmlEntryFileName: 'index.html' ,
112
112
);
113
113
114
114
static final testExperiment = TestProject ._(
115
- packageName: '_experiment_sound ' ,
116
- packageDirectory: '_experimentSound ' ,
115
+ packageName: '_experiment ' ,
116
+ packageDirectory: '_experiment ' ,
117
117
webAssetsPath: 'web' ,
118
118
dartEntryFileName: 'main.dart' ,
119
119
htmlEntryFileName: 'index.html' ,
120
120
);
121
121
122
122
static final testHotRestart1 = TestProject ._(
123
123
packageName: '_test_hot_restart1' ,
124
- packageDirectory: '_testHotRestart1Sound ' ,
124
+ packageDirectory: '_test_hot_restart1 ' ,
125
125
webAssetsPath: 'web' ,
126
126
dartEntryFileName: 'main.dart' ,
127
127
htmlEntryFileName: 'index.html' ,
@@ -131,31 +131,31 @@ class TestProject {
131
131
/// order to test correctness when only a subset of libraries are updated.
132
132
static final testHotRestart2 = TestProject ._(
133
133
packageName: '_test_hot_restart2' ,
134
- packageDirectory: '_testHotRestart2Sound ' ,
134
+ packageDirectory: '_test_hot_restart2 ' ,
135
135
webAssetsPath: 'web' ,
136
136
dartEntryFileName: 'main.dart' ,
137
137
htmlEntryFileName: 'index.html' ,
138
138
);
139
139
140
140
static final testHotRestartBreakpoints = TestProject ._(
141
141
packageName: '_test_hot_restart_breakpoints' ,
142
- packageDirectory: '_testHotRestartBreakpoints ' ,
142
+ packageDirectory: '_test_hot_restart_breakpoints ' ,
143
143
webAssetsPath: 'web' ,
144
144
dartEntryFileName: 'main.dart' ,
145
145
htmlEntryFileName: 'index.html' ,
146
146
);
147
147
148
148
static final testHotReload = TestProject ._(
149
149
packageName: '_test_hot_reload' ,
150
- packageDirectory: '_testHotReload ' ,
150
+ packageDirectory: '_test_hot_reload ' ,
151
151
webAssetsPath: 'web' ,
152
152
dartEntryFileName: 'main.dart' ,
153
153
htmlEntryFileName: 'index.html' ,
154
154
);
155
155
156
156
static final testHotReloadBreakpoints = TestProject ._(
157
157
packageName: '_test_hot_reload_breakpoints' ,
158
- packageDirectory: '_testHotReloadBreakpoints ' ,
158
+ packageDirectory: '_test_hot_reload_breakpoints ' ,
159
159
webAssetsPath: 'web' ,
160
160
dartEntryFileName: 'main.dart' ,
161
161
htmlEntryFileName: 'index.html' ,
@@ -257,7 +257,7 @@ class TestProject {
257
257
}
258
258
259
259
/// The path to the Dart specified file in the 'lib' directory, e.g,
260
- /// "/tmp/_testSound /lib/library.dart":
260
+ /// "/tmp/_test /lib/library.dart":
261
261
String dartLibFilePath (String dartLibFileName) => p.joinAll ([
262
262
_fixturesCopy.absolute.path,
263
263
packageDirectory,
0 commit comments