Ejemplo n.º 1
0
 public void Valid()
 {
     var processor = new Processor
         {
             AddinSearchPaths = new List<string>
                 {
                     Path.GetFullPath("Packages")
                 }
         };
     processor.CacheAllFodyAddinDlls();
     Assert.IsNotNull( processor.FindAddinAssembly("SampleTask"));
 }
Ejemplo n.º 2
0
 public void NotFound()
 {
     var processor = new Processor
         {
             AddinSearchPaths = new List<string>
                 {
                     Path.GetFullPath("Packages")
                 }
         };
     processor.CacheAllFodyAddinDlls();
     Assert.IsNull(processor.FindAddinAssembly("DoesNotExist"));
 }