Esempio n. 1
0
 public void CheckInvalidPathCharsNullTest()
 {
     Assert.Throws <ArgumentNullException>(() => LinuxPath.CheckInvalidPathChars(null));
 }
Esempio n. 2
0
 public void CheckInvalidPathCharsTest()
 {
     // Should not throw an exception.
     LinuxPath.CheckInvalidPathChars("/var/test");
 }
Esempio n. 3
0
 public void CheckInvalidPathCharsTest3()
 {
     // Should throw an exception.
     Assert.Throws <ArgumentException>(() => LinuxPath.CheckInvalidPathChars("\t/var/test"));
 }
Esempio n. 4
0
 public void CheckInvalidPathCharsNullTest()
 {
     LinuxPath.CheckInvalidPathChars(null);
 }