Exemplo n.º 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);
        }
Exemplo n.º 2
0
        public void SetUp()
        {
            beforeRunning();

            initializeBottles();

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

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

            initializeBottles();

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

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

            removeAllLinkedPackages();

            cleanAndRemoveAllPackages();

            initializeBottles();

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

            theHarness = Harness.Run(configure, theContainer);
        }
Exemplo 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);
        }
Exemplo n.º 6
0
        public void SetUp()
        {
            beforeRunning();

            removeAllLinkedPackages();

            cleanAndRemoveAllPackages();

            initializeBottles();

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

            theHarness = Harness.Run(configure, theContainer);
        }
Exemplo 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);
        }
Exemplo n.º 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);
        }
Exemplo n.º 9
0
 protected void restart()
 {
     TearDown();
     theHarness = Harness.Run(configure, theContainer);
 }
Exemplo n.º 10
0
 protected void restart()
 {
     TearDown();
     theHarness = Harness.Run(configure);
 }
Exemplo 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;
        }
Exemplo n.º 12
0
 protected void restart()
 {
     TearDown();
     theHarness = Harness.Run(configure, theContainer);
 }