C# Class Testeroids.Aspects.TypeInvestigationService

Responsible for checking the nature of a type.
Afficher le fichier Open project: Testeroids/Testeroids Class Usage Examples

Méthodes publiques

Méthode Description
GetTestMethods ( Type type, bool flattenHierarchy ) : IEnumerable

Selects all test methods in a given type.

GetTestedClassTypeName ( Type targetType ) : string

Get the tested class type name.

Private Methods

Méthode Description
GetAbstractContextSpecificationTypes ( Type classTypeToInvestigate ) : IEnumerable
GetAllContextSpecificationTypes ( Type classTypeToInvestigate ) : IEnumerable
GetAllNestedTypes ( Type classTypeToInvestigate ) : IEnumerable
GetAllTestMethods ( Type classTypeToInvestigate ) : IEnumerable
GetConcreteContextSpecificationTypes ( Type classTypeToInvestigate ) : IEnumerable
GetExpectedExceptionTestMethods ( Type classTypeToInvestigate ) : IEnumerable
GetNonPrerequisiteTestMethods ( Type classTypeToInvestigate ) : IEnumerable
GetPrerequisiteTestMethods ( Type classTypeToInvestigate ) : IEnumerable
IsAbstractContextSpecification ( Type classTypeToInvestigate ) : bool
IsConcreteContextSpecification ( Type classTypeToInvestigate ) : bool
IsContextSpecification ( Type classTypeToInvestigate ) : bool
IsExpectedExceptionTestMethod ( MethodBase method ) : bool
IsPrerequisiteTestMethod ( MethodBase method ) : bool
IsTestMethod ( MethodBase method ) : bool

Method Details

GetTestMethods() public static méthode

Selects all test methods in a given type.
public static GetTestMethods ( Type type, bool flattenHierarchy ) : IEnumerable
type System.Type /// The type to inspect. ///
flattenHierarchy bool /// Specifies that tests from parent fixtures should be returned. ///
Résultat IEnumerable

GetTestedClassTypeName() public static méthode

Get the tested class type name.
public static GetTestedClassTypeName ( Type targetType ) : string
targetType System.Type The test class from which the tested class must be found.
Résultat string