529 references to Create
Microsoft.Build.BuildCheck.UnitTests (17)
ConfigurationProvider_Tests.cs (7)
21
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
42
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
69
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
102
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
127
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
158
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
190
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
EditorConfigParser_Tests.cs (2)
63
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
95
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
EndToEndTests.cs (5)
31
_env = TestEnvironment.
Create
(output);
671
using (var env = TestEnvironment.
Create
())
851
using (var env = TestEnvironment.
Create
())
884
using (var env = TestEnvironment.
Create
())
912
using (var env = TestEnvironment.
Create
())
TaskInvocationAnalysisDataTests.cs (1)
83
using (var env = TestEnvironment.
Create
(_output))
TestAssemblyInfo.cs (2)
64
_testEnvironment = TestEnvironment.
Create
(output: null, ignoreBuildErrorFiles: true);
132
_testEnvironment = TestEnvironment.
Create
();
Microsoft.Build.CommandLine.UnitTests (29)
CommandLineSwitches_Tests.cs (3)
1133
using (TestEnvironment env = TestEnvironment.
Create
())
1420
using (TestEnvironment env = TestEnvironment.
Create
())
1601
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
MSBuildMultithreaded_Tests.cs (1)
120
_env = TestEnvironment.
Create
(output);
MSBuildServer_Tests.cs (1)
86
_env = TestEnvironment.
Create
(_output);
PerfLog_Tests.cs (2)
26
using (TestEnvironment testEnv = TestEnvironment.
Create
(_output))
61
using (TestEnvironment testEnv = TestEnvironment.
Create
(_output))
TestAssemblyInfo.cs (2)
64
_testEnvironment = TestEnvironment.
Create
(output: null, ignoreBuildErrorFiles: true);
132
_testEnvironment = TestEnvironment.
Create
();
XMake_BinlogSwitch_Tests.cs (1)
29
_env = TestEnvironment.
Create
(output);
XMake_Tests.cs (19)
84
_env = TestEnvironment.
Create
(_output);
556
using TestEnvironment env = TestEnvironment.
Create
();
596
using TestEnvironment env = TestEnvironment.
Create
();
779
using TestEnvironment env = TestEnvironment.
Create
();
815
using TestEnvironment env = TestEnvironment.
Create
();
869
using TestEnvironment env = TestEnvironment.
Create
();
888
using TestEnvironment env = TestEnvironment.
Create
();
922
using TestEnvironment env = TestEnvironment.
Create
();
950
using TestEnvironment env = TestEnvironment.
Create
();
1012
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
1222
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
1370
using (TestEnvironment env = TestEnvironment.
Create
())
2663
using (var env = TestEnvironment.
Create
())
2690
using (var env = TestEnvironment.
Create
())
2993
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
3025
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
3049
using var testEnvironment = TestEnvironment.
Create
();
3093
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
3137
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
Microsoft.Build.Engine.OM.UnitTests (46)
Construction\ConstructionEditing_Tests.cs (1)
3208
using (var env = TestEnvironment.
Create
())
Construction\ProjectRootElement_Tests.cs (4)
1287
using (var env = TestEnvironment.
Create
())
1326
using (var env = TestEnvironment.
Create
())
1588
using (var env = TestEnvironment.
Create
())
1728
using (var env = TestEnvironment.
Create
())
Construction\ProjectTargetElement_Tests.cs (1)
345
using (TestEnvironment env = TestEnvironment.
Create
())
Construction\SolutionFile_Tests.cs (1)
711
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
Definition\DefinitionEditing_Tests.cs (1)
1695
using (var env = TestEnvironment.
Create
())
Definition\Project_Tests.cs (17)
1443
using (var env = TestEnvironment.
Create
())
1508
using (var env = TestEnvironment.
Create
())
1594
using (var env = TestEnvironment.
Create
())
3250
using (var env = TestEnvironment.
Create
())
3278
using (var env = TestEnvironment.
Create
())
3571
using (var env = TestEnvironment.
Create
())
3764
using (var env = TestEnvironment.
Create
())
3841
using (var env = TestEnvironment.
Create
())
3860
using (var env = TestEnvironment.
Create
())
3889
using (var env = TestEnvironment.
Create
(_output))
3932
using (var env = TestEnvironment.
Create
(_output))
3971
using (var env = TestEnvironment.
Create
(_output))
4016
using (var env = TestEnvironment.
Create
(_output))
4063
using (var env = TestEnvironment.
Create
(_output))
4103
using (var env = TestEnvironment.
Create
(_output))
4146
using (var env = TestEnvironment.
Create
(_output))
4191
using (var env = TestEnvironment.
Create
(_output))
Definition\ProjectItem_Tests.cs (18)
62
_env = TestEnvironment.
Create
();
447
using (TestEnvironment env = TestEnvironment.
Create
())
776
using (var env = TestEnvironment.
Create
())
823
using (var env = TestEnvironment.
Create
())
931
using (var env = TestEnvironment.
Create
())
1096
using (var env = TestEnvironment.
Create
())
1149
using (var env = TestEnvironment.
Create
())
1169
using (var env = TestEnvironment.
Create
())
2153
using (var env = TestEnvironment.
Create
())
2179
using (var env = TestEnvironment.
Create
())
2210
using (var env = TestEnvironment.
Create
())
2270
using (var env = TestEnvironment.
Create
())
2552
using (var env = TestEnvironment.
Create
())
2589
using (var env = TestEnvironment.
Create
())
3115
using var env = TestEnvironment.
Create
();
3315
using var env = TestEnvironment.
Create
();
3705
using (var env = TestEnvironment.
Create
())
3744
using (var env = TestEnvironment.
Create
())
NugetRestoreTests.cs (1)
39
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
TestAssemblyInfo.cs (2)
64
_testEnvironment = TestEnvironment.
Create
(output: null, ignoreBuildErrorFiles: true);
132
_testEnvironment = TestEnvironment.
Create
();
Microsoft.Build.Engine.UnitTests (285)
BackEnd\AppHostSupport_Tests.cs (3)
88
using (TestEnvironment env = TestEnvironment.
Create
(_output))
107
using (TestEnvironment env = TestEnvironment.
Create
(_output))
135
using (TestEnvironment env = TestEnvironment.
Create
(_output))
BackEnd\AssemblyTaskFactory_E2E_Tests.cs (2)
31
using TestEnvironment env = TestEnvironment.
Create
(_output);
52
using TestEnvironment env = TestEnvironment.
Create
(_output);
BackEnd\BuildManager_Logging_Tests.cs (1)
75
_env = TestEnvironment.
Create
(output);
BackEnd\BuildManager_Tests.cs (4)
87
_env = TestEnvironment.
Create
(output);
3732
using (var env = TestEnvironment.
Create
())
4069
using (var env = TestEnvironment.
Create
(_output))
4121
using (var env = TestEnvironment.
Create
())
BackEnd\BuildRequestConfiguration_Tests.cs (1)
31
_env = TestEnvironment.
Create
(testOutput);
BackEnd\CacheAggregator_Tests.cs (6)
47
using (var env = TestEnvironment.
Create
())
60
using (var env = TestEnvironment.
Create
())
86
using (var env = TestEnvironment.
Create
())
113
using (var env = TestEnvironment.
Create
())
136
using (var env = TestEnvironment.
Create
())
167
using (var env = TestEnvironment.
Create
())
BackEnd\DebugUtils_tests.cs (3)
46
using TestEnvironment env = TestEnvironment.
Create
();
80
using TestEnvironment env = TestEnvironment.
Create
();
114
using (TestEnvironment env = TestEnvironment.
Create
())
BackEnd\GenerateTemporaryTargetAssembly_Tests.cs (1)
19
using (TestEnvironment testenv = TestEnvironment.
Create
())
BackEnd\IntrinsicTask_Tests.cs (2)
1823
using (var env = TestEnvironment.
Create
())
2522
using (var env = TestEnvironment.
Create
())
BackEnd\MSBuild_Tests.cs (3)
778
using TestEnvironment env = TestEnvironment.
Create
();
809
using TestEnvironment env = TestEnvironment.
Create
();
853
using TestEnvironment env = TestEnvironment.
Create
();
BackEnd\ResultsCache_Tests.cs (1)
402
using (var env = TestEnvironment.
Create
())
BackEnd\SdkResolverLoader_Tests.cs (8)
218
using (var env = TestEnvironment.
Create
(_output))
243
using (var env = TestEnvironment.
Create
(_output))
270
using (var env = TestEnvironment.
Create
(_output))
294
using (var env = TestEnvironment.
Create
(_output))
310
using (var env = TestEnvironment.
Create
(_output))
334
using (var env = TestEnvironment.
Create
(_output))
362
using (var env = TestEnvironment.
Create
(_output))
408
using (var env = TestEnvironment.
Create
(_output))
BackEnd\SdkResultOutOfProc_Tests.cs (1)
54
_env = TestEnvironment.
Create
(output);
BackEnd\TargetBuilder_Tests.cs (2)
221
using (var env = TestEnvironment.
Create
())
258
using (var env = TestEnvironment.
Create
())
BackEnd\TargetEntry_Tests.cs (1)
646
using (var env = TestEnvironment.
Create
(_output))
BackEnd\TaskBuilder_Tests.cs (3)
79
using TestEnvironment env = TestEnvironment.
Create
();
131
using (TestEnvironment env = TestEnvironment.
Create
(_testOutput))
645
using var env = TestEnvironment.
Create
();
BackEnd\TaskExecutionHost_Tests.cs (1)
1069
using TestEnvironment env = TestEnvironment.
Create
();
BackEnd\TaskHostCallback_Tests.cs (8)
39
using TestEnvironment env = TestEnvironment.
Create
(_output);
71
using TestEnvironment env = TestEnvironment.
Create
(_output);
118
using TestEnvironment env = TestEnvironment.
Create
(_output);
151
using TestEnvironment env = TestEnvironment.
Create
(_output);
183
using TestEnvironment env = TestEnvironment.
Create
(_output);
216
using TestEnvironment env = TestEnvironment.
Create
(_output);
261
using TestEnvironment env = TestEnvironment.
Create
(_output);
309
using TestEnvironment env = TestEnvironment.
Create
(_output);
BackEnd\TaskHostFactory_Tests.cs (4)
50
using (TestEnvironment env = TestEnvironment.
Create
())
157
using (TestEnvironment env = TestEnvironment.
Create
(_output))
224
using TestEnvironment env = TestEnvironment.
Create
(_output);
375
using TestEnvironment env = TestEnvironment.
Create
();
BackEnd\TaskRegistry_Tests.cs (1)
613
using (var env = TestEnvironment.
Create
(_output))
BackEnd\TaskRouter_IntegrationTests.cs (1)
37
_env = TestEnvironment.
Create
(output);
BinaryLogger_Tests.cs (6)
81
_env = TestEnvironment.
Create
(output);
321
using (TestEnvironment env = TestEnvironment.
Create
())
366
using (TestEnvironment env = TestEnvironment.
Create
())
555
using var env = TestEnvironment.
Create
();
599
using (TestEnvironment env = TestEnvironment.
Create
())
714
using (TestEnvironment env = TestEnvironment.
Create
())
ChangeWaves_Tests.cs (8)
81
using (TestEnvironment env = TestEnvironment.
Create
())
102
using (TestEnvironment env = TestEnvironment.
Create
())
123
using (TestEnvironment env = TestEnvironment.
Create
())
140
using (TestEnvironment env = TestEnvironment.
Create
())
160
using (TestEnvironment env = TestEnvironment.
Create
())
184
using (TestEnvironment env = TestEnvironment.
Create
())
198
using (TestEnvironment env = TestEnvironment.
Create
())
221
using (TestEnvironment env = TestEnvironment.
Create
())
CLR2TaskHost_E2E_Tests.cs (1)
42
using TestEnvironment env = TestEnvironment.
Create
(_output);
ConsoleLogger_Tests.cs (3)
189
using var env = TestEnvironment.
Create
(_output);
229
using var env = TestEnvironment.
Create
(_output);
272
using var env = TestEnvironment.
Create
(_output);
Construction\ProjectImportElement_Tests.cs (3)
20
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
57
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
97
using (var env = TestEnvironment.
Create
())
Construction\ProjectRootElement_Tests.cs (2)
69
using (var env = TestEnvironment.
Create
())
100
using (var env = TestEnvironment.
Create
())
Construction\SolutionFile_NewParser_Tests.cs (1)
133
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
Construction\SolutionFile_OldParser_Tests.cs (2)
296
using (var env = TestEnvironment.
Create
())
772
using (var env = TestEnvironment.
Create
())
Construction\SolutionFilter_Tests.cs (5)
51
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
211
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
229
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
290
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
392
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
Construction\SolutionProjectGenerator_Tests.cs (22)
67
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
96
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
119
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
164
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
239
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
400
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
441
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
518
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
559
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
926
using (TestEnvironment env = TestEnvironment.
Create
())
1317
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
1389
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
1585
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
1959
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
2020
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
2109
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
2372
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
2430
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
2489
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
2542
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
2920
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
2972
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
Definition\Project_Internal_Tests.cs (4)
233
using (var env = TestEnvironment.
Create
())
270
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
298
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
326
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
Definition\ProjectEvaluationContext_Tests.cs (1)
32
_env = TestEnvironment.
Create
();
Evaluation\EvaluationLogging_Tests.cs (1)
73
using (var env = TestEnvironment.
Create
())
Evaluation\Evaluator_Tests.cs (11)
56
using TestEnvironment env = TestEnvironment.
Create
();
74
using (TestEnvironment env = TestEnvironment.
Create
())
105
using (TestEnvironment env = TestEnvironment.
Create
())
979
using (TestEnvironment env = TestEnvironment.
Create
())
1742
using (var env = TestEnvironment.
Create
())
1826
using (var env = TestEnvironment.
Create
())
4597
using (var env = TestEnvironment.
Create
())
4646
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
4675
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
5030
using (TestEnvironment env = TestEnvironment.
Create
())
5078
using (TestEnvironment env = TestEnvironment.
Create
())
Evaluation\Expander_Tests.cs (12)
2628
using (var env = TestEnvironment.
Create
())
4883
using (var env = TestEnvironment.
Create
())
4927
using (var env = TestEnvironment.
Create
())
4962
using (var env = TestEnvironment.
Create
())
5002
using (var env = TestEnvironment.
Create
())
5043
using (var env = TestEnvironment.
Create
())
5083
using (var env = TestEnvironment.
Create
())
5126
using (var env = TestEnvironment.
Create
())
5172
using (var env = TestEnvironment.
Create
())
5203
using (var env = TestEnvironment.
Create
())
5232
using (var env = TestEnvironment.
Create
())
5272
using (var env = TestEnvironment.
Create
())
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (1)
865
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
Evaluation\IntrinsicFunctionOverload_Tests.cs (24)
32
using TestEnvironment env = TestEnvironment.
Create
();
54
using TestEnvironment env = TestEnvironment.
Create
();
76
using TestEnvironment env = TestEnvironment.
Create
();
98
using TestEnvironment env = TestEnvironment.
Create
();
120
using TestEnvironment env = TestEnvironment.
Create
();
131
using TestEnvironment env = TestEnvironment.
Create
();
172
using TestEnvironment env = TestEnvironment.
Create
();
213
using TestEnvironment env = TestEnvironment.
Create
();
263
using TestEnvironment env = TestEnvironment.
Create
();
285
using TestEnvironment env = TestEnvironment.
Create
();
307
using TestEnvironment env = TestEnvironment.
Create
();
329
using TestEnvironment env = TestEnvironment.
Create
();
349
using TestEnvironment env = TestEnvironment.
Create
();
371
using TestEnvironment env = TestEnvironment.
Create
();
393
using TestEnvironment env = TestEnvironment.
Create
();
415
using TestEnvironment env = TestEnvironment.
Create
();
435
using TestEnvironment env = TestEnvironment.
Create
();
457
using TestEnvironment env = TestEnvironment.
Create
();
479
using TestEnvironment env = TestEnvironment.
Create
();
501
using TestEnvironment env = TestEnvironment.
Create
();
521
using TestEnvironment env = TestEnvironment.
Create
();
543
using TestEnvironment env = TestEnvironment.
Create
();
565
using TestEnvironment env = TestEnvironment.
Create
();
588
using TestEnvironment env = TestEnvironment.
Create
();
Evaluation\ItemEvaluation_Tests.cs (3)
589
using (var env = TestEnvironment.
Create
())
652
using var env = TestEnvironment.
Create
();
682
using (var env = TestEnvironment.
Create
())
Evaluation\Preprocessor_Tests.cs (3)
848
using (TestEnvironment env = TestEnvironment.
Create
())
939
using (TestEnvironment env = TestEnvironment.
Create
())
1054
using (TestEnvironment env = TestEnvironment.
Create
())
Evaluation\ProjectCollection_Tests.cs (1)
22
using (TestEnvironment env = TestEnvironment.
Create
())
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
86
_env = TestEnvironment.
Create
();
Evaluation\SdkResultEvaluation_Tests.cs (1)
36
_env = TestEnvironment.
Create
();
EvaluationProfiler_Tests.cs (1)
62
_env = TestEnvironment.
Create
(output);
FileLogger_Tests.cs (2)
357
using (var env = TestEnvironment.
Create
())
393
using (var testEnvironment = TestEnvironment.
Create
())
FileMatcher_Tests.cs (6)
29
_env = TestEnvironment.
Create
(output);
1103
using (var env = TestEnvironment.
Create
())
1184
using (var env = TestEnvironment.
Create
())
1308
using (var env = TestEnvironment.
Create
())
1374
using (var env = TestEnvironment.
Create
())
1413
using (var env = TestEnvironment.
Create
())
Graph\GetCompatiblePlatformGraph_Tests.cs (11)
29
using (var env = TestEnvironment.
Create
())
56
using (var env = TestEnvironment.
Create
())
97
using (var env = TestEnvironment.
Create
())
139
using (var env = TestEnvironment.
Create
())
180
using (var env = TestEnvironment.
Create
())
207
using (var env = TestEnvironment.
Create
())
235
using (var env = TestEnvironment.
Create
())
262
using (var env = TestEnvironment.
Create
())
290
using (var env = TestEnvironment.
Create
())
320
using (var env = TestEnvironment.
Create
())
348
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
Graph\GraphLoadedFromSolution_tests.cs (1)
30
_env = TestEnvironment.
Create
(output);
Graph\IsolateProjects_Tests.cs (1)
136
_env = TestEnvironment.
Create
(_testOutput, ignoreBuildErrorFiles: true);
Graph\ProjectGraph_Tests.cs (45)
45
_env = TestEnvironment.
Create
(outputHelper);
63
using (var env = TestEnvironment.
Create
())
90
using (var env = TestEnvironment.
Create
())
101
using (var env = TestEnvironment.
Create
())
133
using (var env = TestEnvironment.
Create
())
180
using (var env = TestEnvironment.
Create
())
204
using (var env = TestEnvironment.
Create
())
226
using (var env = TestEnvironment.
Create
())
250
using (var env = TestEnvironment.
Create
())
304
using (var env = TestEnvironment.
Create
())
318
using (var env = TestEnvironment.
Create
())
331
using (var env = TestEnvironment.
Create
())
388
using (var env = TestEnvironment.
Create
())
421
using (var env = TestEnvironment.
Create
())
440
using (var env = TestEnvironment.
Create
())
480
using (var env = TestEnvironment.
Create
())
511
using (var env = TestEnvironment.
Create
())
553
using (var env = TestEnvironment.
Create
())
574
using (var env = TestEnvironment.
Create
())
595
using (var env = TestEnvironment.
Create
())
629
using (var env = TestEnvironment.
Create
())
666
using (var env = TestEnvironment.
Create
())
697
using (var env = TestEnvironment.
Create
())
918
using (var env = TestEnvironment.
Create
())
947
using (var env = TestEnvironment.
Create
())
975
using (var env = TestEnvironment.
Create
())
1001
using (var env = TestEnvironment.
Create
())
1019
using (var env = TestEnvironment.
Create
())
1037
using (var env = TestEnvironment.
Create
())
1060
using (var env = TestEnvironment.
Create
())
1083
using (var env = TestEnvironment.
Create
())
1098
using (var env = TestEnvironment.
Create
())
1127
using (var env = TestEnvironment.
Create
())
1168
using (var env = TestEnvironment.
Create
())
1284
using (var env = TestEnvironment.
Create
())
1390
using (var env = TestEnvironment.
Create
())
1408
using (var env = TestEnvironment.
Create
())
1438
using (var env = TestEnvironment.
Create
())
1472
using (var env = TestEnvironment.
Create
())
1629
using (var env = TestEnvironment.
Create
())
1810
using (var env = TestEnvironment.
Create
())
2326
using (var env = TestEnvironment.
Create
())
2345
using (var env = TestEnvironment.
Create
())
2834
using (var env = TestEnvironment.
Create
())
2890
using (var env = TestEnvironment.
Create
())
Graph\ResultCacheBasedBuilds_Tests.cs (1)
32
_env = TestEnvironment.
Create
(_output);
Instance\ProjectInstance_Internal_Tests.cs (3)
762
using (var env = TestEnvironment.
Create
())
890
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
918
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
MSBuildTaskHostTests.cs (1)
24
private readonly TestEnvironment _environment = TestEnvironment.
Create
(testOutput);
NetTaskHost_E2E_Tests.cs (9)
35
using TestEnvironment env = TestEnvironment.
Create
(_output);
64
using TestEnvironment env = TestEnvironment.
Create
(_output);
87
using TestEnvironment env = TestEnvironment.
Create
(_output);
109
using TestEnvironment env = TestEnvironment.
Create
(_output);
169
using TestEnvironment env = TestEnvironment.
Create
(_output);
186
using TestEnvironment env = TestEnvironment.
Create
(_output);
210
using TestEnvironment env = TestEnvironment.
Create
(_output);
233
using TestEnvironment env = TestEnvironment.
Create
(_output);
262
using TestEnvironment env = TestEnvironment.
Create
(_output);
PrintLineDebugger_Tests.cs (4)
112
using (var env = TestEnvironment.
Create
())
204
using (var env = TestEnvironment.
Create
())
226
using (var env = TestEnvironment.
Create
())
248
using (var env = TestEnvironment.
Create
())
ProjectCache\ProjectCacheTests.cs (1)
37
_env = TestEnvironment.
Create
(output);
TaskHostFactoryLifecycle_E2E_Tests.cs (1)
65
using TestEnvironment env = TestEnvironment.
Create
(_output);
Telemetry\Telemetry_Tests.cs (2)
240
using TestEnvironment env = TestEnvironment.
Create
();
278
using var testEnv = TestEnvironment.
Create
(_output);
TerminalLogger_Tests.cs (3)
215
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
897
using (TestEnvironment env = TestEnvironment.
Create
())
1028
using (TestEnvironment env = TestEnvironment.
Create
())
TerminalLoggerConfiguration_Tests.cs (1)
29
_env = TestEnvironment.
Create
(output);
TestAssemblyInfo.cs (2)
64
_testEnvironment = TestEnvironment.
Create
(output: null, ignoreBuildErrorFiles: true);
132
_testEnvironment = TestEnvironment.
Create
();
TypeLoader_Tests.cs (1)
100
using (TestEnvironment env = TestEnvironment.
Create
())
Utilities_Tests.cs (1)
72
using TestEnvironment env = TestEnvironment.
Create
();
WarningsAsMessagesAndErrors_Tests.cs (15)
44
using (TestEnvironment testEnvironment = TestEnvironment.
Create
(_output))
138
using (TestEnvironment testEnvironment = TestEnvironment.
Create
(_output))
287
using (TestEnvironment env = TestEnvironment.
Create
(_output))
319
using (TestEnvironment env = TestEnvironment.
Create
(_output))
376
using (TestEnvironment env = TestEnvironment.
Create
(_output))
405
using (TestEnvironment env = TestEnvironment.
Create
(_output))
427
using (TestEnvironment env = TestEnvironment.
Create
(_output))
452
using (TestEnvironment env = TestEnvironment.
Create
(_output))
474
using (TestEnvironment env = TestEnvironment.
Create
(_output))
494
using (TestEnvironment env = TestEnvironment.
Create
(_output))
514
using (TestEnvironment env = TestEnvironment.
Create
(_output))
537
using (TestEnvironment env = TestEnvironment.
Create
(_output))
568
using (TestEnvironment env = TestEnvironment.
Create
(_output))
607
using (TestEnvironment env = TestEnvironment.
Create
(_output))
644
using (TestEnvironment env = TestEnvironment.
Create
(_output))
Microsoft.Build.Framework.UnitTests (2)
TestAssemblyInfo.cs (2)
64
_testEnvironment = TestEnvironment.
Create
(output: null, ignoreBuildErrorFiles: true);
132
_testEnvironment = TestEnvironment.
Create
();
Microsoft.Build.Tasks.UnitTests (126)
AddToWin32Manifest_Tests.cs (2)
42
using (TestEnvironment env = TestEnvironment.
Create
())
80
using (TestEnvironment env = TestEnvironment.
Create
())
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (3)
123
using (TestEnvironment env = TestEnvironment.
Create
())
159
using (TestEnvironment env = TestEnvironment.
Create
())
185
using (TestEnvironment env = TestEnvironment.
Create
())
CodeTaskFactoryEmbeddedFileInBinlogTestHelper.cs (2)
27
using var env = TestEnvironment.
Create
();
103
using var env = TestEnvironment.
Create
();
Copy_Tests.cs (16)
143
using (var env = TestEnvironment.
Create
())
168
using (var env = TestEnvironment.
Create
())
194
using (var env = TestEnvironment.
Create
())
239
using (var env = TestEnvironment.
Create
())
263
using (var env = TestEnvironment.
Create
())
295
using (var env = TestEnvironment.
Create
())
320
using (var env = TestEnvironment.
Create
())
345
using (var env = TestEnvironment.
Create
())
369
using (var env = TestEnvironment.
Create
())
394
using (var env = TestEnvironment.
Create
())
419
using (var env = TestEnvironment.
Create
())
445
using (var env = TestEnvironment.
Create
())
472
using (var env = TestEnvironment.
Create
())
1125
using (var env = TestEnvironment.
Create
())
2579
using (var env = TestEnvironment.
Create
())
3005
using TestEnvironment env = TestEnvironment.
Create
();
CreateCSharpManifestResourceName_Tests.cs (7)
384
using (var env = TestEnvironment.
Create
(_testOutput))
416
using (var env = TestEnvironment.
Create
())
454
using (var env = TestEnvironment.
Create
())
487
using (var env = TestEnvironment.
Create
())
521
using (var env = TestEnvironment.
Create
())
552
using (var env = TestEnvironment.
Create
())
586
using (var env = TestEnvironment.
Create
(_testOutput))
CreateItem_Tests.cs (3)
189
using var env = TestEnvironment.
Create
(_testOutput);
292
using (var env = TestEnvironment.
Create
())
344
using (var env = TestEnvironment.
Create
())
DownloadFile_Tests.cs (6)
30
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
60
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
109
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
140
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
208
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
324
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
Exec_Tests.cs (7)
59
using (var testEnvironment = TestEnvironment.
Create
())
77
using (var env = TestEnvironment.
Create
())
115
using (var testEnvironment = TestEnvironment.
Create
())
554
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
954
using (var env = TestEnvironment.
Create
(_output))
1007
using (var env = TestEnvironment.
Create
(_output))
1059
using (var env = TestEnvironment.
Create
(_output))
FindUnderPath_Tests.cs (2)
47
using TestEnvironment env = TestEnvironment.
Create
();
76
using TestEnvironment env = TestEnvironment.
Create
();
GenerateBindingRedirects_Tests.cs (2)
28
_env = TestEnvironment.
Create
(output);
265
using (TestEnvironment env = TestEnvironment.
Create
())
GetSDKReference_Tests.cs (1)
274
using (TestEnvironment env = TestEnvironment.
Create
())
HintPathResolver_Tests.cs (1)
23
_env = TestEnvironment.
Create
(testOutput);
MSBuildInternalMessage_Tests.cs (5)
25
using (TestEnvironment env = TestEnvironment.
Create
())
70
using (TestEnvironment env = TestEnvironment.
Create
())
116
using (TestEnvironment env = TestEnvironment.
Create
())
194
using (TestEnvironment env = TestEnvironment.
Create
())
248
using (TestEnvironment env = TestEnvironment.
Create
())
PortableTasks_Tests.cs (1)
46
using (TestEnvironment env = TestEnvironment.
Create
(_outputHelper))
PrintLineDebugger_Tests.cs (4)
112
using (var env = TestEnvironment.
Create
())
204
using (var env = TestEnvironment.
Create
())
226
using (var env = TestEnvironment.
Create
())
248
using (var env = TestEnvironment.
Create
())
RARPrecomputedCache_Tests.cs (3)
22
using (TestEnvironment env = TestEnvironment.
Create
())
57
using (TestEnvironment env = TestEnvironment.
Create
())
109
using (TestEnvironment env = TestEnvironment.
Create
())
RemoveDir_Tests.cs (2)
51
using (TestEnvironment env = TestEnvironment.
Create
(_output))
103
using (TestEnvironment env = TestEnvironment.
Create
(_output))
ResolveAssemblyReference_CustomCultureTests.cs (1)
41
using (TestEnvironment env = TestEnvironment.
Create
(_output))
ResourceHandling\GenerateResource_Tests.cs (4)
30
_env = TestEnvironment.
Create
(output);
2268
using TestEnvironment env = TestEnvironment.
Create
();
2344
using var env = TestEnvironment.
Create
(_output);
3935
using (var env = TestEnvironment.
Create
())
ResourceHandling\MSBuildResXReader_Tests.cs (2)
154
using (var env = TestEnvironment.
Create
(_output))
301
using var env = TestEnvironment.
Create
(_output);
ResourceManagement_Tests.cs (1)
145
using var env = TestEnvironment.
Create
();
RoslynCodeTaskFactory_Tests.cs (18)
48
using (TestEnvironment env = TestEnvironment.
Create
())
96
using (TestEnvironment env = TestEnvironment.
Create
())
216
using var env = TestEnvironment.
Create
();
303
using (TestEnvironment env = TestEnvironment.
Create
())
423
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
520
using (TestEnvironment env = TestEnvironment.
Create
())
537
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
553
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
729
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
775
using (TestEnvironment env = TestEnvironment.
Create
())
895
using var env = TestEnvironment.
Create
();
1104
using (TestEnvironment env = TestEnvironment.
Create
())
1174
using (TestEnvironment env = TestEnvironment.
Create
())
1272
using (TestEnvironment env = TestEnvironment.
Create
())
1319
using (TestEnvironment env = TestEnvironment.
Create
())
1367
using (TestEnvironment env = TestEnvironment.
Create
())
1451
using (TestEnvironment env = TestEnvironment.
Create
())
1490
using (TestEnvironment env = TestEnvironment.
Create
())
SGen_Tests.cs (1)
21
using (TestEnvironment testenv = TestEnvironment.
Create
())
TaskFactoryUtilities_Tests.cs (1)
34
using (var env = TestEnvironment.
Create
())
TestAssemblyInfo.cs (2)
64
_testEnvironment = TestEnvironment.
Create
(output: null, ignoreBuildErrorFiles: true);
132
_testEnvironment = TestEnvironment.
Create
();
Unzip_Tests.cs (14)
25
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
54
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
111
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
184
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
213
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
236
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
257
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
287
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
317
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
355
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
384
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
413
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
442
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
471
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
WriteCodeFragment_Tests.cs (5)
107
using TestEnvironment env = TestEnvironment.
Create
();
130
using TestEnvironment env = TestEnvironment.
Create
();
150
using TestEnvironment env = TestEnvironment.
Create
();
409
using TestEnvironment env = TestEnvironment.
Create
();
430
using TestEnvironment env = TestEnvironment.
Create
();
WriteLinesToFile_Tests.cs (7)
173
using TestEnvironment testEnv = TestEnvironment.
Create
(_output);
317
using (var testEnv = TestEnvironment.
Create
())
346
using (var testEnv = TestEnvironment.
Create
())
374
using (var testEnv = TestEnvironment.
Create
())
397
using (var testEnv = TestEnvironment.
Create
(_output))
458
using (var testEnv = TestEnvironment.
Create
(_output))
535
using (var testEnv = TestEnvironment.
Create
(_output))
ZipDirectory_Tests.cs (3)
40
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
99
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
141
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
Microsoft.Build.UnitTests.Shared (3)
ObjectModelHelpers.cs (3)
139
using (var env = TestEnvironment.
Create
())
1413
using (var env = TestEnvironment.
Create
())
1468
using (var env = TestEnvironment.
Create
(testOutput))
Microsoft.Build.Utilities.UnitTests (21)
EncodingUtilities_Tests.cs (1)
45
using TestEnvironment testEnvironment = TestEnvironment.
Create
();
PrintLineDebugger_Tests.cs (4)
112
using (var env = TestEnvironment.
Create
())
204
using (var env = TestEnvironment.
Create
())
226
using (var env = TestEnvironment.
Create
())
248
using (var env = TestEnvironment.
Create
())
TestAssemblyInfo.cs (2)
64
_testEnvironment = TestEnvironment.
Create
(output: null, ignoreBuildErrorFiles: true);
132
_testEnvironment = TestEnvironment.
Create
();
ToolLocationHelper_Tests.cs (9)
2497
using (var env = TestEnvironment.
Create
())
2526
using (var env = TestEnvironment.
Create
())
2549
using (var env = TestEnvironment.
Create
())
2582
using (var env = TestEnvironment.
Create
())
2595
using (var env = TestEnvironment.
Create
())
2612
using (var env = TestEnvironment.
Create
())
2629
using (var env = TestEnvironment.
Create
())
2644
using (var env = TestEnvironment.
Create
())
2661
using (var env = TestEnvironment.
Create
())
ToolTask_Tests.cs (5)
724
using (var env = TestEnvironment.
Create
())
855
using (TestEnvironment testEnvironment = TestEnvironment.
Create
())
911
using TestEnvironment testEnvironment = TestEnvironment.
Create
(_output);
979
using var env = TestEnvironment.
Create
(_output);
1010
using var env = TestEnvironment.
Create
(_output);