static public int Main() { FileModeAppend test = new FileModeAppend(); TestLibrary.TestFramework.BeginTestCase("System.IO.FileMode.Append"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return 100; } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return 0; } }
static public int Main() { FileModeAppend test = new FileModeAppend(); TestLibrary.TestFramework.BeginTestCase("System.IO.FileMode.Append"); if (test.RunTests()) { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("PASS"); return(100); } else { TestLibrary.TestFramework.EndTestCase(); TestLibrary.TestFramework.LogInformation("FAIL"); return(0); } }