Exemplo n.º 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();
     }
 }
Exemplo n.º 2
0
 public string GetTestExpectedResult()
 {
     TestInit();
     if (m_TestCommon == null)
     {
         return("None");
     }
     else
     {
         return(m_TestCommon.GetCurrentExpectedResult());
     }
 }