예제 #1
0
        public void TestAddFilesWithOwnAssembly()
        {
            PluginRepository testRepository = new PluginRepository();

            Assembly self = Assembly.GetAssembly(GetType());

            testRepository.AddFiles(self.Location);

            Assert.AreEqual(1, testRepository.LoadedAssemblies.Count);
        }
    public void TestAddFilesWithOwnAssembly() {
      PluginRepository testRepository = new PluginRepository();

      Assembly self = Assembly.GetAssembly(GetType());
      testRepository.AddFiles(self.Location);

      Assert.AreEqual(1, testRepository.LoadedAssemblies.Count);
    }
 public void TestAddFilesWithZeroMatches() {
   PluginRepository testRepository = new PluginRepository();
   testRepository.AddFiles(Guid.NewGuid().ToString());
 }
예제 #4
0
        public void TestAddFilesWithZeroMatches()
        {
            PluginRepository testRepository = new PluginRepository();

            testRepository.AddFiles(Guid.NewGuid().ToString());
        }