Beispiel #1
0
 public virtual void TestCreateNonRecursiveWithNonExistingDir()
 {
     try
     {
         FileContextTestHelper.CreateFileNonRecursive(fc, GetTestRootPath(fc, "NonExisting/foo"
                                                                          ));
         NUnit.Framework.Assert.Fail("Create with non existing parent dir should have failed"
                                     );
     }
     catch (IOException)
     {
     }
 }