Пример #1
0
        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);
        }
Пример #2
0
        public void SetUp()
        {
            beforeRunning();

            initializeBottles();

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

            theHarness = Harness.Run(configure, theContainer);
        }
Пример #3
0
        public void SetUp()
        {
            beforeRunning();

            initializeBottles();

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

            theHarness = Harness.Run(configure, theContainer);
        }
Пример #4
0
        public void SetUp()
        {
            beforeRunning();

            removeAllLinkedPackages();

            cleanAndRemoveAllPackages();

            initializeBottles();

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

            theHarness = Harness.Run(configure, theContainer);
        }
Пример #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);
        }
Пример #6
0
        public void SetUp()
        {
            beforeRunning();

            removeAllLinkedPackages();

            cleanAndRemoveAllPackages();

            initializeBottles();

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

            theHarness = Harness.Run(configure, theContainer);
        }
Пример #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);
        }
Пример #8
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);
        }
Пример #9
0
 protected void restart()
 {
     TearDown();
     theHarness = Harness.Run(configure, theContainer);
 }
Пример #10
0
 protected void restart()
 {
     TearDown();
     theHarness = Harness.Run(configure);
 }
Пример #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;
        }
Пример #12
0
 protected void restart()
 {
     TearDown();
     theHarness = Harness.Run(configure, theContainer);
 }