Inheritance: IDisposable
Beispiel #1
0
        //public IConfigSource UserFileSource { get; private set; }

        public static GitScenario Setup(string testName)
        {
            var scenario = new GitScenario(testName);

            File.WriteAllText(scenario.SystemFile, SystemDefaultContent);
            File.WriteAllText(scenario.UserFile, UserDefaultContent);
            File.WriteAllText(scenario.RepoFile, RepoDefaultContent);

            return(scenario);
        }
Beispiel #2
0
        public static GitScenario Setup(string testName)
        {
            var scenario = new GitScenario(testName);

            File.WriteAllText(scenario.SystemFile, SystemDefaultContent);
            File.WriteAllText(scenario.UserFile, UserDefaultContent);
            File.WriteAllText(scenario.RepoFile, RepoDefaultContent);

            return scenario;
        }