protected void OnLoadTestCase(object sender, CommandEventArgs e) { if (TestCommon != null) { TestCommon.testID = ListTestCases.Text; LabelTestName.Text = TestCommon.GetCurrentTestName(); LabelTestDescription.Text = TestCommon.GetCurrentTestDescription().Replace("<", "<").Replace(">", ">").Replace("\n", "<br/>"); LabelExpectedResult.Text = TestCommon.GetCurrentExpectedResult().Replace("<", "<").Replace(">", ">").Replace("\n", "<br/>"); Reset(); } }
public string GetTestDescription() { TestInit(); if (m_TestCommon == null) { return("None"); } else { return(m_TestCommon.GetCurrentTestDescription()); } }