/// <summary> /// Helper for Ioe.*Tests /// </summary> /// <param name="host"></param> /// <param name="clnt"></param> /// <param name="test"></param> private static void IoeTestsHelper(IAspFixtureHost host, HttpWebClient clnt, String test) { //Test for Raise Invalid OperationException with ""Conversation already has another manager". string content = clnt.GetPage("/IoeTests.aspx?test=" + test).Trim(); Assert.AreEqual("OK", content, "/IoeTests.aspx?test=" + test + ": Request Error!! " + content); Assert.AreEqual("OK", (String)AspTestContext.HttpContext.Session["testResult"], (String)AspTestContext.HttpContext.Session["testResult"]); }
public virtual void TestFixtureTearDown() { host = AspFixtureHost.ReleaseInstance(host); }
public void TestFixtureSetUp() { host = AspFixtureHost.CreateInstance("/", "/Data/Spring/Conversation/WebConversationStateTest", this); }
public virtual void TestFixtureSetup() { host = AspFixtureHost.CreateInstance(virtualPath, relativePhysicalPath, this); }