private const long c_DELTA = 9999999; // ticks (0.999 seconds) public static int Main() { AutoResetEventReset test = new AutoResetEventReset(); TestLibrary.TestFramework.BeginTestCase("AutoResetEventReset"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }
private const long c_DELTA = 9999999; // ticks (0.999 seconds) public static int Main() { AutoResetEventReset test = new AutoResetEventReset(); TestLibrary.TestFramework.BeginTestCase("AutoResetEventReset"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }