44 references to TestableAssembly
Microsoft.AspNetCore.InternalTesting.Tests (44)
AssemblyTestLogTests.cs (38)
33
AssemblyTestLog.ForAssembly(
TestableAssembly
.ThisAssembly),
34
AssemblyTestLog.ForAssembly(
TestableAssembly
.ThisAssembly));
43
var assembly =
TestableAssembly
.Create(typeof(AssemblyTestLog), logDirectory: tempDir);
45
var testName = $"{
TestableAssembly
.TestClassName}.{
TestableAssembly
.TestMethodName}";
47
var tfmPath = Path.Combine(tempDir, assemblyName,
TestableAssembly
.TFM);
49
var testLog = Path.Combine(tfmPath,
TestableAssembly
.TestClassName, $"{testName}.log");
57
className: $"{assemblyName}.{
TestableAssembly
.TestClassName}",
78
using var assemblyLog = AssemblyTestLog.Create(
TestableAssembly
.ThisAssembly, baseDirectory: null);
105
TestableAssembly
.ThisAssembly,
127
TestableAssembly
.ThisAssembly,
135
className: $"{
TestableAssembly
.ThisAssemblyName}.FakeTestClass",
150
TestableAssembly
.ThisAssemblyName,
151
TestableAssembly
.TFM,
155
TestableAssembly
.ThisAssemblyName,
156
TestableAssembly
.TFM,
186
TestableAssembly
.ThisAssemblyName,
187
TestableAssembly
.TFM,
191
TestableAssembly
.ThisAssemblyName,
192
TestableAssembly
.TFM,
197
TestableAssembly
.ThisAssembly,
205
className: $"{
TestableAssembly
.ThisAssemblyName}.FakeTestClass",
232
TestableAssembly
.ThisAssemblyName,
233
TestableAssembly
.TFM,
237
TestableAssembly
.ThisAssemblyName,
238
TestableAssembly
.TFM,
243
TestableAssembly
.ThisAssembly,
251
className: $"{
TestableAssembly
.ThisAssemblyName}.FakeTestClass",
278
TestableAssembly
.ThisAssembly,
286
className: $"{
TestableAssembly
.ThisAssemblyName}.FakeTestClass",
298
Path.Combine(tempDir,
TestableAssembly
.ThisAssemblyName,
TestableAssembly
.TFM, "FakeTestClass"))
320
TestableAssembly
.ThisAssembly,
330
className: $"{
TestableAssembly
.ThisAssemblyName}.FakeTestClass",
345
TestableAssembly
.ThisAssemblyName,
346
TestableAssembly
.TFM,
355
TestableAssembly
.ThisAssemblyName,
356
TestableAssembly
.TFM,
TestableAspNetTestAssemblyRunner.cs (5)
33
var assembly =
TestableAssembly
.Create(fixtureType, failTestCase: failTestCase);
65
var typeInfo = Reflector.Wrap(assembly.GetType(
TestableAssembly
.TestClassName));
66
assemblyInfo.Setup(r => r.GetType(
TestableAssembly
.TestClassName)).Returns(typeInfo);
87
var type = assembly.GetType(
TestableAssembly
.TestClassName);
89
var method = type.GetMethod(
TestableAssembly
.TestMethodName);
TestableAssembly.cs (1)
39
public static readonly Assembly ThisAssembly = typeof(
TestableAssembly
).GetTypeInfo().Assembly;