コード例 #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);
 }