C# Class BooCompiler.Tests.BooTestCaseUtil

Helper methods for testing the boo libraries.
Show file Open project: boo/boo-lang Class Usage Examples

Public Methods

Method Description
AssertEquals ( string message, Boo.Lang.Compiler.Ast.CompileUnit expected, Boo.Lang.Compiler.Ast.CompileUnit actual ) : void
AssertEqualsByLine ( string sample, string expected, string actual ) : void
GetTestCasePath ( string sample ) : string
LoadSample ( string fname ) : string
ToXmlString ( Node node ) : string

Method Details

AssertEquals() public static method

public static AssertEquals ( string message, Boo.Lang.Compiler.Ast.CompileUnit expected, Boo.Lang.Compiler.Ast.CompileUnit actual ) : void
message string
expected Boo.Lang.Compiler.Ast.CompileUnit
actual Boo.Lang.Compiler.Ast.CompileUnit
return void

AssertEqualsByLine() public static method

public static AssertEqualsByLine ( string sample, string expected, string actual ) : void
sample string
expected string
actual string
return void

GetTestCasePath() public static method

public static GetTestCasePath ( string sample ) : string
sample string
return string

LoadSample() public static method

public static LoadSample ( string fname ) : string
fname string
return string

ToXmlString() public static method

public static ToXmlString ( Node node ) : string
node Node
return string