public void SetUp()
        {
            runBottles("alias harness " + Harness.GetApplicationDirectory().FileEscape());

            runBottles("link harness --clean-all");
            runFubu("packages harness --clean-all --remove-all");

            initializeBottles();
            theHarness = Harness.Run(configure);
        }
Esempio n. 2
0
        public void SetUp()
        {
            beforeRunning();

            initializeBottles();

            theContainer = new Container();
            configureContainer(theContainer);

            theHarness = Harness.Run(configure, theContainer);
        }
Esempio n. 3
0
        public void SetUp()
        {
            beforeRunning();

            initializeBottles();

            theContainer = new Container();
            configureContainer(theContainer);

            theHarness = Harness.Run(configure, theContainer);
        }
Esempio n. 4
0
        public void SetUp()
        {
            beforeRunning();

            removeAllLinkedPackages();

            cleanAndRemoveAllPackages();

            initializeBottles();

            theContainer = new Container();
            configureContainer(theContainer);

            theHarness = Harness.Run(configure, theContainer);
        }
Esempio n. 5
0
        public static Harness Run(Action <FubuRegistry> configure, IContainer container)
        {
            var applicationDirectory = GetApplicationDirectory();

            FubuMvcPackageFacility.PhysicalRootPath = applicationDirectory;


            var simpleSource = new SimpleSource(configure, container);
            var runtime      = simpleSource.BuildApplication().Bootstrap();

            var harness = new Harness(runtime, PortFinder.FindPort(_port++));

            _port = Port + 1;
            return(harness);
        }
Esempio n. 6
0
        public void SetUp()
        {
            beforeRunning();

            removeAllLinkedPackages();

            cleanAndRemoveAllPackages();

            initializeBottles();

            theContainer = new Container();
            configureContainer(theContainer);

            theHarness = Harness.Run(configure, theContainer);
        }
Esempio n. 7
0
        public void SetUp()
        {
            beforeRunning();

            runBottles("alias harness " + Harness.GetApplicationDirectory().FileEscape());

            runBottles("link harness --clean-all");
            runFubu("packages harness --clean-all --remove-all");

            initializeBottles();

            theContainer = new Container();
            configureContainer(theContainer);

            theHarness = Harness.Run(configure, theContainer);
        }
        public void SetUp()
        {
            beforeRunning();

            runBottles("alias harness " + Harness.GetApplicationDirectory().FileEscape());

            runBottles("link harness --clean-all");
            runFubu("packages harness --clean-all --remove-all");

            initializeBottles();

            theContainer = new Container();
            configureContainer(theContainer);

            theHarness = Harness.Run(configure, theContainer);
        }
Esempio n. 9
0
 protected void restart()
 {
     TearDown();
     theHarness = Harness.Run(configure, theContainer);
 }
Esempio n. 10
0
 protected void restart()
 {
     TearDown();
     theHarness = Harness.Run(configure);
 }
Esempio n. 11
0
        public static Harness Run(Action<FubuRegistry> configure, IContainer container)
        {
            var applicationDirectory = GetApplicationDirectory();
            FubuMvcPackageFacility.PhysicalRootPath = applicationDirectory;

            var simpleSource = new SimpleSource(configure, container);
            var runtime = simpleSource.BuildApplication().Bootstrap();

            var harness = new Harness(runtime, PortFinder.FindPort(_port++));

            _port = Port + 1;
            return harness;
        }
Esempio n. 12
0
 protected void restart()
 {
     TearDown();
     theHarness = Harness.Run(configure, theContainer);
 }