IGLib
1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
|
TestNameGenerator is able to create test names according to a coded pattern. More...
Classes | |
class | ArgListFragment |
class | ArgumentFragment |
class | ClassFullNameFragment |
class | ClassNameFragment |
class | FixedTextFragment |
class | MethodFullNameFragment |
class | MethodNameFragment |
class | NameFragment |
class | NamespaceFragment |
class | TestIDFragment |
Public Member Functions | |
TestNameGenerator (string pattern) | |
Construct a TestNameGenerator More... | |
string | GetDisplayName (TestMethod testMethod) |
Get the display name for a TestMethod and it's arguments More... | |
string | GetDisplayName (TestMethod testMethod, object[] args) |
Get the display name for a TestMethod and it's arguments More... | |
Private Member Functions | |
string | GetDisplayName (MethodInfo method) |
Get the display name for a MethodInfo More... | |
string | GetDisplayName (MethodInfo method, object[] args) |
Get the display name for a method with args More... | |
Private Attributes | |
List< NameFragment > | _fragments = new List<NameFragment>() |
TestNameGenerator is able to create test names according to a coded pattern.
|
inline |
Construct a TestNameGenerator
pattern | The pattern used by this generator. |
|
inline |
Get the display name for a TestMethod and it's arguments
testMethod | A TestMethod |
Referenced by NUnit.Framework.Internal.Builders.NUnitTestCaseBuilder.BuildTestMethod(), NUnit.Framework.Internal.Tests.TestNameGeneratorTests.ErrorInPattern(), NUnit.Framework.Internal.Tests.TestNameGeneratorTests.GenericTestNames(), NUnit.Framework.Internal.Tests.TestNameGeneratorTests.ParameterizedTests(), NUnit.Framework.Internal.Tests.TestNameGeneratorTests.SimpleTestNames(), and NUnit.Framework.Internal.Tests.TestNameGeneratorTests.SpecialNamedValues().
|
inline |
Get the display name for a TestMethod and it's arguments
testMethod | A TestMethod |
args | Arguments to be used |
|
inlineprivate |
Get the display name for a MethodInfo
method | A MethodInfo |
|
inlineprivate |
Get the display name for a method with args
method | A MethodInfo |
args | Argument list for the method |
|
private |