|
static void | VerbHelpText (string helpText, Type resourceType, string expected) |
|
Definition at line 7 of file VerbAttributeTests.cs.
◆ ThrowsHelpText()
void CommandLine.Tests.VerbAttributeTests.ThrowsHelpText |
( |
string |
helpText, |
|
|
Type |
resourceType |
|
) |
| |
Definition at line 31 of file VerbAttributeTests.cs.
32 {
33 TestVerbAttribute verbAttribute = new TestVerbAttribute
34 {
35 HelpText = helpText,
36 ResourceType = resourceType
37 };
38
39
40 Assert.Throws<ArgumentException>(() => verbAttribute.HelpText);
41 }
◆ VerbHelpText()
static void CommandLine.Tests.VerbAttributeTests.VerbHelpText |
( |
string |
helpText, |
|
|
Type |
resourceType, |
|
|
string |
expected |
|
) |
| |
|
static |
Definition at line 15 of file VerbAttributeTests.cs.
16 {
17 TestVerbAttribute verbAttribute = new TestVerbAttribute
18 {
19 HelpText = helpText,
20 ResourceType = resourceType
21 };
22
23 Assert.Equal(expected, verbAttribute.HelpText);
24 }
The documentation for this class was generated from the following file: