예제 #1
0
        public void SetUp()
        {
            _DB = new DatabaseDataContext();

            _DB.Test_CleanAndInsertDummyData(Regex.Replace(System.Environment.CurrentDirectory, "(src)(\\\\)(test)(\\\\)[\\w.-]+(\\\\)(bin)(\\\\)(Debug|Release)$", "bin\\plugins\\"));

            PluginLoader.Clear();
        }
예제 #2
0
        public void SetUp()
        {
            _DB = new DatabaseDataContext();

            _DB.Test_CleanAndInsertDummyData(Regex.Replace(Environment.CurrentDirectory, "(src)(\\\\)(test)(\\\\)[\\w.-]+(\\\\)(bin)(\\\\)(Debug|Release)$", "bin\\plugins\\"));
            foreach (AssemblyInfo info in _DB.AssemblyInfo_Get(null, null, null, null, null, null, null, true))
            {
                PluginLoader.Add(info.Version + ", " + info.Name, info.ReadURL); // Add AssemblyIdentifier !!!!!!!!!!!!!!
            }
        }
예제 #3
0
 public void Setup()
 {
     using (DatabaseDataContext db = new DatabaseDataContext())
     {
         db.Test_CleanAndInsertDummyData(
             Regex.Replace(
                 System.Environment.CurrentDirectory,
                 "(src)(\\\\)(test)(\\\\)[\\w.-]+(\\\\)(bin)(\\\\)(Debug|Release)$",
                 "bin\\plugins\\"
                 )
             );
     }
 }
예제 #4
0
 public void Test_CleanAndInsertTestData(string appPath)
 {
     using (DatabaseDataContext db = new DatabaseDataContext())
         db.Test_CleanAndInsertDummyData(appPath);
 }