11 references to IsNullOrEmpty
Microsoft.TestPlatform.Build (11)
Tasks\TestTaskUtils.cs (9)
38
if (task.VSTestConsolePath != null && !task.VSTestConsolePath.ItemSpec.
IsNullOrEmpty
())
48
if (!task.VSTestSetting.
IsNullOrEmpty
())
65
if (!task.VSTestPlatform.
IsNullOrEmpty
() && !task.VSTestPlatform.Contains("AnyCPU"))
95
if (task.TestFileFullPath == null || task.TestFileFullPath.ItemSpec.
IsNullOrEmpty
())
141
if (!task.VSTestBlameCrashDumpType.
IsNullOrEmpty
())
151
if (!task.VSTestBlameHangDumpType.
IsNullOrEmpty
())
156
if (!task.VSTestBlameHangTimeout.
IsNullOrEmpty
())
204
if (task.VSTestTraceDataCollectorDirectoryPath != null && !task.VSTestTraceDataCollectorDirectoryPath.ItemSpec.
IsNullOrEmpty
())
251
return StringUtils.
IsNullOrEmpty
(dotnetHostPath) ? null : Path.GetFullPath(dotnetHostPath);
Tasks\VSTestTask.cs (1)
79
if (!VSTestFramework.
IsNullOrEmpty
())
Tasks\VSTestTask2.cs (1)
166
var testResultWithTime = !formattedDuration.
IsNullOrEmpty
() ? $"{indicator} {displayName} [{formattedDuration}]" : $"{indicator} {displayName}";