Ejemplo n.º 1
0
 private MetaPackage readMetaPackage(string packageFile)
 {
     try {
         return(MetaPackage.Read(packageFile));
     } catch {
         Console.WriteLine("Failed to read meta package: " + Path.GetFileName(packageFile));
         return(null);
     }
 }
Ejemplo n.º 2
0
 public void When_reading_an_invalid_package_it_returns_null()
 {
     Assert.That(MetaPackage.Read("/this/path/is/not/very/likely/to/exist.meta"), Is.Null);
 }