public void PathValidatorTest_InvalidUrlPath(string path, string os) { if ((os == "windows" && RuntimeEnvironmentHelper.IsWindows) || (os == "unix-base" && !RuntimeEnvironmentHelper.IsWindows)) { Assert.False(PathValidator.IsValidUrl(path)); } }
public void PathValidatorTest_ValidRelativePath(string path, string os) { if ((os == "windows" && RuntimeEnvironmentHelper.IsWindows) || (os == "unix-base" && !RuntimeEnvironmentHelper.IsWindows)) { Assert.True(PathValidator.IsValidRelativePath(path)); } }
public void PathValidatorTest_ValidUrlPath(string path) { Assert.True(PathValidator.IsValidUrl(path)); }