12 references to IsNullOrEmpty
Microsoft.TestPlatform.Build (12)
Tasks\TestTaskUtils.cs (10)
41
if (task.VSTestConsolePath != null && !task.VSTestConsolePath.ItemSpec.
IsNullOrEmpty
())
51
if (!task.VSTestSetting.
IsNullOrEmpty
())
70
if (!task.VSTestPlatform.
IsNullOrEmpty
() && !task.VSTestPlatform.Contains("AnyCPU"))
100
if (task.TestFileFullPath == null || task.TestFileFullPath.ItemSpec.
IsNullOrEmpty
())
158
if (!task.VSTestBlameCrashDumpType.
IsNullOrEmpty
())
168
if (!task.VSTestBlameHangDumpType.
IsNullOrEmpty
())
173
if (!task.VSTestBlameHangTimeout.
IsNullOrEmpty
())
221
if (task.VSTestTraceDataCollectorDirectoryPath != null && !task.VSTestTraceDataCollectorDirectoryPath.ItemSpec.
IsNullOrEmpty
())
385
if (!StringUtils.
IsNullOrEmpty
(trimmed))
403
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}";