Exemple #1
0
        public SolutionGraphScenario(string directory, string cacheDirectory)
        {
            _directory      = directory;
            _cacheDirectory = cacheDirectory;
            _fileSystem     = new FileSystem();

            var builder = new SolutionGraphBuilder(_fileSystem);

            _graph = new Lazy <SolutionGraph>(() => builder.ReadFrom(_directory));
        }
Exemple #2
0
 public void can_read_from_a_ripple_folder_by_going_up_one()
 {
     theBuilder.ReadFrom(theScenario.Directory.AppendPath("FubuCore"))
     .AllSolutions.Select(x => x.Name).OrderBy(x => x)
     .ShouldHaveTheSameElementsAs("Bottles", "FubuCore", "FubuLocalization", "FubuMVC", "FubuMVC.Core.UI", "FubuMVC.Core.View", "HtmlTags");
 }