Пример #1
0
        private void PopulateTempOptions()
        {
            Log.Info("enter");

            ConfigurationOptions = new ConfigurationOptions();

            TempArgs = new string[2] {
                "-config", TestOptionsFile
            };
            ConfigurationOptions.PopulateConfig(TestArgs);
            SaveTempOptions();

            TempArgs = new string[2] {
                "-config", TempOptionsFile
            };
        }
Пример #2
0
        public TestUtilities()
        {
            Log.Info("enter");
            Directory.SetCurrentDirectory(TempDir);

            File.Copy(TestOptionsFile, TempOptionsFile, true);

            ConfigurationOptions = new ConfigurationOptions();

            //TempArgs = new string[2] { "-config", TestOptionsFile };
            ConfigurationOptions.PopulateConfig(TestArgs);
            //ConfigurationOptions.CacheLocation = "";// null;
            SaveTempOptions();

            TempArgs = new string[2] {
                "-config", TempOptionsFile
            };
        }