コード例 #1
0
 public void op_ToDirectory_stringEmpty(string value)
 {
     Assert.Throws <ArgumentOutOfRangeException>(() => AssemblyExtensionMethods.ToDirectory(value));
 }
コード例 #2
0
 public void op_ToDirectory_stringNull()
 {
     Assert.Throws <ArgumentNullException>(() => AssemblyExtensionMethods.ToDirectory(null));
 }
コード例 #3
0
 public void op_ToDirectory_stringDirectoryRoot()
 {
     Assert.Throws <DirectoryNotFoundException>(() => AssemblyExtensionMethods.ToDirectory(@"C:\"));
 }