public void SetUp()
        {
            _DB = new DatabaseDataContext();

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

            PluginLoader.Clear();
        }
Example #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 !!!!!!!!!!!!!!
            }
        }
Example #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\\"
                 )
             );
     }
 }
Example #4
0
 public void Test_CleanAndInsertTestData(string appPath)
 {
     using (DatabaseDataContext db = new DatabaseDataContext())
         db.Test_CleanAndInsertDummyData(appPath);
 }