C# Class MsgPack.TestClass

Represents a test class which groups related tests and holds their states.
Exibir arquivo Open project: msgpack/msgpack-cli

Public Methods

Method Description
NewTest ( ) : TestClassInstance

Creates a new, initialized TestClassInstance which represents instantiated test class information.

TestClass ( string name, Func instanceFactory, int methodCount, object>.Action testClassInstanceInitializer ) : System

Initializes a new instance.

Method Details

NewTest() public method

Creates a new, initialized TestClassInstance which represents instantiated test class information.

TestClass() public method

Initializes a new instance.
The is null or empty. The is null.
public TestClass ( string name, Func instanceFactory, int methodCount, object>.Action testClassInstanceInitializer ) : System
name string The name of the test class.
instanceFactory Func The delegate which instantiate "test class" instance.
methodCount int The ount of test methods in the test class.
testClassInstanceInitializer object>.Action The delegate which initializes instance with "test class" instance.
return System