public bool PosTest1() { bool retVal = true; // Add your scenario description here TestLibrary.TestFramework.BeginScenario("PosTest1: Verify method GetEncoder"); try { UTF8Encoding utf8 = new UTF8Encoding(); Encoder encoder = utf8.GetEncoder(); } catch (Exception e) { TestLibrary.TestFramework.LogError("001", "Unexpected exception: " + e); TestLibrary.TestFramework.LogInformation(e.StackTrace); retVal = false; } return retVal; }
public Utf8BufferTextWriter() { _encoder = _utf8NoBom.GetEncoder(); }
public void PosTest1() { UTF8Encoding utf8 = new UTF8Encoding(); Encoder encoder = utf8.GetEncoder(); }
public void PosTest1() { UTF8Encoding utf8 = new UTF8Encoding(); Encoder encoder = utf8.GetEncoder(); }