protected override void SetUp() { base.SetUp(); name = new TextBoxTester("name", CurrentWebForm); comments = new TextBoxTester("comments", CurrentWebForm); save = new ButtonTester("save", CurrentWebForm); book = new DataGridTester("book", CurrentWebForm); // we use GuestBook.Web as a test target web host = AspFixtureHost.CreateInstance("/testweb", "../../../../src/GuestBook.Web", this); // note new pseudo-protocol "asptest" here and that virtual paths are *always* app-relative: //Browser.GetPage("http://localhost/NUnitAsp/sample/tutorial/GuestBook/GuestBook.aspx"); Browser.GetPage("asptest://./GuestBook.aspx"); }
public virtual void TestFixtureTearDown() { host = AspFixtureHost.ReleaseInstance(host); }
public virtual void TestFixtureSetup() { host = AspFixtureHost.CreateInstance(virtualPath, relativePhysicalPath, this); }
public void TestFixtureSetUp() { host = AspFixtureHost.CreateInstance("/", "/Data/Spring/Conversation/WebConversationStateTest", this); }
protected override void TearDown() { AspFixtureHost.ReleaseInstance(host); host = null; base.TearDown(); }
private AspFixtureRequest(AspFixtureHost host, Uri uri) : base(uri) { _host = host; }
public void TestFixtureSetUp() { host = AspFixtureHost.CreateInstance("/", "/TestData/Test1", this); }