Exemplo n.º 1
0
 public void PathRemoveRelativeParts_RelativePath_PathTraversal()
 {
     Assert.AreEqual(FILE_NAME, Bio.PathRemoveRelativeParts(PATH_TRAVERSAL_PATH));
 }
Exemplo n.º 2
0
 public void PathRemoveRelativeParts_RelativePath()
 {
     Assert.AreEqual(FILE_NAME, Bio.PathRemoveRelativeParts(RELATIVE_FILE));
 }
Exemplo n.º 3
0
 public void PathRemoveRelativeParts_RelativePath_NoReplacementsNecessary()
 {
     Assert.AreEqual(FILE_NAME, Bio.PathRemoveRelativeParts(FILE_NAME));
 }
Exemplo n.º 4
0
 public void PathRemoveRelativeParts_AbsolutePath()
 {
     Assert.AreEqual(ABSOLUTE_FILE, Bio.PathRemoveRelativeParts(ABSOLUTE_FILE));
 }
Exemplo n.º 5
0
 public void PathRemoveRelativeParts_EmptyString()
 {
     Assert.AreEqual("", Bio.PathRemoveRelativeParts(""));
     Assert.AreEqual("", Bio.PathRemoveRelativeParts(string.Empty));
 }
Exemplo n.º 6
0
 public void PathRemoveRelativeParts_Null_ShouldThrowException()
 {
     Bio.PathRemoveRelativeParts(null);
 }