public void Start() { Bootstrapper boot = new Bootstrapper(); boot.Start(this.GetType().Assembly); _isInstalled = false; installerstack.Clear(); }
public void Install_when_installer_is_registered() { var installer = new DemoStartupInstaller(); Bootstrapper boot = new Bootstrapper(); boot.Start(this.GetType().Assembly); Assert.IsTrue(_isInstalled); }
public void Install_when_application_is_started() { Assert.IsFalse(_isInstalled); Bootstrapper boot = new Bootstrapper(); boot.Start(this.GetType().Assembly); Assert.IsTrue(_isInstalled); }
public void Install_items_as_a_tree() { Bootstrapper boot = new Bootstrapper(); boot.Start(this.GetType().Assembly); Assert.AreEqual("Child", installerstack.Pop()); Assert.AreEqual("Parent", installerstack.Pop()); Assert.AreEqual("Parent Base", installerstack.Pop()); Assert.AreEqual(0, installerstack.Count); }
public void Initialize() { //CrowCore.RegisterOnDemand(new MyAspectStartupInstaller()); Bootstrapper boot = new Bootstrapper(); boot.Start(this.GetType().Assembly); }