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