public TemplatesFixture() { var source = new UnitTestsTemplatesSource(); CodeGen.Initialize(source.Id, "0.0"); Repository = new TemplatesRepository(source, Version.Parse("0.0.0.0")); Repository.SynchronizeAsync(true).Wait(); }
private static TemplatesRepository CreateNewRepos() { var source = new LocalTemplatesSource(); CodeGen.Initialize(source.Id, "0.0"); var repos = new TemplatesRepository(source, Version.Parse("0.0.0.0")); repos.SynchronizeAsync(true).Wait(); return(repos); }