Пример #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());
        }