C# 클래스 BooCompiler.Tests.AbstractCompilerTestCase

파일 보기 프로젝트 열기: boo/boo-lang

보호된 프로퍼티들

프로퍼티 타입 설명
_baseTestCasesPath string
_compiler Boo.Lang.Compiler.BooCompiler
_output System.IO.StringWriter
_parameters Boo.Lang.Compiler.CompilerParameters

공개 메소드들

메소드 설명
CopyAssembly ( System assembly ) : void
CopyAssembly ( string location ) : void

보호된 메소드들

메소드 설명
CopyAssembliesFromTestCasePath ( ) : void
CopyDependencies ( ) : void
CustomizeCompilerParameters ( ) : void
GetRelativeTestCasesPath ( ) : string
GetTestCasePath ( string fname ) : string
InstallAssemblyResolver ( string path ) : System.ResolveEventHandler
RemoveAssemblyResolver ( System handler ) : void
Run ( string stdin, CompilerContext &context ) : string
RunAndAssert ( ) : void
RunCompilerTestCase ( string name ) : void
RunMultiFileTestCase ( ) : void
RunString ( string code ) : string
RunString ( string code, string stdin ) : string
SetUpCompilerPipeline ( ) : CompilerPipeline

Override in derived classes to use a different pipeline.

비공개 메소드들

메소드 설명
GetEnvironmentFlag ( string name, bool defaultValue ) : bool
GetFirstInputName ( CompilerContext context ) : string
HasErrors ( CompilerContext context ) : bool
SetUpFixture ( ) : void
SetUpTest ( ) : void
TearDownFixture ( ) : void

메소드 상세

CopyAssembliesFromTestCasePath() 보호된 메소드

protected CopyAssembliesFromTestCasePath ( ) : void
리턴 void

CopyAssembly() 공개 메소드

public CopyAssembly ( System assembly ) : void
assembly System
리턴 void

CopyAssembly() 공개 메소드

public CopyAssembly ( string location ) : void
location string
리턴 void

CopyDependencies() 보호된 메소드

protected CopyDependencies ( ) : void
리턴 void

CustomizeCompilerParameters() 보호된 메소드

protected CustomizeCompilerParameters ( ) : void
리턴 void

GetRelativeTestCasesPath() 보호된 메소드

protected GetRelativeTestCasesPath ( ) : string
리턴 string

GetTestCasePath() 보호된 메소드

protected GetTestCasePath ( string fname ) : string
fname string
리턴 string

InstallAssemblyResolver() 보호된 메소드

protected InstallAssemblyResolver ( string path ) : System.ResolveEventHandler
path string
리턴 System.ResolveEventHandler

RemoveAssemblyResolver() 보호된 메소드

protected RemoveAssemblyResolver ( System handler ) : void
handler System
리턴 void

Run() 보호된 메소드

protected Run ( string stdin, CompilerContext &context ) : string
stdin string
context Boo.Lang.Compiler.CompilerContext
리턴 string

RunAndAssert() 보호된 메소드

protected RunAndAssert ( ) : void
리턴 void

RunCompilerTestCase() 보호된 메소드

protected RunCompilerTestCase ( string name ) : void
name string
리턴 void

RunMultiFileTestCase() 보호된 메소드

protected RunMultiFileTestCase ( ) : void
리턴 void

RunString() 보호된 메소드

protected RunString ( string code ) : string
code string
리턴 string

RunString() 보호된 메소드

protected RunString ( string code, string stdin ) : string
code string
stdin string
리턴 string

SetUpCompilerPipeline() 보호된 메소드

Override in derived classes to use a different pipeline.
protected SetUpCompilerPipeline ( ) : CompilerPipeline
리턴 Boo.Lang.Compiler.CompilerPipeline

프로퍼티 상세

_baseTestCasesPath 보호되어 있는 프로퍼티

protected string _baseTestCasesPath
리턴 string

_compiler 보호되어 있는 프로퍼티

protected BooCompiler,Boo.Lang.Compiler _compiler
리턴 Boo.Lang.Compiler.BooCompiler

_output 보호되어 있는 프로퍼티

protected StringWriter,System.IO _output
리턴 System.IO.StringWriter

_parameters 보호되어 있는 프로퍼티

protected CompilerParameters,Boo.Lang.Compiler _parameters
리턴 Boo.Lang.Compiler.CompilerParameters