You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: TUnit.Core.SourceGenerator.Tests/AbstractTests.Concrete1.verified.txt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -42,17 +42,17 @@ file partial class Inherited_ConcreteClass1 : global::TUnit.Core.Interfaces.Sour
42
42
}
43
43
],
44
44
Parameters = [],
45
-
Class = new global::TUnit.Core.SourceGeneratedClassInformation
45
+
Class = global::TUnit.Core.SourceGeneratedClassInformation.GetOrAdd("global::TUnit.TestProject.AbstractTests.ConcreteClass1", () => new global::TUnit.Core.SourceGeneratedClassInformation
46
46
{
47
47
Type = typeof(global::TUnit.TestProject.AbstractTests.ConcreteClass1),
48
-
Assembly = new global::TUnit.Core.SourceGeneratedAssemblyInformation
48
+
Assembly = global::TUnit.Core.SourceGeneratedAssemblyInformation.GetOrAdd("AbstractTests", () => new global::TUnit.Core.SourceGeneratedAssemblyInformation
49
49
{
50
50
Name = "AbstractTests",
51
51
Attributes =
52
52
[
53
53
54
54
],
55
-
},
55
+
}),
56
56
Name = "ConcreteClass1",
57
57
Namespace = "TUnit.TestProject.AbstractTests",
58
58
Attributes =
@@ -64,7 +64,7 @@ file partial class Inherited_ConcreteClass1 : global::TUnit.Core.Interfaces.Sour
64
64
],
65
65
Parameters = [],
66
66
Properties = [],
67
-
},
67
+
}),
68
68
};
69
69
70
70
var testBuilderContext = new global::TUnit.Core.TestBuilderContext();
Copy file name to clipboardExpand all lines: TUnit.Core.SourceGenerator.Tests/AbstractTests.Concrete2.verified.txt
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -42,17 +42,17 @@ file partial class ConcreteClass2 : global::TUnit.Core.Interfaces.SourceGenerato
42
42
}
43
43
],
44
44
Parameters = [],
45
-
Class = new global::TUnit.Core.SourceGeneratedClassInformation
45
+
Class = global::TUnit.Core.SourceGeneratedClassInformation.GetOrAdd("global::TUnit.TestProject.AbstractTests.ConcreteClass2", () => new global::TUnit.Core.SourceGeneratedClassInformation
46
46
{
47
47
Type = typeof(global::TUnit.TestProject.AbstractTests.ConcreteClass2),
48
-
Assembly = new global::TUnit.Core.SourceGeneratedAssemblyInformation
48
+
Assembly = global::TUnit.Core.SourceGeneratedAssemblyInformation.GetOrAdd("AbstractTests", () => new global::TUnit.Core.SourceGeneratedAssemblyInformation
49
49
{
50
50
Name = "AbstractTests",
51
51
Attributes =
52
52
[
53
53
54
54
],
55
-
},
55
+
}),
56
56
Name = "ConcreteClass2",
57
57
Namespace = "TUnit.TestProject.AbstractTests",
58
58
Attributes =
@@ -64,7 +64,7 @@ file partial class ConcreteClass2 : global::TUnit.Core.Interfaces.SourceGenerato
64
64
],
65
65
Parameters = [],
66
66
Properties = [],
67
-
},
67
+
}),
68
68
};
69
69
70
70
var testBuilderContext = new global::TUnit.Core.TestBuilderContext();
@@ -157,17 +157,17 @@ file partial class Inherited_ConcreteClass2 : global::TUnit.Core.Interfaces.Sour
157
157
}
158
158
],
159
159
Parameters = [],
160
-
Class = new global::TUnit.Core.SourceGeneratedClassInformation
160
+
Class = global::TUnit.Core.SourceGeneratedClassInformation.GetOrAdd("global::TUnit.TestProject.AbstractTests.ConcreteClass2", () => new global::TUnit.Core.SourceGeneratedClassInformation
161
161
{
162
162
Type = typeof(global::TUnit.TestProject.AbstractTests.ConcreteClass2),
163
-
Assembly = new global::TUnit.Core.SourceGeneratedAssemblyInformation
163
+
Assembly = global::TUnit.Core.SourceGeneratedAssemblyInformation.GetOrAdd("AbstractTests", () => new global::TUnit.Core.SourceGeneratedAssemblyInformation
164
164
{
165
165
Name = "AbstractTests",
166
166
Attributes =
167
167
[
168
168
169
169
],
170
-
},
170
+
}),
171
171
Name = "ConcreteClass2",
172
172
Namespace = "TUnit.TestProject.AbstractTests",
173
173
Attributes =
@@ -179,7 +179,7 @@ file partial class Inherited_ConcreteClass2 : global::TUnit.Core.Interfaces.Sour
179
179
],
180
180
Parameters = [],
181
181
Properties = [],
182
-
},
182
+
}),
183
183
};
184
184
185
185
var testBuilderContext = new global::TUnit.Core.TestBuilderContext();
@@ -272,17 +272,17 @@ file partial class Inherited_ConcreteClass1 : global::TUnit.Core.Interfaces.Sour
272
272
}
273
273
],
274
274
Parameters = [],
275
-
Class = new global::TUnit.Core.SourceGeneratedClassInformation
275
+
Class = global::TUnit.Core.SourceGeneratedClassInformation.GetOrAdd("global::TUnit.TestProject.AbstractTests.ConcreteClass1", () => new global::TUnit.Core.SourceGeneratedClassInformation
276
276
{
277
277
Type = typeof(global::TUnit.TestProject.AbstractTests.ConcreteClass1),
278
-
Assembly = new global::TUnit.Core.SourceGeneratedAssemblyInformation
278
+
Assembly = global::TUnit.Core.SourceGeneratedAssemblyInformation.GetOrAdd("AbstractTests", () => new global::TUnit.Core.SourceGeneratedAssemblyInformation
279
279
{
280
280
Name = "AbstractTests",
281
281
Attributes =
282
282
[
283
283
284
284
],
285
-
},
285
+
}),
286
286
Name = "ConcreteClass1",
287
287
Namespace = "TUnit.TestProject.AbstractTests",
288
288
Attributes =
@@ -294,7 +294,7 @@ file partial class Inherited_ConcreteClass1 : global::TUnit.Core.Interfaces.Sour
294
294
],
295
295
Parameters = [],
296
296
Properties = [],
297
-
},
297
+
}),
298
298
};
299
299
300
300
var testBuilderContext = new global::TUnit.Core.TestBuilderContext();
0 commit comments