//public bool PosTest2() //{ // bool retVal = true; // TestLibrary.TestFramework.BeginScenario("PosTest2: "); // try // { // // // // Add your test logic here // // // } // catch (Exception e) // { // TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e); // retVal = false; // } // return retVal; //} #endregion #region Nagetive Test Cases #endregion #endregion public static int Main() { OpCodeFlowControl test = new OpCodeFlowControl(); TestLibrary.TestFramework.BeginTestCase("OpCodeFlowControl"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }
//public bool PosTest2() //{ // bool retVal = true; // TestLibrary.TestFramework.BeginScenario("PosTest2: "); // try // { // // // // Add your test logic here // // // } // catch (Exception e) // { // TestLibrary.TestFramework.LogError("004", "Unexpected exception: " + e); // retVal = false; // } // return retVal; //} #endregion #region Nagetive Test Cases #endregion #endregion public static int Main() { OpCodeFlowControl test = new OpCodeFlowControl(); TestLibrary.TestFramework.BeginTestCase("OpCodeFlowControl"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }