public void SetUp()
        {
            theConfig = new SolutionConfig();

            theSolution = new Solution();
            p1 = theSolution.AddProject("Project1");
            p2 = theSolution.AddProject("Project2");

            p1.AddDependency(new Dependency("Bottles"));
            p1.AddDependency(new Dependency("FubuCore", "1.1.2.3", UpdateMode.Fixed));

            p2.AddDependency(new Dependency("FubuCore", "1.1.2.3", UpdateMode.Fixed));
            p2.AddDependency(new Dependency("FubuLocalization"));
            p2.AddDependency(new Dependency("StructureMap", "2.6.3", UpdateMode.Fixed));

            theLoader = new ClassicRippleSolutionLoader();
            theLoader.ExtractSolutionLevelConfiguration(theConfig, theSolution);
        }
        public void SetUp()
        {
            theFeed = new Feed();
            theConfig = new SolutionConfig
                {
                    Feeds = new[] {theFeed}
                };

            const string rippleConfig = "ripple.config";
            var fileSystem = MockRepository.GenerateStub<IFileSystem>();
            fileSystem.Stub(x => x.LoadFromFile<SolutionConfig>(rippleConfig)).Return(theConfig);

            theLoader = new ClassicRippleSolutionLoader();
            theSolution = theLoader.LoadFrom(fileSystem, rippleConfig);
        }
        public void SetUp()
        {
            theConfig = new SolutionConfig();
            theConfig.FloatNuget("Bottles");
            theConfig.FloatNuget("FubuCore");
            theConfig.FloatNuget("FubuLocalization");

            theSolution = new Solution();
            p1 = theSolution.AddProject("Project1");
            p2 = theSolution.AddProject("Project2");

            p1.AddDependency(new Dependency("Bottles", "1.1.2.3", UpdateMode.Fixed));
            p1.AddDependency(new Dependency("FubuCore", "1.1.2.3", UpdateMode.Fixed));

            p2.AddDependency(new Dependency("FubuLocalization", "1.0.0.1", UpdateMode.Fixed));
            p2.AddDependency(new Dependency("StructureMap", "2.6.3", UpdateMode.Fixed));

            theLoader = new ClassicRippleSolutionLoader();
            theLoader.MarkFloatingDependencies(theConfig, theSolution);
        }