C# Class BooCompiler.Tests.AbstractCompilerTestCase

Afficher le fichier Open project: boo/boo-lang

Protected Properties

Свойство Type Description
_baseTestCasesPath string
_compiler Boo.Lang.Compiler.BooCompiler
_output System.IO.StringWriter
_parameters Boo.Lang.Compiler.CompilerParameters

Méthodes publiques

Méthode Description
CopyAssembly ( System assembly ) : void
CopyAssembly ( string location ) : void

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
GetEnvironmentFlag ( string name, bool defaultValue ) : bool
GetFirstInputName ( CompilerContext context ) : string
HasErrors ( CompilerContext context ) : bool
SetUpFixture ( ) : void
SetUpTest ( ) : void
TearDownFixture ( ) : void

Method Details

CopyAssembliesFromTestCasePath() protected méthode

protected CopyAssembliesFromTestCasePath ( ) : void
Résultat void

CopyAssembly() public méthode

public CopyAssembly ( System assembly ) : void
assembly System
Résultat void

CopyAssembly() public méthode

public CopyAssembly ( string location ) : void
location string
Résultat void

CopyDependencies() protected méthode

protected CopyDependencies ( ) : void
Résultat void

CustomizeCompilerParameters() protected méthode

protected CustomizeCompilerParameters ( ) : void
Résultat void

GetRelativeTestCasesPath() protected méthode

protected GetRelativeTestCasesPath ( ) : string
Résultat string

GetTestCasePath() protected méthode

protected GetTestCasePath ( string fname ) : string
fname string
Résultat string

InstallAssemblyResolver() protected méthode

protected InstallAssemblyResolver ( string path ) : System.ResolveEventHandler
path string
Résultat System.ResolveEventHandler

RemoveAssemblyResolver() protected méthode

protected RemoveAssemblyResolver ( System handler ) : void
handler System
Résultat void

Run() protected méthode

protected Run ( string stdin, CompilerContext &context ) : string
stdin string
context Boo.Lang.Compiler.CompilerContext
Résultat string

RunAndAssert() protected méthode

protected RunAndAssert ( ) : void
Résultat void

RunCompilerTestCase() protected méthode

protected RunCompilerTestCase ( string name ) : void
name string
Résultat void

RunMultiFileTestCase() protected méthode

protected RunMultiFileTestCase ( ) : void
Résultat void

RunString() protected méthode

protected RunString ( string code ) : string
code string
Résultat string

RunString() protected méthode

protected RunString ( string code, string stdin ) : string
code string
stdin string
Résultat string

SetUpCompilerPipeline() protected méthode

Override in derived classes to use a different pipeline.
protected SetUpCompilerPipeline ( ) : CompilerPipeline
Résultat Boo.Lang.Compiler.CompilerPipeline

Property Details

_baseTestCasesPath protected_oe property

protected string _baseTestCasesPath
Résultat string

_compiler protected_oe property

protected BooCompiler,Boo.Lang.Compiler _compiler
Résultat Boo.Lang.Compiler.BooCompiler

_output protected_oe property

protected StringWriter,System.IO _output
Résultat System.IO.StringWriter

_parameters protected_oe property

protected CompilerParameters,Boo.Lang.Compiler _parameters
Résultat Boo.Lang.Compiler.CompilerParameters