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); }
public void SetUp() { beforeRunning(); initializeBottles(); theContainer = new Container(); configureContainer(theContainer); theHarness = Harness.Run(configure, theContainer); }
public void SetUp() { beforeRunning(); removeAllLinkedPackages(); cleanAndRemoveAllPackages(); initializeBottles(); theContainer = new Container(); configureContainer(theContainer); theHarness = Harness.Run(configure, theContainer); }
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); }
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); }
protected void restart() { TearDown(); theHarness = Harness.Run(configure, theContainer); }
protected void restart() { TearDown(); theHarness = Harness.Run(configure); }
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; }