Summary
Base class for tool fixtures.
- Namespace
- Cake
.Testing .Fixtures - Base Types
-
- object
- ToolFixture
<TToolSettings, ToolFixtureResult>
graph BT
Type-->Base0["ToolFixture<TToolSettings, ToolFixtureResult>"]
Base0-->Base1["object"]
Type["ToolFixture<TToolSettings>"]
class Type type-node
Syntax
public abstract class ToolFixture<TToolSettings> : ToolFixture<TToolSettings, ToolFixtureResult>
where TToolSettings : ToolSettings, new()
Type Parameters
Name | Description |
---|---|
TToolSettings | The type of the tool settings. |
Constructors
Name | Summary |
---|---|
ToolFixture |
Initializes a new instance of the ToolFixture<TToolSettings> class.
|
Methods
Name | Value | Summary |
---|---|---|
CreateResult |
ToolFixtureResult |
Creates the tool fixture result from the provided
tool path and process settings.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
Given |
void |
Ensures that the tool does not exist under the tool settings tool path.
|
Given |
void |
Ensures that the tool's process is unable to start.
|
Given |
void |
Ensures that the tool process exits with the given exit code.
|
Given |
void |
Ensures that the tool exist under the tool settings tool path.
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|