public void SetUp() { _empty = new ErrorList(); _filled = new ErrorList(); _filled.StackTrace = "à SomeClass.SomeMethod() dans C:\\folder\\file1.cs:ligne 20\r\n" + "à ExternClass.ExternMethod()\r\n" + "à AnotherExternClass.AnotherExternMethod()\r\n" + "à SomeClass2.SomeMethod2() dans C:\\folder\\file2.cs:ligne 42\r\n" + "à SomeClass3.SomeMethod3() dans C:\\folder\\AnotherFile2.cs:ligne 93\r\n"; _renderer = new DefaultErrorListRenderer(); Image img = new Bitmap(300, 100); _gr = Graphics.FromImage(img); return; }
public void UseDefaultRenderer() { _renderer = new DefaultErrorListRenderer(); }