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