2 instantiations of TestEntry
Microsoft.Extensions.FileProviders.Embedded.Tests (2)
Manifest\TestEntry.cs (2)
18
new
TestEntry
() { Name = name, Children = entries };
21
new
TestEntry
() { Name = name, ResourcePath = path ?? name };
97 references to TestEntry
Microsoft.Extensions.FileProviders.Embedded.Tests (97)
Manifest\ManifestParserTests.cs (7)
16
TestEntry
.Directory("unused",
17
TestEntry
.File("sample.txt")));
31
TestEntry
.Directory("unused",
32
TestEntry
.File("sample.txt")),
47
TestEntry
.Directory("unused",
48
TestEntry
.File("sample.txt"),
49
TestEntry
.File("SAMPLE.TXT")));
Manifest\TestEntry.cs (6)
14
public
TestEntry
[] Children { get; set; }
17
public static
TestEntry
Directory(string name, params
TestEntry
[] entries) =>
20
public static
TestEntry
File(string name, string path = null) =>
27
public IEnumerable<
TestEntry
> GetFiles()
31
return Enumerable.Empty<
TestEntry
>();
ManifestEmbeddedFileProviderTests.cs (83)
19
TestEntry
.Directory("unused",
20
TestEntry
.File("jquery.validate.js"),
21
TestEntry
.File("jquery.min.js"),
22
TestEntry
.File("site.css")));
55
TestEntry
.Directory("unused",
56
TestEntry
.Directory("wwwroot",
57
TestEntry
.File("jquery.validate.js"),
58
TestEntry
.File("jquery.min.js"),
59
TestEntry
.File("site.css"))));
92
TestEntry
.Directory("unused",
93
TestEntry
.Directory("wwwroot",
94
TestEntry
.File("jquery.validate.js"),
95
TestEntry
.File("jquery.min.js"),
96
TestEntry
.File("site.css"))));
112
TestEntry
.Directory("unused",
113
TestEntry
.Directory("wwwroot",
114
TestEntry
.File("jquery.validate.js"),
115
TestEntry
.File("jquery.min.js"),
116
TestEntry
.File("site.css"))));
132
TestEntry
.Directory("unused",
133
TestEntry
.Directory("wwwroot",
134
TestEntry
.File("jquery.validate.js"),
135
TestEntry
.File("jquery.min.js"),
136
TestEntry
.File("site.css"))));
154
TestEntry
.Directory("unused",
155
TestEntry
.Directory("wwwroot",
156
TestEntry
.File("jquery.validate.js"),
157
TestEntry
.File("jquery.min.js"),
158
TestEntry
.File("site.css"))));
177
TestEntry
.Directory("unused",
178
TestEntry
.Directory("wwwroot",
179
TestEntry
.File("jquery.validate.js"),
180
TestEntry
.File("jquery.min.js"),
181
TestEntry
.File("site.css"))));
200
TestEntry
.Directory("unused",
201
TestEntry
.Directory("wwwroot",
202
TestEntry
.File("jquery.validate.js"),
203
TestEntry
.File("jquery.min.js"),
204
TestEntry
.File("site.css"))));
225
TestEntry
.Directory("unused",
226
TestEntry
.Directory("wwwroot",
227
TestEntry
.File("jquery.validate.js"),
228
TestEntry
.File("jquery.min.js"),
229
TestEntry
.File("site.css"))));
245
TestEntry
.Directory("unused",
246
TestEntry
.Directory("wwwroot",
247
TestEntry
.File("jquery.validate.js"),
248
TestEntry
.File("jquery.min.js"),
249
TestEntry
.File("site.css"))));
272
TestEntry
.Directory("unused",
273
TestEntry
.Directory("wwwroot",
274
TestEntry
.File("jquery.validate.js"),
275
TestEntry
.File("jquery.min.js"),
276
TestEntry
.File("site.css"))));
297
TestEntry
.Directory("unused",
298
TestEntry
.Directory("wwwroot"),
299
TestEntry
.File("site.css")));
321
TestEntry
.Directory("unused",
322
TestEntry
.Directory("wwwroot"),
323
TestEntry
.File("site.css")));
339
TestEntry
.Directory("unused",
340
TestEntry
.Directory("wwwroot"),
341
TestEntry
.File("site.css")));
363
TestEntry
.Directory("unused",
364
TestEntry
.Directory("wwwroot",
365
TestEntry
.File("jquery.validate.js"),
366
TestEntry
.File("jquery.min.js"),
367
TestEntry
.File("site.css"))));
382
TestEntry
.Directory("unused",
383
TestEntry
.Directory("wwwroot",
384
TestEntry
.File("site.css")),
385
TestEntry
.File("data.json"),
386
TestEntry
.Directory("config",
387
TestEntry
.File("release.json"),
388
TestEntry
.File("testing.json"))));
427
TestEntry
.Directory("unused",
428
TestEntry
.Directory("wwwroot",
429
TestEntry
.File("jquery.validate.js")),
430
TestEntry
.File("site.css")));
455
TestEntry
.Directory("unused",
456
TestEntry
.Directory("wwwroot",
457
TestEntry
.File("jquery.validate.js")),
458
TestEntry
.File("site.css")));
TestAssembly.cs (1)
28
public TestAssembly(
TestEntry
entry, string manifestName = "Microsoft.Extensions.FileProviders.Embedded.Manifest.xml")