public bool PosTest1() { bool retVal = true; const string c_TEST_DESC = "PosTest1: Create a new CompilerGeneratedAttribute instance ... "; const string c_TEST_ID = "P001"; TestLibrary.TestFramework.BeginScenario(c_TEST_DESC); try { System.Runtime.CompilerServices.CompilerGeneratedAttribute cga = new System.Runtime.CompilerServices.CompilerGeneratedAttribute(); if (cga == null) { string errorDesc = "the CompilerGeneratedAttribute ctor error occurred.)"; TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc); retVal = false; } } catch (Exception e) { TestLibrary.TestFramework.LogError("002", "Unexcpected exception occurs :" + e); retVal = false; } return retVal; }
public bool PosTest1() { bool retVal = true; const string c_TEST_DESC = "PosTest1: Create a new CompilerGeneratedAttribute instance ... "; const string c_TEST_ID = "P001"; TestLibrary.TestFramework.BeginScenario(c_TEST_DESC); try { System.Runtime.CompilerServices.CompilerGeneratedAttribute cga = new System.Runtime.CompilerServices.CompilerGeneratedAttribute(); if (cga == null) { string errorDesc = "the CompilerGeneratedAttribute ctor error occurred.)"; TestLibrary.TestFramework.LogError("001" + " TestId-" + c_TEST_ID, errorDesc); retVal = false; } } catch (Exception e) { TestLibrary.TestFramework.LogError("002", "Unexcpected exception occurs :" + e); retVal = false; } return(retVal); }