C# Class CrossUI.Testing.TestRunnerPortable

Inheritance: ITestRunner
Show file Open project: pragmatrix/CrossUI

Public Methods

Method Description
run ( ITestResultFactory resultFactory, string testAssemblyPath, Assembly testAssembly ) : ITestResultAssembly
run ( ITestResultFactory resultFactory, IDrawingBackend drawingBackend, Assembly assembly ) : ITestResultClass[]

Private Methods

Method Description
getTestableMethodsForType ( Type type ) : IEnumerable
runClassTest ( ITestResultFactory resultFactory, IDrawingBackend drawingBackend, Type type, IEnumerable methods ) : ITestResultMethod[]
runDrawingTargetTest ( ITestResultFactory resultFactory, IDrawingBackend drawingBackend, object instance, TestMethod testMethod ) : ITestResultMethod
runGeometryTargetTest ( ITestResultFactory resultFactory, IDrawingBackend drawingBackend, object instance, TestMethod testMethod ) : ITestResultMethod
runMethodTest ( ITestResultFactory resultFactory, IDrawingBackend drawingBackend, TestMethod testMethod, Action action ) : ITestResultMethod
runMethodTest ( ITestResultFactory resultFactory, IDrawingBackend drawingBackend, object instance, TestMethod testMethod ) : ITestResultMethod
runMethodTests ( ITestResultFactory resultFactory, IDrawingBackend drawingBackend, object instance, IEnumerable methods ) : ITestResultMethod[]
tryLocateDrawingBackend ( Assembly assembly ) : Type

Method Details

run() public method

public run ( ITestResultFactory resultFactory, string testAssemblyPath, Assembly testAssembly ) : ITestResultAssembly
resultFactory ITestResultFactory
testAssemblyPath string
testAssembly System.Reflection.Assembly
return ITestResultAssembly

run() public method

public run ( ITestResultFactory resultFactory, IDrawingBackend drawingBackend, Assembly assembly ) : ITestResultClass[]
resultFactory ITestResultFactory
drawingBackend IDrawingBackend
assembly System.Reflection.Assembly
return ITestResultClass[]