C# 클래스 Testeroids.Aspects.TypeInvestigationService

Responsible for checking the nature of a type.
파일 보기 프로젝트 열기: Testeroids/Testeroids 1 사용 예제들

공개 메소드들

메소드 설명
GetTestMethods ( Type type, bool flattenHierarchy ) : IEnumerable

Selects all test methods in a given type.

GetTestedClassTypeName ( Type targetType ) : string

Get the tested class type name.

비공개 메소드들

메소드 설명
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

메소드 상세

GetTestMethods() 공개 정적인 메소드

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. ///
리턴 IEnumerable

GetTestedClassTypeName() 공개 정적인 메소드

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.
리턴 string