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