22 references to StringUtils
Microsoft.VisualStudio.TestPlatform.ObjectModel (22)
ConnectionInfo\TestRunnerConnectionInfoExtensions.cs (1)
21
if (!
StringUtils
.IsNullOrEmpty(connectionInfo.LogFile))
DataCollector\DataCollectorSettings.cs (3)
108
if (!
StringUtils
.IsNullOrWhiteSpace(AssemblyQualifiedName))
113
if (!
StringUtils
.IsNullOrWhiteSpace(FriendlyName))
120
if (!
StringUtils
.IsNullOrWhiteSpace(CodeBase))
Logger\LoggerSettings.cs (4)
112
if (
StringUtils
.IsNullOrWhiteSpace(attributeValue))
183
if (
StringUtils
.IsNullOrWhiteSpace(settings.FriendlyName) &&
184
StringUtils
.IsNullOrWhiteSpace(settings.Uri?.ToString()) &&
185
StringUtils
.IsNullOrWhiteSpace(settings.AssemblyQualifiedName))
Navigation\FullSymbolReader.cs (2)
132
if (
StringUtils
.IsNullOrEmpty(searchPath))
455
TPDebug.Assert(!
StringUtils
.IsNullOrEmpty(methodName), "MethodName cannot be empty.");
RunSettings\RunConfiguration.cs (4)
564
if (!
StringUtils
.IsNullOrEmpty(TargetDevice))
571
if (!
StringUtils
.IsNullOrEmpty(TestCaseFilter))
578
if (!
StringUtils
.IsNullOrEmpty(DotnetHostPath))
642
if (
StringUtils
.IsNullOrEmpty(resultsDir))
TestCase.cs (5)
293
private static readonly TestProperty ManagedTypeProperty = TestProperty.Register("TestCase.ManagedType", "ManagedType", string.Empty, string.Empty, typeof(string), o => !
StringUtils
.IsNullOrWhiteSpace(o as string), TestPropertyAttributes.Hidden, typeof(TestCase));
294
private static readonly TestProperty ManagedMethodProperty = TestProperty.Register("TestCase.ManagedMethod", "ManagedMethod", string.Empty, string.Empty, typeof(string), o => !
StringUtils
.IsNullOrWhiteSpace(o as string), TestPropertyAttributes.Hidden, typeof(TestCase));
296
private bool ContainsManagedMethodAndType => !
StringUtils
.IsNullOrWhiteSpace(ManagedMethod) && !
StringUtils
.IsNullOrWhiteSpace(ManagedType);
354
return !
StringUtils
.IsNullOrWhiteSpace((string?)value);
TestResult.cs (3)
135
if (!
StringUtils
.IsNullOrWhiteSpace(ErrorStackTrace))
151
if (!
StringUtils
.IsNullOrEmpty(message?.Category) && !
StringUtils
.IsNullOrEmpty(message.Text))