C# Класс Cuke4Nuke.Specifications.Core.StepDefinition_Specification

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AssertMethodIsValid ( string methodName ) : void
GetStepDefinitionMethods ( ) : List
GetStepDefinitionMethods ( Type type ) : List

Приватные методы

Метод Описание
AssertMethodIsInvalid ( string methodName ) : void
Constructor_should_throw_if_a_method_does_not_have_a_step_definition_attribute ( ) : void
GetInvalidMethod ( string methodName ) : MethodInfo
GetValidMethod ( string methodName ) : MethodInfo
Id_property_of_equivalent_step_definitions_should_be_equal ( ) : void
Id_property_should_be_fully_qualified_method_name_with_parameter_types ( ) : void
Incorrect_parameter_count_should_throw_exception ( ) : void
Method_property_should_be_set_from_constructor ( ) : void
Method_that_throws_should_result_in_a_TargetInvocationException_being_thrown ( ) : void
Pending_should_be_false_when_method_does_not_have_Pending_attribute ( ) : void
Pending_should_be_true_when_method_has_Pending_attribute ( ) : void
SetUp ( ) : void
Should_allow_instance_methods ( ) : void
Should_allow_internal_methods ( ) : void
Should_allow_method_with_a_Given_attribute ( ) : void
Should_allow_method_with_a_Then_attribute ( ) : void
Should_allow_method_with_a_When_attribute ( ) : void
Should_allow_methods_with_arguments ( ) : void
Should_allow_methods_without_arguments ( ) : void
Should_allow_private_methods ( ) : void
Should_allow_protected_methods ( ) : void
Should_allow_public_methods ( ) : void
Should_not_allow_methods_without_a_step_definition_attribute ( ) : void
Successful_invocation_of_instance_should_not_throw ( ) : void
Successful_invocation_should_not_throw ( ) : void

Описание методов

AssertMethodIsValid() публичный статический Метод

public static AssertMethodIsValid ( string methodName ) : void
methodName string
Результат void

GetStepDefinitionMethods() публичный статический Метод

public static GetStepDefinitionMethods ( ) : List
Результат List

GetStepDefinitionMethods() публичный статический Метод

public static GetStepDefinitionMethods ( Type type ) : List
type System.Type
Результат List