The MockerTestBase<(Of <(<'TComponent>)>)> type exposes the following members.
|
Name |
Description |
|
MockerTestBase<(Of <(<'TComponent>)>)>()()()()
|
Create instance with default actions and no extra setup. See other constructors to set Mocks before instantiation of the Component.
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>))
|
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>), Func<(Of <<'(Mocker, TComponent>)>>))
|
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>), Action<(Of <<'(TComponent>)>>))
|
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(Func<(Of <<'(Mocker, TComponent>)>>))
|
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(Func<(Of <<'(Mocker, TComponent>)>>), Action<(Of <<'(TComponent>)>>))
|
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(TComponent>)>>))
|
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(Boolean)
|
Create instance and setting mock resolution. Mock resolution is on by default.
When it is off, it may not be able to fill in properties or other injections of components.
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>), Nullable<(Of <<'(Func<(Of <<'(Mocker, TComponent>)>>)>)>>), Action<(Of <<'(TComponent>)>>))
|
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(array<Type>[]()[][])
|
Create instance using the component constructor that matches the type parameters.
|
|
MockerTestBase<(Of <(<'TComponent>)>)>(Action<(Of <<'(Mocker>)>>), Action<(Of <<'(TComponent>)>>), array<Type>[]()[][])
|
|
|
Name |
Description |
|
CreateComponent
|
Sets the Component property with a new instance while maintaining the constructor setup and any
other changes.
|
|
Dispose(Boolean)
|
Releases unmanaged and - optionally - managed resources.
|
|
Dispose()()()()
|
|
|
GetConstructor
|
Gets the constructor.
|
|
TestAllConstructorParameters
|
Tests all constructor parameters.
|
|
TestConstructorParameters(Action<(Of <<'(Action, String, String>)>>), Nullable<(Of <<'(Func<(Of <<'(ParameterInfo, Nullable<(Of <<'(Object>)>>)>)>>)>)>>), Nullable<(Of <<'(Func<(Of <<'(ParameterInfo, Nullable<(Of <<'(Object>)>>)>)>>)>)>>))
|
Tests the constructor parameters.
|
|
TestConstructorParameters(ConstructorInfo, Action<(Of <<'(Action, String, String>)>>), Nullable<(Of <<'(Func<(Of <<'(ParameterInfo, Nullable<(Of <<'(Object>)>>)>)>>)>)>>), Nullable<(Of <<'(Func<(Of <<'(ParameterInfo, Nullable<(Of <<'(Object>)>>)>)>>)>)>>))
|
Tests the constructor parameters.
|
|
WaitFor<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>), TimeSpan, TimeSpan)
|
Waits for an action.
|
|
WaitFor<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>))
|
Waits for an action.
|
|
WaitFor<(Of <<'(T>)>>)(Func<(Of <<'(T>)>>), TimeSpan)
|
Waits for an action.
|
|
Name |
Description |
|
Component
|
Gets or sets the component under test.
|
|
CreateComponentAction
|
Gets or sets the create component action. This action is run whenever the component is created.
|
|
CreatedComponentAction
|
Gets or sets the created component action. This action is run after the component is created.
|
|
CustomMocks
|
Gets or sets the custom mocks. These are added whenever the component is created.
|
|
Mocks
|
|
|
SetupMocksAction
|
Gets or sets the setup mocks action. This action is run before the component is created.
|