state_machines 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +10 -4
- data/Changelog.md +0 -0
- data/Gemfile +6 -0
- data/LICENSE.txt +1 -1
- data/README.md +6 -8
- data/Rakefile +9 -6
- data/Testing.md +0 -0
- data/lib/state_machines/assertions.rb +5 -5
- data/lib/state_machines/error.rb +2 -1
- data/lib/state_machines/integrations.rb +18 -11
- data/lib/state_machines/machine.rb +8 -12
- data/lib/state_machines/version.rb +1 -1
- data/state_machines.gemspec +6 -8
- data/test/files/integrations/event_on_failure_integration.rb +10 -0
- data/test/files/integrations/vehicle.rb +7 -0
- data/{spec/internal/app → test/files}/models/auto_shop.rb +0 -0
- data/{spec/internal/app → test/files}/models/car.rb +2 -0
- data/{spec/internal/app → test/files}/models/model_base.rb +0 -0
- data/{spec/internal/app → test/files}/models/motorcycle.rb +2 -0
- data/{spec/internal/app → test/files}/models/traffic_light.rb +2 -2
- data/{spec/internal/app → test/files}/models/vehicle.rb +9 -5
- data/test/files/node.rb +5 -0
- data/test/files/switch.rb +15 -0
- data/test/functional/auto_shop_available_test.rb +20 -0
- data/test/functional/auto_shop_busy_test.rb +25 -0
- data/test/functional/car_backing_up_test.rb +45 -0
- data/test/functional/car_test.rb +49 -0
- data/test/functional/motorcycle_test.rb +46 -0
- data/test/functional/traffic_light_caution_test.rb +17 -0
- data/test/functional/traffic_light_proceed_test.rb +17 -0
- data/test/functional/traffic_light_stop_test.rb +26 -0
- data/test/functional/vehicle_first_gear_test.rb +42 -0
- data/test/functional/vehicle_idling_test.rb +59 -0
- data/test/functional/vehicle_locked_test.rb +29 -0
- data/test/functional/vehicle_parked_test.rb +53 -0
- data/test/functional/vehicle_repaired_test.rb +20 -0
- data/test/functional/vehicle_second_gear_test.rb +42 -0
- data/test/functional/vehicle_stalled_test.rb +65 -0
- data/test/functional/vehicle_test.rb +20 -0
- data/test/functional/vehicle_third_gear_test.rb +42 -0
- data/test/functional/vehicle_unsaved_test.rb +181 -0
- data/test/functional/vehicle_with_event_attributes_test.rb +30 -0
- data/test/functional/vehicle_with_parallel_events_test.rb +36 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/assertions/assert_exclusive_keys_test.rb +22 -0
- data/test/unit/assertions/assert_valid_key_test.rb +12 -0
- data/test/unit/branch/branch_test.rb +28 -0
- data/test/unit/branch/branch_with_conflicting_conditionals_test.rb +27 -0
- data/test/unit/branch/branch_with_conflicting_from_requirements_test.rb +8 -0
- data/test/unit/branch/branch_with_conflicting_on_requirements_test.rb +8 -0
- data/test/unit/branch/branch_with_conflicting_to_requirements_test.rb +8 -0
- data/test/unit/branch/branch_with_different_requirements_test.rb +41 -0
- data/test/unit/branch/branch_with_except_from_matcher_requirement_test.rb +8 -0
- data/test/unit/branch/branch_with_except_from_requirement_test.rb +36 -0
- data/test/unit/branch/branch_with_except_on_matcher_requirement_test.rb +8 -0
- data/test/unit/branch/branch_with_except_on_requirement_test.rb +36 -0
- data/test/unit/branch/branch_with_except_to_matcher_requirement_test.rb +8 -0
- data/test/unit/branch/branch_with_except_to_requirement_test.rb +36 -0
- data/test/unit/branch/branch_with_from_matcher_requirement_test.rb +20 -0
- data/test/unit/branch/branch_with_from_requirement_test.rb +45 -0
- data/test/unit/branch/branch_with_if_conditional_test.rb +27 -0
- data/test/unit/branch/branch_with_implicit_and_explicit_requirements_test.rb +23 -0
- data/test/unit/branch/branch_with_implicit_from_requirement_matcher_test.rb +20 -0
- data/test/unit/branch/branch_with_implicit_requirement_test.rb +20 -0
- data/test/unit/branch/branch_with_implicit_to_requirement_matcher_test.rb +16 -0
- data/test/unit/branch/branch_with_multiple_except_from_requirements_test.rb +20 -0
- data/test/unit/branch/branch_with_multiple_except_on_requirements_test.rb +16 -0
- data/test/unit/branch/branch_with_multiple_except_to_requirements_test.rb +20 -0
- data/test/unit/branch/branch_with_multiple_from_requirements_test.rb +16 -0
- data/test/unit/branch/branch_with_multiple_if_conditionals_test.rb +20 -0
- data/test/unit/branch/branch_with_multiple_implicit_requirements_test.rb +53 -0
- data/test/unit/branch/branch_with_multiple_on_requirements_test.rb +20 -0
- data/test/unit/branch/branch_with_multiple_to_requirements_test.rb +20 -0
- data/test/unit/branch/branch_with_multiple_unless_conditionals_test.rb +20 -0
- data/test/unit/branch/branch_with_nil_requirements_test.rb +28 -0
- data/test/unit/branch/branch_with_no_requirements_test.rb +36 -0
- data/test/unit/branch/branch_with_on_matcher_requirement_test.rb +16 -0
- data/test/unit/branch/branch_with_on_requirement_test.rb +45 -0
- data/test/unit/branch/branch_with_to_matcher_requirement_test.rb +20 -0
- data/test/unit/branch/branch_with_to_requirement_test.rb +45 -0
- data/test/unit/branch/branch_with_unless_conditional_test.rb +27 -0
- data/test/unit/branch/branch_without_guards_test.rb +27 -0
- data/test/unit/callback/callback_by_default_test.rb +25 -0
- data/test/unit/callback/callback_test.rb +53 -0
- data/test/unit/callback/callback_with_application_bound_object_test.rb +23 -0
- data/test/unit/callback/callback_with_application_terminator_test.rb +24 -0
- data/test/unit/callback/callback_with_arguments_test.rb +14 -0
- data/test/unit/callback/callback_with_around_type_and_arguments_test.rb +25 -0
- data/test/unit/callback/callback_with_around_type_and_block_test.rb +44 -0
- data/test/unit/callback/callback_with_around_type_and_bound_method_test.rb +23 -0
- data/test/unit/callback/callback_with_around_type_and_multiple_methods_test.rb +93 -0
- data/test/unit/callback/callback_with_around_type_and_terminator_test.rb +17 -0
- data/test/unit/callback/callback_with_block_test.rb +20 -0
- data/test/unit/callback/callback_with_bound_method_and_arguments_test.rb +28 -0
- data/test/unit/callback/callback_with_bound_method_test.rb +35 -0
- data/test/unit/callback/callback_with_do_method_test.rb +18 -0
- data/test/unit/callback/callback_with_explicit_requirements_test.rb +32 -0
- data/test/unit/callback/callback_with_if_condition_test.rb +17 -0
- data/test/unit/callback/callback_with_implicit_requirements_test.rb +32 -0
- data/test/unit/callback/callback_with_method_argument_test.rb +18 -0
- data/test/unit/callback/callback_with_mixed_methods_test.rb +31 -0
- data/test/unit/callback/callback_with_multiple_bound_methods_test.rb +21 -0
- data/test/unit/callback/callback_with_multiple_do_methods_test.rb +29 -0
- data/test/unit/callback/callback_with_multiple_method_arguments_test.rb +29 -0
- data/test/unit/callback/callback_with_terminator_test.rb +22 -0
- data/test/unit/callback/callback_with_unbound_method_test.rb +14 -0
- data/test/unit/callback/callback_with_unless_condition_test.rb +17 -0
- data/test/unit/callback/callback_without_arguments_test.rb +14 -0
- data/test/unit/callback/callback_without_terminator_test.rb +12 -0
- data/test/unit/error/error_by_default_test.rb +21 -0
- data/test/unit/error/error_with_message_test.rb +23 -0
- data/test/unit/eval_helper/eval_helpers_base_test.rb +8 -0
- data/test/unit/eval_helper/eval_helpers_proc_block_and_explicit_arguments_test.rb +14 -0
- data/test/unit/eval_helper/eval_helpers_proc_block_and_implicit_arguments_test.rb +14 -0
- data/test/unit/eval_helper/eval_helpers_proc_test.rb +13 -0
- data/test/unit/eval_helper/eval_helpers_proc_with_arguments_test.rb +13 -0
- data/test/unit/eval_helper/eval_helpers_proc_with_block_test.rb +13 -0
- data/test/unit/eval_helper/eval_helpers_proc_with_block_without_arguments_test.rb +18 -0
- data/test/unit/eval_helper/eval_helpers_proc_with_block_without_object_test.rb +14 -0
- data/test/unit/eval_helper/eval_helpers_proc_without_arguments_test.rb +19 -0
- data/test/unit/eval_helper/eval_helpers_string_test.rb +25 -0
- data/test/unit/eval_helper/eval_helpers_string_with_block_test.rb +12 -0
- data/test/unit/eval_helper/eval_helpers_symbol_method_missing_test.rb +20 -0
- data/test/unit/eval_helper/eval_helpers_symbol_private_test.rb +17 -0
- data/test/unit/eval_helper/eval_helpers_symbol_protected_test.rb +17 -0
- data/test/unit/eval_helper/eval_helpers_symbol_tainted_method_test.rb +18 -0
- data/test/unit/eval_helper/eval_helpers_symbol_test.rb +16 -0
- data/test/unit/eval_helper/eval_helpers_symbol_with_arguments_and_block_test.rb +16 -0
- data/test/unit/eval_helper/eval_helpers_symbol_with_arguments_test.rb +16 -0
- data/test/unit/eval_helper/eval_helpers_symbol_with_block_test.rb +16 -0
- data/test/unit/eval_helper/eval_helpers_test.rb +13 -0
- data/test/unit/event/event_after_being_copied_test.rb +17 -0
- data/test/unit/event/event_by_default_test.rb +60 -0
- data/test/unit/event/event_context_test.rb +16 -0
- data/test/unit/event/event_on_failure_test.rb +44 -0
- data/test/unit/event/event_test.rb +34 -0
- data/test/unit/event/event_transitions_test.rb +62 -0
- data/test/unit/event/event_with_conflicting_helpers_after_definition_test.rb +79 -0
- data/test/unit/event/event_with_conflicting_helpers_before_definition_test.rb +58 -0
- data/test/unit/event/event_with_conflicting_machine_test.rb +48 -0
- data/test/unit/event/event_with_dynamic_human_name_test.rb +26 -0
- data/test/unit/event/event_with_human_name_test.rb +13 -0
- data/test/unit/event/event_with_invalid_current_state_test.rb +30 -0
- data/test/unit/event/event_with_machine_action_test.rb +33 -0
- data/test/unit/event/event_with_marshalling_test.rb +47 -0
- data/test/unit/event/event_with_matching_disabled_transitions_test.rb +115 -0
- data/test/unit/event/event_with_matching_enabled_transitions_test.rb +75 -0
- data/test/unit/event/event_with_multiple_transitions_test.rb +61 -0
- data/test/unit/event/event_with_namespace_test.rb +34 -0
- data/test/unit/event/event_with_transition_with_blacklisted_to_state_test.rb +60 -0
- data/test/unit/event/event_with_transition_with_loopback_state_test.rb +36 -0
- data/test/unit/event/event_with_transition_with_nil_to_state_test.rb +36 -0
- data/test/unit/event/event_with_transition_with_whitelisted_to_state_test.rb +51 -0
- data/test/unit/event/event_with_transition_without_to_state_test.rb +36 -0
- data/test/unit/event/event_with_transitions_test.rb +32 -0
- data/test/unit/event/event_without_matching_transitions_test.rb +41 -0
- data/test/unit/event/event_without_transitions_test.rb +28 -0
- data/{spec/state_machines/invalid_event_spec.rb → test/unit/event/invalid_event_test.rb} +8 -7
- data/test/unit/event_collection/event_collection_attribute_with_machine_action_test.rb +62 -0
- data/test/unit/event_collection/event_collection_attribute_with_namespaced_machine_test.rb +36 -0
- data/test/unit/event_collection/event_collection_by_default_test.rb +26 -0
- data/test/unit/event_collection/event_collection_test.rb +39 -0
- data/test/unit/event_collection/event_collection_with_custom_machine_attribute_test.rb +31 -0
- data/test/unit/event_collection/event_collection_with_events_with_transitions_test.rb +76 -0
- data/test/unit/event_collection/event_collection_with_multiple_events_test.rb +27 -0
- data/test/unit/event_collection/event_collection_with_validations_test.rb +75 -0
- data/test/unit/event_collection/event_collection_without_machine_action_test.rb +18 -0
- data/test/unit/event_collection/event_string_collection_test.rb +31 -0
- data/test/unit/helper_module_test.rb +17 -0
- data/test/unit/integrations/integration_finder_test.rb +16 -0
- data/test/unit/integrations/integration_matcher_test.rb +27 -0
- data/test/unit/invalid_transition/invalid_parallel_transition_test.rb +18 -0
- data/test/unit/invalid_transition/invalid_transition_test.rb +47 -0
- data/test/unit/invalid_transition/invalid_transition_with_integration_test.rb +47 -0
- data/test/unit/invalid_transition/invalid_transition_with_namespace_test.rb +32 -0
- data/test/unit/machine/machine_after_being_copied_test.rb +62 -0
- data/test/unit/machine/machine_after_changing_initial_state.rb +28 -0
- data/test/unit/machine/machine_after_changing_owner_class_test.rb +31 -0
- data/test/unit/machine/machine_by_default_test.rb +160 -0
- data/test/unit/machine/machine_finder_custom_options_test.rb +17 -0
- data/test/unit/machine/machine_finder_with_existing_machine_on_superclass_test.rb +86 -0
- data/test/unit/machine/machine_finder_with_existing_on_same_class_test.rb +23 -0
- data/test/unit/machine/machine_finder_without_existing_machine_test.rb +25 -0
- data/test/unit/machine/machine_persistence_test.rb +52 -0
- data/test/unit/machine/machine_state_initialization_test.rb +56 -0
- data/test/unit/machine/machine_test.rb +30 -0
- data/test/unit/machine/machine_with_action_already_overridden_test.rb +23 -0
- data/test/unit/machine/machine_with_action_defined_in_class_test.rb +37 -0
- data/test/unit/machine/machine_with_action_defined_in_included_module_test.rb +46 -0
- data/test/unit/machine/machine_with_action_defined_in_superclass_test.rb +43 -0
- data/test/unit/machine/machine_with_action_undefined_test.rb +33 -0
- data/test/unit/machine/machine_with_cached_state_test.rb +20 -0
- data/test/unit/machine/machine_with_class_helpers_test.rb +179 -0
- data/test/unit/machine/machine_with_conflicting_helpers_after_definition_test.rb +243 -0
- data/test/unit/machine/machine_with_conflicting_helpers_before_definition_test.rb +175 -0
- data/test/unit/machine/machine_with_custom_action_test.rb +11 -0
- data/test/unit/machine/machine_with_custom_attribute_test.rb +103 -0
- data/test/unit/machine/machine_with_custom_initialize_test.rb +24 -0
- data/test/unit/machine/machine_with_custom_integration_test.rb +69 -0
- data/test/unit/machine/machine_with_custom_invalidation_test.rb +40 -0
- data/test/unit/machine/machine_with_custom_name_test.rb +57 -0
- data/test/unit/machine/machine_with_custom_plural_test.rb +53 -0
- data/test/unit/machine/machine_with_dynamic_initial_state_test.rb +65 -0
- data/test/unit/machine/machine_with_event_matchers_test.rb +41 -0
- data/test/unit/machine/machine_with_events_test.rb +52 -0
- data/test/unit/machine/machine_with_events_with_custom_human_names_test.rb +18 -0
- data/test/unit/machine/machine_with_events_with_transitions_test.rb +37 -0
- data/test/unit/machine/machine_with_existing_event_test.rb +17 -0
- data/test/unit/machine/machine_with_existing_machines_on_owner_class_test.rb +20 -0
- data/test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_class_test.rb +71 -0
- data/test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_subclass_test.rb +31 -0
- data/test/unit/machine/machine_with_existing_state_test.rb +27 -0
- data/test/unit/machine/machine_with_failure_callbacks_test.rb +48 -0
- data/test/unit/machine/machine_with_helpers_test.rb +14 -0
- data/test/unit/machine/machine_with_initial_state_with_value_and_owner_default.rb +25 -0
- data/test/unit/machine/machine_with_initialize_and_super_test.rb +17 -0
- data/test/unit/machine/machine_with_initialize_arguments_and_block_test.rb +31 -0
- data/test/unit/machine/machine_with_initialize_without_super_test.rb +17 -0
- data/test/unit/machine/machine_with_instance_helpers_test.rb +179 -0
- data/test/unit/machine/machine_with_integration_test.rb +71 -0
- data/test/unit/machine/machine_with_multiple_events_test.rb +32 -0
- data/test/unit/machine/machine_with_namespace_test.rb +48 -0
- data/test/unit/machine/machine_with_nil_action_test.rb +24 -0
- data/test/unit/machine/machine_with_other_states.rb +22 -0
- data/test/unit/machine/machine_with_owner_subclass_test.rb +18 -0
- data/test/unit/machine/machine_with_paths_test.rb +25 -0
- data/test/unit/machine/machine_with_private_action_test.rb +43 -0
- data/test/unit/machine/machine_with_state_matchers_test.rb +41 -0
- data/test/unit/machine/machine_with_state_with_matchers_test.rb +19 -0
- data/test/unit/machine/machine_with_states_test.rb +55 -0
- data/test/unit/machine/machine_with_states_with_behaviors_test.rb +23 -0
- data/test/unit/machine/machine_with_states_with_custom_human_names_test.rb +18 -0
- data/test/unit/machine/machine_with_states_with_custom_values_test.rb +21 -0
- data/test/unit/machine/machine_with_states_with_runtime_dependencies_test.rb +19 -0
- data/test/unit/machine/machine_with_static_initial_state_test.rb +60 -0
- data/test/unit/machine/machine_with_superclass_conflicting_helpers_after_definition_test.rb +36 -0
- data/test/unit/machine/machine_with_transition_callbacks_test.rb +144 -0
- data/test/unit/machine/machine_with_transitions_test.rb +87 -0
- data/test/unit/machine/machine_without_initialization_test.rb +31 -0
- data/test/unit/machine/machine_without_initialize_test.rb +14 -0
- data/test/unit/machine/machine_without_integration_test.rb +31 -0
- data/test/unit/machine_collection/machine_collection_by_default_test.rb +11 -0
- data/test/unit/machine_collection/machine_collection_fire_attributes_with_validations_test.rb +72 -0
- data/test/unit/machine_collection/machine_collection_fire_test.rb +80 -0
- data/test/unit/machine_collection/machine_collection_fire_with_transactions_test.rb +54 -0
- data/test/unit/machine_collection/machine_collection_fire_with_validations_test.rb +76 -0
- data/test/unit/machine_collection/machine_collection_state_initialization_test.rb +101 -0
- data/test/unit/machine_collection/machine_collection_transitions_with_blank_events_test.rb +25 -0
- data/test/unit/machine_collection/machine_collection_transitions_with_custom_options_test.rb +20 -0
- data/test/unit/machine_collection/machine_collection_transitions_with_different_actions_test.rb +26 -0
- data/test/unit/machine_collection/machine_collection_transitions_with_exisiting_transitions_test.rb +25 -0
- data/test/unit/machine_collection/machine_collection_transitions_with_invalid_events_test.rb +25 -0
- data/test/unit/machine_collection/machine_collection_transitions_with_same_actions_test.rb +31 -0
- data/test/unit/machine_collection/machine_collection_transitions_with_transition_test.rb +26 -0
- data/test/unit/machine_collection/machine_collection_transitions_without_events_test.rb +25 -0
- data/test/unit/machine_collection/machine_collection_transitions_without_transition_test.rb +27 -0
- data/test/unit/matcher/all_matcher_test.rb +29 -0
- data/test/unit/matcher/blacklist_matcher_test.rb +30 -0
- data/test/unit/matcher/loopback_matcher_test.rb +27 -0
- data/test/unit/matcher/matcher_by_default_test.rb +15 -0
- data/test/unit/matcher/matcher_with_multiple_values_test.rb +15 -0
- data/test/unit/matcher/matcher_with_value_test.rb +15 -0
- data/test/unit/matcher/whitelist_matcher_test.rb +30 -0
- data/test/unit/matcher_helpers/matcher_helpers_all_test.rb +14 -0
- data/test/unit/matcher_helpers/matcher_helpers_any_test.rb +14 -0
- data/test/unit/matcher_helpers/matcher_helpers_same_test.rb +13 -0
- data/test/unit/node_collection/node_collection_after_being_copied_test/n.rb +46 -0
- data/test/unit/node_collection/node_collection_after_update_test/n.rb +36 -0
- data/test/unit/node_collection/node_collection_by_default_test.rb +22 -0
- data/test/unit/node_collection/node_collection_test.rb +23 -0
- data/test/unit/node_collection/node_collection_with_indices_test/n.rb +42 -0
- data/test/unit/node_collection/node_collection_with_matcher_contexts_test.rb +25 -0
- data/test/unit/node_collection/node_collection_with_nodes_test/n.rb +46 -0
- data/test/unit/node_collection/node_collection_with_numeric_index_test/n.rb +24 -0
- data/test/unit/node_collection/node_collection_with_postdefined_contexts_test/n.rb +22 -0
- data/test/unit/node_collection/node_collection_with_predefined_contexts_test/n.rb +23 -0
- data/test/unit/node_collection/node_collection_with_string_index_test/n.rb +20 -0
- data/test/unit/node_collection/node_collection_with_symbol_index_test/n.rb +20 -0
- data/test/unit/node_collection/node_collection_without_indices_test/n.rb +30 -0
- data/test/unit/path/path_by_default_test.rb +54 -0
- data/test/unit/path/path_test.rb +14 -0
- data/test/unit/path/path_with_available_transitions_after_reaching_target_test.rb +40 -0
- data/test/unit/path/path_with_available_transitions_test.rb +54 -0
- data/test/unit/path/path_with_deep_target_reached_test.rb +50 -0
- data/test/unit/path/path_with_deep_target_test.rb +40 -0
- data/test/unit/path/path_with_duplicates_test.rb +32 -0
- data/test/unit/path/path_with_encountered_transitions_test.rb +34 -0
- data/test/unit/path/path_with_guarded_transitions_test.rb +42 -0
- data/test/unit/path/path_with_reached_target_test.rb +35 -0
- data/test/unit/path/path_with_transitions_test.rb +54 -0
- data/test/unit/path/path_with_unreached_target_test.rb +31 -0
- data/test/unit/path/path_without_transitions_test.rb +24 -0
- data/test/unit/path_collection/path_collection_by_default_test.rb +46 -0
- data/test/unit/path_collection/path_collection_test.rb +24 -0
- data/test/unit/path_collection/path_collection_with_deep_paths_test.rb +43 -0
- data/test/unit/path_collection/path_collection_with_duplicate_nodes_test.rb +31 -0
- data/test/unit/path_collection/path_collection_with_from_state_test.rb +27 -0
- data/test/unit/path_collection/path_collection_with_paths_test.rb +47 -0
- data/test/unit/path_collection/path_collection_with_to_state_test.rb +29 -0
- data/test/unit/path_collection/path_with_guarded_paths_test.rb +25 -0
- data/test/unit/state/state_after_being_copied_test.rb +19 -0
- data/test/unit/state/state_by_default_test.rb +41 -0
- data/test/unit/state/state_final_test.rb +28 -0
- data/test/unit/state/state_initial_test.rb +13 -0
- data/test/unit/state/state_not_final_test.rb +32 -0
- data/test/unit/state/state_not_initial_test.rb +13 -0
- data/test/unit/state/state_test.rb +44 -0
- data/test/unit/state/state_with_cached_lambda_value_test.rb +29 -0
- data/test/unit/state/state_with_conflicting_helpers_after_definition_test.rb +38 -0
- data/test/unit/state/state_with_conflicting_helpers_before_definition_test.rb +29 -0
- data/test/unit/state/state_with_conflicting_machine_name_test.rb +20 -0
- data/test/unit/state/state_with_conflicting_machine_test.rb +37 -0
- data/test/unit/state/state_with_context_test.rb +60 -0
- data/test/unit/state/state_with_dynamic_human_name_test.rb +25 -0
- data/test/unit/state/state_with_existing_context_method_test.rb +24 -0
- data/test/unit/state/state_with_human_name_test.rb +13 -0
- data/test/unit/state/state_with_integer_value_test.rb +32 -0
- data/test/unit/state/state_with_invalid_method_call_test.rb +21 -0
- data/test/unit/state/state_with_lambda_value_test.rb +37 -0
- data/test/unit/state/state_with_matcher_test.rb +18 -0
- data/test/unit/state/state_with_multiple_contexts_test.rb +57 -0
- data/test/unit/state/state_with_name_test.rb +43 -0
- data/test/unit/state/state_with_namespace_test.rb +22 -0
- data/test/unit/state/state_with_nil_value_test.rb +35 -0
- data/test/unit/state/state_with_redefined_context_method_test.rb +45 -0
- data/test/unit/state/state_with_symbolic_value_test.rb +32 -0
- data/test/unit/state/state_with_valid_inherited_method_call_for_current_state_test.rb +40 -0
- data/test/unit/state/state_with_valid_method_call_for_current_state_test.rb +33 -0
- data/test/unit/state/state_with_valid_method_call_for_different_state_test.rb +41 -0
- data/test/unit/state/state_without_cached_lambda_value_test.rb +25 -0
- data/test/unit/state/state_without_name_test.rb +39 -0
- data/test/unit/state_collection/state_collection_by_default_test.rb +21 -0
- data/test/unit/state_collection/state_collection_string_test.rb +35 -0
- data/test/unit/state_collection/state_collection_test.rb +74 -0
- data/test/unit/state_collection/state_collection_with_custom_state_values_test.rb +29 -0
- data/test/unit/state_collection/state_collection_with_event_transitions_test.rb +39 -0
- data/test/unit/state_collection/state_collection_with_initial_state_test.rb +40 -0
- data/test/unit/state_collection/state_collection_with_namespace_test.rb +21 -0
- data/test/unit/state_collection/state_collection_with_state_behaviors_test.rb +40 -0
- data/test/unit/state_collection/state_collection_with_state_matchers_test.rb +29 -0
- data/test/unit/state_collection/state_collection_with_transition_callbacks_test.rb +40 -0
- data/test/unit/state_context/state_context_proxy_test.rb +26 -0
- data/test/unit/state_context/state_context_proxy_with_if_and_unless_conditions_test.rb +42 -0
- data/test/unit/state_context/state_context_proxy_with_if_condition_test.rb +64 -0
- data/test/unit/state_context/state_context_proxy_with_multiple_if_conditions_test.rb +32 -0
- data/test/unit/state_context/state_context_proxy_with_multiple_unless_conditions_test.rb +32 -0
- data/test/unit/state_context/state_context_proxy_with_unless_condition_test.rb +64 -0
- data/test/unit/state_context/state_context_proxy_without_conditions_test.rb +31 -0
- data/test/unit/state_context/state_context_test.rb +28 -0
- data/test/unit/state_context/state_context_transition_test.rb +104 -0
- data/test/unit/state_context/state_context_with_matching_transition_test.rb +27 -0
- data/test/unit/state_machine/state_machine_by_default_test.rb +12 -0
- data/test/unit/state_machine/state_machine_test.rb +20 -0
- data/test/unit/transition/transition_after_being_performed_test.rb +48 -0
- data/test/unit/transition/transition_after_being_persisted_test.rb +46 -0
- data/test/unit/transition/transition_after_being_rolled_back_test.rb +35 -0
- data/test/unit/transition/transition_equality_test.rb +52 -0
- data/test/unit/transition/transition_loopback_test.rb +18 -0
- data/test/unit/transition/transition_test.rb +96 -0
- data/test/unit/transition/transition_transient_test.rb +20 -0
- data/test/unit/transition/transition_with_action_test.rb +27 -0
- data/test/unit/transition/transition_with_after_callbacks_skipped_test.rb +127 -0
- data/test/unit/transition/transition_with_after_callbacks_test.rb +93 -0
- data/test/unit/transition/transition_with_around_callbacks_test.rb +141 -0
- data/test/unit/transition/transition_with_before_callbacks_skipped_test.rb +30 -0
- data/test/unit/transition/transition_with_before_callbacks_test.rb +104 -0
- data/test/unit/transition/transition_with_custom_machine_attribute_test.rb +28 -0
- data/test/unit/transition/transition_with_different_states_test.rb +18 -0
- data/test/unit/transition/transition_with_dynamic_to_value_test.rb +19 -0
- data/test/unit/transition/transition_with_failure_callbacks_test.rb +84 -0
- data/test/unit/transition/transition_with_invalid_nodes_test.rb +29 -0
- data/test/unit/transition/transition_with_mixed_callbacks_test.rb +105 -0
- data/test/unit/transition/transition_with_multiple_after_callbacks_test.rb +40 -0
- data/test/unit/transition/transition_with_multiple_around_callbacks_test.rb +114 -0
- data/test/unit/transition/transition_with_multiple_before_callbacks_test.rb +40 -0
- data/test/unit/transition/transition_with_multiple_failure_callbacks_test.rb +40 -0
- data/test/unit/transition/transition_with_namespace_test.rb +47 -0
- data/test/unit/transition/transition_with_perform_arguments_test.rb +35 -0
- data/test/unit/transition/transition_with_transactions_test.rb +42 -0
- data/test/unit/transition/transition_without_callbacks_test.rb +33 -0
- data/test/unit/transition/transition_without_reading_state_test.rb +22 -0
- data/test/unit/transition/transition_without_running_action_test.rb +47 -0
- data/test/unit/transition_collection/attribute_transition_collection_by_default_test.rb +23 -0
- data/test/unit/transition_collection/attribute_transition_collection_marshalling_test.rb +64 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_action_error_test.rb +44 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_action_failed_test.rb +44 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_after_callback_error_test.rb +32 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_after_callback_halt_test.rb +33 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_around_after_yield_callback_error_test.rb +32 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_error_test.rb +32 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_halt_test.rb +33 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_around_callback_before_yield_halt_test.rb +33 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_before_callback_error_test.rb +32 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_before_callback_halt_test.rb +33 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_callbacks_test.rb +68 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_event_transitions_test.rb +41 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_events_test.rb +44 -0
- data/test/unit/transition_collection/attribute_transition_collection_with_skipped_after_callbacks_test.rb +42 -0
- data/test/unit/transition_collection/transition_collection_by_default_test.rb +23 -0
- data/test/unit/transition_collection/transition_collection_empty_with_block_test.rb +23 -0
- data/test/unit/transition_collection/transition_collection_empty_without_block_test.rb +12 -0
- data/test/unit/transition_collection/transition_collection_invalid_test.rb +21 -0
- data/test/unit/transition_collection/transition_collection_partial_invalid_test.rb +69 -0
- data/test/unit/transition_collection/transition_collection_test.rb +26 -0
- data/test/unit/transition_collection/transition_collection_valid_test.rb +57 -0
- data/test/unit/transition_collection/transition_collection_with_action_error_test.rb +66 -0
- data/test/unit/transition_collection/transition_collection_with_action_failed_test.rb +60 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_and_block_test.rb +17 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_action_test.rb +17 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_after_callbacks_test.rb +37 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_base_test.rb +34 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_error_test.rb +29 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_invalid_test.rb +17 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_multiple_test.rb +79 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_test.rb +45 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_with_different_actions_test.rb +48 -0
- data/test/unit/transition_collection/transition_collection_with_action_hook_with_nil_action_test.rb +42 -0
- data/test/unit/transition_collection/transition_collection_with_after_callback_halt_test.rb +51 -0
- data/test/unit/transition_collection/transition_collection_with_before_callback_halt_test.rb +47 -0
- data/test/unit/transition_collection/transition_collection_with_block_test.rb +46 -0
- data/test/unit/transition_collection/transition_collection_with_callbacks_test.rb +135 -0
- data/test/unit/transition_collection/transition_collection_with_different_actions_test.rb +189 -0
- data/test/unit/transition_collection/transition_collection_with_duplicate_actions_test.rb +48 -0
- data/test/unit/transition_collection/transition_collection_with_empty_actions_test.rb +41 -0
- data/test/unit/transition_collection/transition_collection_with_mixed_actions_test.rb +41 -0
- data/test/unit/transition_collection/transition_collection_with_skipped_actions_and_block_test.rb +34 -0
- data/test/unit/transition_collection/transition_collection_with_skipped_actions_test.rb +69 -0
- data/test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_and_around_callbacks_test.rb +53 -0
- data/test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_test.rb +34 -0
- data/test/unit/transition_collection/transition_collection_with_transactions_test.rb +65 -0
- data/test/unit/transition_collection/transition_collection_without_transactions_test.rb +29 -0
- metadata +888 -101
- data/spec/models/auto_shop_spec.rb +0 -41
- data/spec/models/car_spec.rb +0 -90
- data/spec/models/motorcycle_spec.rb +0 -44
- data/spec/models/traffic_light_spec.rb +0 -56
- data/spec/models/vehicle_spec.rb +0 -580
- data/spec/spec_helper.rb +0 -7
- data/spec/state_machines/assertions_spec.rb +0 -31
- data/spec/state_machines/branch_spec.rb +0 -827
- data/spec/state_machines/callbacks_spec.rb +0 -706
- data/spec/state_machines/errors_spec.rb +0 -1
- data/spec/state_machines/event_collection_spec.rb +0 -401
- data/spec/state_machines/event_spec.rb +0 -1140
- data/spec/state_machines/helper_spec.rb +0 -14
- data/spec/state_machines/integration_base_spec.rb +0 -12
- data/spec/state_machines/integration_spec.rb +0 -132
- data/spec/state_machines/invalid_parallel_transition_spec.rb +0 -18
- data/spec/state_machines/invalid_transition_spec.rb +0 -114
- data/spec/state_machines/machine_collection_spec.rb +0 -606
- data/spec/state_machines/machine_spec.rb +0 -3176
- data/spec/state_machines/matcher_helpers_spec.rb +0 -39
- data/spec/state_machines/matcher_spec.rb +0 -157
- data/spec/state_machines/node_collection_spec.rb +0 -371
- data/spec/state_machines/path_collection_spec.rb +0 -271
- data/spec/state_machines/path_spec.rb +0 -488
- data/spec/state_machines/state_collection_spec.rb +0 -352
- data/spec/state_machines/state_context_spec.rb +0 -442
- data/spec/state_machines/state_machine_spec.rb +0 -29
- data/spec/state_machines/state_spec.rb +0 -970
- data/spec/state_machines/transition_collection_spec.rb +0 -2199
- data/spec/state_machines/transition_spec.rb +0 -1558
- data/spec/support/migration_helpers.rb +0 -59
- data/spec/support/models.rb +0 -6
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: state_machines
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Abdelkader Boudih
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-01-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: 1.7.6
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
27
|
+
version: 1.7.6
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: rake
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
@@ -40,36 +40,23 @@ dependencies:
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
44
|
-
requirement: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - '='
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: 3.0.0.beta2
|
49
|
-
type: :development
|
50
|
-
prerelease: false
|
51
|
-
version_requirements: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - '='
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: 3.0.0.beta2
|
56
|
-
- !ruby/object:Gem::Dependency
|
57
|
-
name: rspec-its
|
43
|
+
name: minitest
|
58
44
|
requirement: !ruby/object:Gem::Requirement
|
59
45
|
requirements:
|
60
46
|
- - ">="
|
61
47
|
- !ruby/object:Gem::Version
|
62
|
-
version: '
|
48
|
+
version: '5.4'
|
63
49
|
type: :development
|
64
50
|
prerelease: false
|
65
51
|
version_requirements: !ruby/object:Gem::Requirement
|
66
52
|
requirements:
|
67
53
|
- - ">="
|
68
54
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
55
|
+
version: '5.4'
|
70
56
|
description: Adds support for creating state machines for attributes on any Ruby class
|
71
57
|
email:
|
72
58
|
- terminale@gmail.com
|
59
|
+
- aaron@pluginaweek.org
|
73
60
|
executables: []
|
74
61
|
extensions: []
|
75
62
|
extra_rdoc_files: []
|
@@ -77,10 +64,12 @@ files:
|
|
77
64
|
- ".gitignore"
|
78
65
|
- ".rspec"
|
79
66
|
- ".travis.yml"
|
67
|
+
- Changelog.md
|
80
68
|
- Gemfile
|
81
69
|
- LICENSE.txt
|
82
70
|
- README.md
|
83
71
|
- Rakefile
|
72
|
+
- Testing.md
|
84
73
|
- lib/state_machines.rb
|
85
74
|
- lib/state_machines/assertions.rb
|
86
75
|
- lib/state_machines/branch.rb
|
@@ -110,47 +99,446 @@ files:
|
|
110
99
|
- lib/state_machines/transition.rb
|
111
100
|
- lib/state_machines/transition_collection.rb
|
112
101
|
- lib/state_machines/version.rb
|
113
|
-
- spec/internal/app/models/auto_shop.rb
|
114
|
-
- spec/internal/app/models/car.rb
|
115
|
-
- spec/internal/app/models/model_base.rb
|
116
|
-
- spec/internal/app/models/motorcycle.rb
|
117
|
-
- spec/internal/app/models/traffic_light.rb
|
118
|
-
- spec/internal/app/models/vehicle.rb
|
119
|
-
- spec/models/auto_shop_spec.rb
|
120
|
-
- spec/models/car_spec.rb
|
121
|
-
- spec/models/motorcycle_spec.rb
|
122
|
-
- spec/models/traffic_light_spec.rb
|
123
|
-
- spec/models/vehicle_spec.rb
|
124
|
-
- spec/spec_helper.rb
|
125
|
-
- spec/state_machines/assertions_spec.rb
|
126
|
-
- spec/state_machines/branch_spec.rb
|
127
|
-
- spec/state_machines/callbacks_spec.rb
|
128
|
-
- spec/state_machines/errors_spec.rb
|
129
|
-
- spec/state_machines/event_collection_spec.rb
|
130
|
-
- spec/state_machines/event_spec.rb
|
131
|
-
- spec/state_machines/helper_spec.rb
|
132
|
-
- spec/state_machines/integration_base_spec.rb
|
133
|
-
- spec/state_machines/integration_spec.rb
|
134
|
-
- spec/state_machines/invalid_event_spec.rb
|
135
|
-
- spec/state_machines/invalid_parallel_transition_spec.rb
|
136
|
-
- spec/state_machines/invalid_transition_spec.rb
|
137
|
-
- spec/state_machines/machine_collection_spec.rb
|
138
|
-
- spec/state_machines/machine_spec.rb
|
139
|
-
- spec/state_machines/matcher_helpers_spec.rb
|
140
|
-
- spec/state_machines/matcher_spec.rb
|
141
|
-
- spec/state_machines/node_collection_spec.rb
|
142
|
-
- spec/state_machines/path_collection_spec.rb
|
143
|
-
- spec/state_machines/path_spec.rb
|
144
|
-
- spec/state_machines/state_collection_spec.rb
|
145
|
-
- spec/state_machines/state_context_spec.rb
|
146
|
-
- spec/state_machines/state_machine_spec.rb
|
147
|
-
- spec/state_machines/state_spec.rb
|
148
|
-
- spec/state_machines/transition_collection_spec.rb
|
149
|
-
- spec/state_machines/transition_spec.rb
|
150
|
-
- spec/support/migration_helpers.rb
|
151
|
-
- spec/support/models.rb
|
152
102
|
- state_machines.gemspec
|
153
|
-
|
103
|
+
- test/files/integrations/event_on_failure_integration.rb
|
104
|
+
- test/files/integrations/vehicle.rb
|
105
|
+
- test/files/models/auto_shop.rb
|
106
|
+
- test/files/models/car.rb
|
107
|
+
- test/files/models/model_base.rb
|
108
|
+
- test/files/models/motorcycle.rb
|
109
|
+
- test/files/models/traffic_light.rb
|
110
|
+
- test/files/models/vehicle.rb
|
111
|
+
- test/files/node.rb
|
112
|
+
- test/files/switch.rb
|
113
|
+
- test/functional/auto_shop_available_test.rb
|
114
|
+
- test/functional/auto_shop_busy_test.rb
|
115
|
+
- test/functional/car_backing_up_test.rb
|
116
|
+
- test/functional/car_test.rb
|
117
|
+
- test/functional/motorcycle_test.rb
|
118
|
+
- test/functional/traffic_light_caution_test.rb
|
119
|
+
- test/functional/traffic_light_proceed_test.rb
|
120
|
+
- test/functional/traffic_light_stop_test.rb
|
121
|
+
- test/functional/vehicle_first_gear_test.rb
|
122
|
+
- test/functional/vehicle_idling_test.rb
|
123
|
+
- test/functional/vehicle_locked_test.rb
|
124
|
+
- test/functional/vehicle_parked_test.rb
|
125
|
+
- test/functional/vehicle_repaired_test.rb
|
126
|
+
- test/functional/vehicle_second_gear_test.rb
|
127
|
+
- test/functional/vehicle_stalled_test.rb
|
128
|
+
- test/functional/vehicle_test.rb
|
129
|
+
- test/functional/vehicle_third_gear_test.rb
|
130
|
+
- test/functional/vehicle_unsaved_test.rb
|
131
|
+
- test/functional/vehicle_with_event_attributes_test.rb
|
132
|
+
- test/functional/vehicle_with_parallel_events_test.rb
|
133
|
+
- test/test_helper.rb
|
134
|
+
- test/unit/assertions/assert_exclusive_keys_test.rb
|
135
|
+
- test/unit/assertions/assert_valid_key_test.rb
|
136
|
+
- test/unit/branch/branch_test.rb
|
137
|
+
- test/unit/branch/branch_with_conflicting_conditionals_test.rb
|
138
|
+
- test/unit/branch/branch_with_conflicting_from_requirements_test.rb
|
139
|
+
- test/unit/branch/branch_with_conflicting_on_requirements_test.rb
|
140
|
+
- test/unit/branch/branch_with_conflicting_to_requirements_test.rb
|
141
|
+
- test/unit/branch/branch_with_different_requirements_test.rb
|
142
|
+
- test/unit/branch/branch_with_except_from_matcher_requirement_test.rb
|
143
|
+
- test/unit/branch/branch_with_except_from_requirement_test.rb
|
144
|
+
- test/unit/branch/branch_with_except_on_matcher_requirement_test.rb
|
145
|
+
- test/unit/branch/branch_with_except_on_requirement_test.rb
|
146
|
+
- test/unit/branch/branch_with_except_to_matcher_requirement_test.rb
|
147
|
+
- test/unit/branch/branch_with_except_to_requirement_test.rb
|
148
|
+
- test/unit/branch/branch_with_from_matcher_requirement_test.rb
|
149
|
+
- test/unit/branch/branch_with_from_requirement_test.rb
|
150
|
+
- test/unit/branch/branch_with_if_conditional_test.rb
|
151
|
+
- test/unit/branch/branch_with_implicit_and_explicit_requirements_test.rb
|
152
|
+
- test/unit/branch/branch_with_implicit_from_requirement_matcher_test.rb
|
153
|
+
- test/unit/branch/branch_with_implicit_requirement_test.rb
|
154
|
+
- test/unit/branch/branch_with_implicit_to_requirement_matcher_test.rb
|
155
|
+
- test/unit/branch/branch_with_multiple_except_from_requirements_test.rb
|
156
|
+
- test/unit/branch/branch_with_multiple_except_on_requirements_test.rb
|
157
|
+
- test/unit/branch/branch_with_multiple_except_to_requirements_test.rb
|
158
|
+
- test/unit/branch/branch_with_multiple_from_requirements_test.rb
|
159
|
+
- test/unit/branch/branch_with_multiple_if_conditionals_test.rb
|
160
|
+
- test/unit/branch/branch_with_multiple_implicit_requirements_test.rb
|
161
|
+
- test/unit/branch/branch_with_multiple_on_requirements_test.rb
|
162
|
+
- test/unit/branch/branch_with_multiple_to_requirements_test.rb
|
163
|
+
- test/unit/branch/branch_with_multiple_unless_conditionals_test.rb
|
164
|
+
- test/unit/branch/branch_with_nil_requirements_test.rb
|
165
|
+
- test/unit/branch/branch_with_no_requirements_test.rb
|
166
|
+
- test/unit/branch/branch_with_on_matcher_requirement_test.rb
|
167
|
+
- test/unit/branch/branch_with_on_requirement_test.rb
|
168
|
+
- test/unit/branch/branch_with_to_matcher_requirement_test.rb
|
169
|
+
- test/unit/branch/branch_with_to_requirement_test.rb
|
170
|
+
- test/unit/branch/branch_with_unless_conditional_test.rb
|
171
|
+
- test/unit/branch/branch_without_guards_test.rb
|
172
|
+
- test/unit/callback/callback_by_default_test.rb
|
173
|
+
- test/unit/callback/callback_test.rb
|
174
|
+
- test/unit/callback/callback_with_application_bound_object_test.rb
|
175
|
+
- test/unit/callback/callback_with_application_terminator_test.rb
|
176
|
+
- test/unit/callback/callback_with_arguments_test.rb
|
177
|
+
- test/unit/callback/callback_with_around_type_and_arguments_test.rb
|
178
|
+
- test/unit/callback/callback_with_around_type_and_block_test.rb
|
179
|
+
- test/unit/callback/callback_with_around_type_and_bound_method_test.rb
|
180
|
+
- test/unit/callback/callback_with_around_type_and_multiple_methods_test.rb
|
181
|
+
- test/unit/callback/callback_with_around_type_and_terminator_test.rb
|
182
|
+
- test/unit/callback/callback_with_block_test.rb
|
183
|
+
- test/unit/callback/callback_with_bound_method_and_arguments_test.rb
|
184
|
+
- test/unit/callback/callback_with_bound_method_test.rb
|
185
|
+
- test/unit/callback/callback_with_do_method_test.rb
|
186
|
+
- test/unit/callback/callback_with_explicit_requirements_test.rb
|
187
|
+
- test/unit/callback/callback_with_if_condition_test.rb
|
188
|
+
- test/unit/callback/callback_with_implicit_requirements_test.rb
|
189
|
+
- test/unit/callback/callback_with_method_argument_test.rb
|
190
|
+
- test/unit/callback/callback_with_mixed_methods_test.rb
|
191
|
+
- test/unit/callback/callback_with_multiple_bound_methods_test.rb
|
192
|
+
- test/unit/callback/callback_with_multiple_do_methods_test.rb
|
193
|
+
- test/unit/callback/callback_with_multiple_method_arguments_test.rb
|
194
|
+
- test/unit/callback/callback_with_terminator_test.rb
|
195
|
+
- test/unit/callback/callback_with_unbound_method_test.rb
|
196
|
+
- test/unit/callback/callback_with_unless_condition_test.rb
|
197
|
+
- test/unit/callback/callback_without_arguments_test.rb
|
198
|
+
- test/unit/callback/callback_without_terminator_test.rb
|
199
|
+
- test/unit/error/error_by_default_test.rb
|
200
|
+
- test/unit/error/error_with_message_test.rb
|
201
|
+
- test/unit/eval_helper/eval_helpers_base_test.rb
|
202
|
+
- test/unit/eval_helper/eval_helpers_proc_block_and_explicit_arguments_test.rb
|
203
|
+
- test/unit/eval_helper/eval_helpers_proc_block_and_implicit_arguments_test.rb
|
204
|
+
- test/unit/eval_helper/eval_helpers_proc_test.rb
|
205
|
+
- test/unit/eval_helper/eval_helpers_proc_with_arguments_test.rb
|
206
|
+
- test/unit/eval_helper/eval_helpers_proc_with_block_test.rb
|
207
|
+
- test/unit/eval_helper/eval_helpers_proc_with_block_without_arguments_test.rb
|
208
|
+
- test/unit/eval_helper/eval_helpers_proc_with_block_without_object_test.rb
|
209
|
+
- test/unit/eval_helper/eval_helpers_proc_without_arguments_test.rb
|
210
|
+
- test/unit/eval_helper/eval_helpers_string_test.rb
|
211
|
+
- test/unit/eval_helper/eval_helpers_string_with_block_test.rb
|
212
|
+
- test/unit/eval_helper/eval_helpers_symbol_method_missing_test.rb
|
213
|
+
- test/unit/eval_helper/eval_helpers_symbol_private_test.rb
|
214
|
+
- test/unit/eval_helper/eval_helpers_symbol_protected_test.rb
|
215
|
+
- test/unit/eval_helper/eval_helpers_symbol_tainted_method_test.rb
|
216
|
+
- test/unit/eval_helper/eval_helpers_symbol_test.rb
|
217
|
+
- test/unit/eval_helper/eval_helpers_symbol_with_arguments_and_block_test.rb
|
218
|
+
- test/unit/eval_helper/eval_helpers_symbol_with_arguments_test.rb
|
219
|
+
- test/unit/eval_helper/eval_helpers_symbol_with_block_test.rb
|
220
|
+
- test/unit/eval_helper/eval_helpers_test.rb
|
221
|
+
- test/unit/event/event_after_being_copied_test.rb
|
222
|
+
- test/unit/event/event_by_default_test.rb
|
223
|
+
- test/unit/event/event_context_test.rb
|
224
|
+
- test/unit/event/event_on_failure_test.rb
|
225
|
+
- test/unit/event/event_test.rb
|
226
|
+
- test/unit/event/event_transitions_test.rb
|
227
|
+
- test/unit/event/event_with_conflicting_helpers_after_definition_test.rb
|
228
|
+
- test/unit/event/event_with_conflicting_helpers_before_definition_test.rb
|
229
|
+
- test/unit/event/event_with_conflicting_machine_test.rb
|
230
|
+
- test/unit/event/event_with_dynamic_human_name_test.rb
|
231
|
+
- test/unit/event/event_with_human_name_test.rb
|
232
|
+
- test/unit/event/event_with_invalid_current_state_test.rb
|
233
|
+
- test/unit/event/event_with_machine_action_test.rb
|
234
|
+
- test/unit/event/event_with_marshalling_test.rb
|
235
|
+
- test/unit/event/event_with_matching_disabled_transitions_test.rb
|
236
|
+
- test/unit/event/event_with_matching_enabled_transitions_test.rb
|
237
|
+
- test/unit/event/event_with_multiple_transitions_test.rb
|
238
|
+
- test/unit/event/event_with_namespace_test.rb
|
239
|
+
- test/unit/event/event_with_transition_with_blacklisted_to_state_test.rb
|
240
|
+
- test/unit/event/event_with_transition_with_loopback_state_test.rb
|
241
|
+
- test/unit/event/event_with_transition_with_nil_to_state_test.rb
|
242
|
+
- test/unit/event/event_with_transition_with_whitelisted_to_state_test.rb
|
243
|
+
- test/unit/event/event_with_transition_without_to_state_test.rb
|
244
|
+
- test/unit/event/event_with_transitions_test.rb
|
245
|
+
- test/unit/event/event_without_matching_transitions_test.rb
|
246
|
+
- test/unit/event/event_without_transitions_test.rb
|
247
|
+
- test/unit/event/invalid_event_test.rb
|
248
|
+
- test/unit/event_collection/event_collection_attribute_with_machine_action_test.rb
|
249
|
+
- test/unit/event_collection/event_collection_attribute_with_namespaced_machine_test.rb
|
250
|
+
- test/unit/event_collection/event_collection_by_default_test.rb
|
251
|
+
- test/unit/event_collection/event_collection_test.rb
|
252
|
+
- test/unit/event_collection/event_collection_with_custom_machine_attribute_test.rb
|
253
|
+
- test/unit/event_collection/event_collection_with_events_with_transitions_test.rb
|
254
|
+
- test/unit/event_collection/event_collection_with_multiple_events_test.rb
|
255
|
+
- test/unit/event_collection/event_collection_with_validations_test.rb
|
256
|
+
- test/unit/event_collection/event_collection_without_machine_action_test.rb
|
257
|
+
- test/unit/event_collection/event_string_collection_test.rb
|
258
|
+
- test/unit/helper_module_test.rb
|
259
|
+
- test/unit/integrations/integration_finder_test.rb
|
260
|
+
- test/unit/integrations/integration_matcher_test.rb
|
261
|
+
- test/unit/invalid_transition/invalid_parallel_transition_test.rb
|
262
|
+
- test/unit/invalid_transition/invalid_transition_test.rb
|
263
|
+
- test/unit/invalid_transition/invalid_transition_with_integration_test.rb
|
264
|
+
- test/unit/invalid_transition/invalid_transition_with_namespace_test.rb
|
265
|
+
- test/unit/machine/machine_after_being_copied_test.rb
|
266
|
+
- test/unit/machine/machine_after_changing_initial_state.rb
|
267
|
+
- test/unit/machine/machine_after_changing_owner_class_test.rb
|
268
|
+
- test/unit/machine/machine_by_default_test.rb
|
269
|
+
- test/unit/machine/machine_finder_custom_options_test.rb
|
270
|
+
- test/unit/machine/machine_finder_with_existing_machine_on_superclass_test.rb
|
271
|
+
- test/unit/machine/machine_finder_with_existing_on_same_class_test.rb
|
272
|
+
- test/unit/machine/machine_finder_without_existing_machine_test.rb
|
273
|
+
- test/unit/machine/machine_persistence_test.rb
|
274
|
+
- test/unit/machine/machine_state_initialization_test.rb
|
275
|
+
- test/unit/machine/machine_test.rb
|
276
|
+
- test/unit/machine/machine_with_action_already_overridden_test.rb
|
277
|
+
- test/unit/machine/machine_with_action_defined_in_class_test.rb
|
278
|
+
- test/unit/machine/machine_with_action_defined_in_included_module_test.rb
|
279
|
+
- test/unit/machine/machine_with_action_defined_in_superclass_test.rb
|
280
|
+
- test/unit/machine/machine_with_action_undefined_test.rb
|
281
|
+
- test/unit/machine/machine_with_cached_state_test.rb
|
282
|
+
- test/unit/machine/machine_with_class_helpers_test.rb
|
283
|
+
- test/unit/machine/machine_with_conflicting_helpers_after_definition_test.rb
|
284
|
+
- test/unit/machine/machine_with_conflicting_helpers_before_definition_test.rb
|
285
|
+
- test/unit/machine/machine_with_custom_action_test.rb
|
286
|
+
- test/unit/machine/machine_with_custom_attribute_test.rb
|
287
|
+
- test/unit/machine/machine_with_custom_initialize_test.rb
|
288
|
+
- test/unit/machine/machine_with_custom_integration_test.rb
|
289
|
+
- test/unit/machine/machine_with_custom_invalidation_test.rb
|
290
|
+
- test/unit/machine/machine_with_custom_name_test.rb
|
291
|
+
- test/unit/machine/machine_with_custom_plural_test.rb
|
292
|
+
- test/unit/machine/machine_with_dynamic_initial_state_test.rb
|
293
|
+
- test/unit/machine/machine_with_event_matchers_test.rb
|
294
|
+
- test/unit/machine/machine_with_events_test.rb
|
295
|
+
- test/unit/machine/machine_with_events_with_custom_human_names_test.rb
|
296
|
+
- test/unit/machine/machine_with_events_with_transitions_test.rb
|
297
|
+
- test/unit/machine/machine_with_existing_event_test.rb
|
298
|
+
- test/unit/machine/machine_with_existing_machines_on_owner_class_test.rb
|
299
|
+
- test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_class_test.rb
|
300
|
+
- test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_subclass_test.rb
|
301
|
+
- test/unit/machine/machine_with_existing_state_test.rb
|
302
|
+
- test/unit/machine/machine_with_failure_callbacks_test.rb
|
303
|
+
- test/unit/machine/machine_with_helpers_test.rb
|
304
|
+
- test/unit/machine/machine_with_initial_state_with_value_and_owner_default.rb
|
305
|
+
- test/unit/machine/machine_with_initialize_and_super_test.rb
|
306
|
+
- test/unit/machine/machine_with_initialize_arguments_and_block_test.rb
|
307
|
+
- test/unit/machine/machine_with_initialize_without_super_test.rb
|
308
|
+
- test/unit/machine/machine_with_instance_helpers_test.rb
|
309
|
+
- test/unit/machine/machine_with_integration_test.rb
|
310
|
+
- test/unit/machine/machine_with_multiple_events_test.rb
|
311
|
+
- test/unit/machine/machine_with_namespace_test.rb
|
312
|
+
- test/unit/machine/machine_with_nil_action_test.rb
|
313
|
+
- test/unit/machine/machine_with_other_states.rb
|
314
|
+
- test/unit/machine/machine_with_owner_subclass_test.rb
|
315
|
+
- test/unit/machine/machine_with_paths_test.rb
|
316
|
+
- test/unit/machine/machine_with_private_action_test.rb
|
317
|
+
- test/unit/machine/machine_with_state_matchers_test.rb
|
318
|
+
- test/unit/machine/machine_with_state_with_matchers_test.rb
|
319
|
+
- test/unit/machine/machine_with_states_test.rb
|
320
|
+
- test/unit/machine/machine_with_states_with_behaviors_test.rb
|
321
|
+
- test/unit/machine/machine_with_states_with_custom_human_names_test.rb
|
322
|
+
- test/unit/machine/machine_with_states_with_custom_values_test.rb
|
323
|
+
- test/unit/machine/machine_with_states_with_runtime_dependencies_test.rb
|
324
|
+
- test/unit/machine/machine_with_static_initial_state_test.rb
|
325
|
+
- test/unit/machine/machine_with_superclass_conflicting_helpers_after_definition_test.rb
|
326
|
+
- test/unit/machine/machine_with_transition_callbacks_test.rb
|
327
|
+
- test/unit/machine/machine_with_transitions_test.rb
|
328
|
+
- test/unit/machine/machine_without_initialization_test.rb
|
329
|
+
- test/unit/machine/machine_without_initialize_test.rb
|
330
|
+
- test/unit/machine/machine_without_integration_test.rb
|
331
|
+
- test/unit/machine_collection/machine_collection_by_default_test.rb
|
332
|
+
- test/unit/machine_collection/machine_collection_fire_attributes_with_validations_test.rb
|
333
|
+
- test/unit/machine_collection/machine_collection_fire_test.rb
|
334
|
+
- test/unit/machine_collection/machine_collection_fire_with_transactions_test.rb
|
335
|
+
- test/unit/machine_collection/machine_collection_fire_with_validations_test.rb
|
336
|
+
- test/unit/machine_collection/machine_collection_state_initialization_test.rb
|
337
|
+
- test/unit/machine_collection/machine_collection_transitions_with_blank_events_test.rb
|
338
|
+
- test/unit/machine_collection/machine_collection_transitions_with_custom_options_test.rb
|
339
|
+
- test/unit/machine_collection/machine_collection_transitions_with_different_actions_test.rb
|
340
|
+
- test/unit/machine_collection/machine_collection_transitions_with_exisiting_transitions_test.rb
|
341
|
+
- test/unit/machine_collection/machine_collection_transitions_with_invalid_events_test.rb
|
342
|
+
- test/unit/machine_collection/machine_collection_transitions_with_same_actions_test.rb
|
343
|
+
- test/unit/machine_collection/machine_collection_transitions_with_transition_test.rb
|
344
|
+
- test/unit/machine_collection/machine_collection_transitions_without_events_test.rb
|
345
|
+
- test/unit/machine_collection/machine_collection_transitions_without_transition_test.rb
|
346
|
+
- test/unit/matcher/all_matcher_test.rb
|
347
|
+
- test/unit/matcher/blacklist_matcher_test.rb
|
348
|
+
- test/unit/matcher/loopback_matcher_test.rb
|
349
|
+
- test/unit/matcher/matcher_by_default_test.rb
|
350
|
+
- test/unit/matcher/matcher_with_multiple_values_test.rb
|
351
|
+
- test/unit/matcher/matcher_with_value_test.rb
|
352
|
+
- test/unit/matcher/whitelist_matcher_test.rb
|
353
|
+
- test/unit/matcher_helpers/matcher_helpers_all_test.rb
|
354
|
+
- test/unit/matcher_helpers/matcher_helpers_any_test.rb
|
355
|
+
- test/unit/matcher_helpers/matcher_helpers_same_test.rb
|
356
|
+
- |-
|
357
|
+
test/unit/node_collection/node_collection_after_being_copied_test
|
358
|
+
.rb
|
359
|
+
- |-
|
360
|
+
test/unit/node_collection/node_collection_after_update_test
|
361
|
+
.rb
|
362
|
+
- test/unit/node_collection/node_collection_by_default_test.rb
|
363
|
+
- test/unit/node_collection/node_collection_test.rb
|
364
|
+
- |-
|
365
|
+
test/unit/node_collection/node_collection_with_indices_test
|
366
|
+
.rb
|
367
|
+
- test/unit/node_collection/node_collection_with_matcher_contexts_test.rb
|
368
|
+
- |-
|
369
|
+
test/unit/node_collection/node_collection_with_nodes_test
|
370
|
+
.rb
|
371
|
+
- |-
|
372
|
+
test/unit/node_collection/node_collection_with_numeric_index_test
|
373
|
+
.rb
|
374
|
+
- |-
|
375
|
+
test/unit/node_collection/node_collection_with_postdefined_contexts_test
|
376
|
+
.rb
|
377
|
+
- |-
|
378
|
+
test/unit/node_collection/node_collection_with_predefined_contexts_test
|
379
|
+
.rb
|
380
|
+
- |-
|
381
|
+
test/unit/node_collection/node_collection_with_string_index_test
|
382
|
+
.rb
|
383
|
+
- |-
|
384
|
+
test/unit/node_collection/node_collection_with_symbol_index_test
|
385
|
+
.rb
|
386
|
+
- |-
|
387
|
+
test/unit/node_collection/node_collection_without_indices_test
|
388
|
+
.rb
|
389
|
+
- test/unit/path/path_by_default_test.rb
|
390
|
+
- test/unit/path/path_test.rb
|
391
|
+
- test/unit/path/path_with_available_transitions_after_reaching_target_test.rb
|
392
|
+
- test/unit/path/path_with_available_transitions_test.rb
|
393
|
+
- test/unit/path/path_with_deep_target_reached_test.rb
|
394
|
+
- test/unit/path/path_with_deep_target_test.rb
|
395
|
+
- test/unit/path/path_with_duplicates_test.rb
|
396
|
+
- test/unit/path/path_with_encountered_transitions_test.rb
|
397
|
+
- test/unit/path/path_with_guarded_transitions_test.rb
|
398
|
+
- test/unit/path/path_with_reached_target_test.rb
|
399
|
+
- test/unit/path/path_with_transitions_test.rb
|
400
|
+
- test/unit/path/path_with_unreached_target_test.rb
|
401
|
+
- test/unit/path/path_without_transitions_test.rb
|
402
|
+
- test/unit/path_collection/path_collection_by_default_test.rb
|
403
|
+
- test/unit/path_collection/path_collection_test.rb
|
404
|
+
- test/unit/path_collection/path_collection_with_deep_paths_test.rb
|
405
|
+
- test/unit/path_collection/path_collection_with_duplicate_nodes_test.rb
|
406
|
+
- test/unit/path_collection/path_collection_with_from_state_test.rb
|
407
|
+
- test/unit/path_collection/path_collection_with_paths_test.rb
|
408
|
+
- test/unit/path_collection/path_collection_with_to_state_test.rb
|
409
|
+
- test/unit/path_collection/path_with_guarded_paths_test.rb
|
410
|
+
- test/unit/state/state_after_being_copied_test.rb
|
411
|
+
- test/unit/state/state_by_default_test.rb
|
412
|
+
- test/unit/state/state_final_test.rb
|
413
|
+
- test/unit/state/state_initial_test.rb
|
414
|
+
- test/unit/state/state_not_final_test.rb
|
415
|
+
- test/unit/state/state_not_initial_test.rb
|
416
|
+
- test/unit/state/state_test.rb
|
417
|
+
- test/unit/state/state_with_cached_lambda_value_test.rb
|
418
|
+
- test/unit/state/state_with_conflicting_helpers_after_definition_test.rb
|
419
|
+
- test/unit/state/state_with_conflicting_helpers_before_definition_test.rb
|
420
|
+
- test/unit/state/state_with_conflicting_machine_name_test.rb
|
421
|
+
- test/unit/state/state_with_conflicting_machine_test.rb
|
422
|
+
- test/unit/state/state_with_context_test.rb
|
423
|
+
- test/unit/state/state_with_dynamic_human_name_test.rb
|
424
|
+
- test/unit/state/state_with_existing_context_method_test.rb
|
425
|
+
- test/unit/state/state_with_human_name_test.rb
|
426
|
+
- test/unit/state/state_with_integer_value_test.rb
|
427
|
+
- test/unit/state/state_with_invalid_method_call_test.rb
|
428
|
+
- test/unit/state/state_with_lambda_value_test.rb
|
429
|
+
- test/unit/state/state_with_matcher_test.rb
|
430
|
+
- test/unit/state/state_with_multiple_contexts_test.rb
|
431
|
+
- test/unit/state/state_with_name_test.rb
|
432
|
+
- test/unit/state/state_with_namespace_test.rb
|
433
|
+
- test/unit/state/state_with_nil_value_test.rb
|
434
|
+
- test/unit/state/state_with_redefined_context_method_test.rb
|
435
|
+
- test/unit/state/state_with_symbolic_value_test.rb
|
436
|
+
- test/unit/state/state_with_valid_inherited_method_call_for_current_state_test.rb
|
437
|
+
- test/unit/state/state_with_valid_method_call_for_current_state_test.rb
|
438
|
+
- test/unit/state/state_with_valid_method_call_for_different_state_test.rb
|
439
|
+
- test/unit/state/state_without_cached_lambda_value_test.rb
|
440
|
+
- test/unit/state/state_without_name_test.rb
|
441
|
+
- test/unit/state_collection/state_collection_by_default_test.rb
|
442
|
+
- test/unit/state_collection/state_collection_string_test.rb
|
443
|
+
- test/unit/state_collection/state_collection_test.rb
|
444
|
+
- test/unit/state_collection/state_collection_with_custom_state_values_test.rb
|
445
|
+
- test/unit/state_collection/state_collection_with_event_transitions_test.rb
|
446
|
+
- test/unit/state_collection/state_collection_with_initial_state_test.rb
|
447
|
+
- test/unit/state_collection/state_collection_with_namespace_test.rb
|
448
|
+
- test/unit/state_collection/state_collection_with_state_behaviors_test.rb
|
449
|
+
- test/unit/state_collection/state_collection_with_state_matchers_test.rb
|
450
|
+
- test/unit/state_collection/state_collection_with_transition_callbacks_test.rb
|
451
|
+
- test/unit/state_context/state_context_proxy_test.rb
|
452
|
+
- test/unit/state_context/state_context_proxy_with_if_and_unless_conditions_test.rb
|
453
|
+
- test/unit/state_context/state_context_proxy_with_if_condition_test.rb
|
454
|
+
- test/unit/state_context/state_context_proxy_with_multiple_if_conditions_test.rb
|
455
|
+
- test/unit/state_context/state_context_proxy_with_multiple_unless_conditions_test.rb
|
456
|
+
- test/unit/state_context/state_context_proxy_with_unless_condition_test.rb
|
457
|
+
- test/unit/state_context/state_context_proxy_without_conditions_test.rb
|
458
|
+
- test/unit/state_context/state_context_test.rb
|
459
|
+
- test/unit/state_context/state_context_transition_test.rb
|
460
|
+
- test/unit/state_context/state_context_with_matching_transition_test.rb
|
461
|
+
- test/unit/state_machine/state_machine_by_default_test.rb
|
462
|
+
- test/unit/state_machine/state_machine_test.rb
|
463
|
+
- test/unit/transition/transition_after_being_performed_test.rb
|
464
|
+
- test/unit/transition/transition_after_being_persisted_test.rb
|
465
|
+
- test/unit/transition/transition_after_being_rolled_back_test.rb
|
466
|
+
- test/unit/transition/transition_equality_test.rb
|
467
|
+
- test/unit/transition/transition_loopback_test.rb
|
468
|
+
- test/unit/transition/transition_test.rb
|
469
|
+
- test/unit/transition/transition_transient_test.rb
|
470
|
+
- test/unit/transition/transition_with_action_test.rb
|
471
|
+
- test/unit/transition/transition_with_after_callbacks_skipped_test.rb
|
472
|
+
- test/unit/transition/transition_with_after_callbacks_test.rb
|
473
|
+
- test/unit/transition/transition_with_around_callbacks_test.rb
|
474
|
+
- test/unit/transition/transition_with_before_callbacks_skipped_test.rb
|
475
|
+
- test/unit/transition/transition_with_before_callbacks_test.rb
|
476
|
+
- test/unit/transition/transition_with_custom_machine_attribute_test.rb
|
477
|
+
- test/unit/transition/transition_with_different_states_test.rb
|
478
|
+
- test/unit/transition/transition_with_dynamic_to_value_test.rb
|
479
|
+
- test/unit/transition/transition_with_failure_callbacks_test.rb
|
480
|
+
- test/unit/transition/transition_with_invalid_nodes_test.rb
|
481
|
+
- test/unit/transition/transition_with_mixed_callbacks_test.rb
|
482
|
+
- test/unit/transition/transition_with_multiple_after_callbacks_test.rb
|
483
|
+
- test/unit/transition/transition_with_multiple_around_callbacks_test.rb
|
484
|
+
- test/unit/transition/transition_with_multiple_before_callbacks_test.rb
|
485
|
+
- test/unit/transition/transition_with_multiple_failure_callbacks_test.rb
|
486
|
+
- test/unit/transition/transition_with_namespace_test.rb
|
487
|
+
- test/unit/transition/transition_with_perform_arguments_test.rb
|
488
|
+
- test/unit/transition/transition_with_transactions_test.rb
|
489
|
+
- test/unit/transition/transition_without_callbacks_test.rb
|
490
|
+
- test/unit/transition/transition_without_reading_state_test.rb
|
491
|
+
- test/unit/transition/transition_without_running_action_test.rb
|
492
|
+
- test/unit/transition_collection/attribute_transition_collection_by_default_test.rb
|
493
|
+
- test/unit/transition_collection/attribute_transition_collection_marshalling_test.rb
|
494
|
+
- test/unit/transition_collection/attribute_transition_collection_with_action_error_test.rb
|
495
|
+
- test/unit/transition_collection/attribute_transition_collection_with_action_failed_test.rb
|
496
|
+
- test/unit/transition_collection/attribute_transition_collection_with_after_callback_error_test.rb
|
497
|
+
- test/unit/transition_collection/attribute_transition_collection_with_after_callback_halt_test.rb
|
498
|
+
- test/unit/transition_collection/attribute_transition_collection_with_around_after_yield_callback_error_test.rb
|
499
|
+
- test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_error_test.rb
|
500
|
+
- test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_halt_test.rb
|
501
|
+
- test/unit/transition_collection/attribute_transition_collection_with_around_callback_before_yield_halt_test.rb
|
502
|
+
- test/unit/transition_collection/attribute_transition_collection_with_before_callback_error_test.rb
|
503
|
+
- test/unit/transition_collection/attribute_transition_collection_with_before_callback_halt_test.rb
|
504
|
+
- test/unit/transition_collection/attribute_transition_collection_with_callbacks_test.rb
|
505
|
+
- test/unit/transition_collection/attribute_transition_collection_with_event_transitions_test.rb
|
506
|
+
- test/unit/transition_collection/attribute_transition_collection_with_events_test.rb
|
507
|
+
- test/unit/transition_collection/attribute_transition_collection_with_skipped_after_callbacks_test.rb
|
508
|
+
- test/unit/transition_collection/transition_collection_by_default_test.rb
|
509
|
+
- test/unit/transition_collection/transition_collection_empty_with_block_test.rb
|
510
|
+
- test/unit/transition_collection/transition_collection_empty_without_block_test.rb
|
511
|
+
- test/unit/transition_collection/transition_collection_invalid_test.rb
|
512
|
+
- test/unit/transition_collection/transition_collection_partial_invalid_test.rb
|
513
|
+
- test/unit/transition_collection/transition_collection_test.rb
|
514
|
+
- test/unit/transition_collection/transition_collection_valid_test.rb
|
515
|
+
- test/unit/transition_collection/transition_collection_with_action_error_test.rb
|
516
|
+
- test/unit/transition_collection/transition_collection_with_action_failed_test.rb
|
517
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_and_block_test.rb
|
518
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_action_test.rb
|
519
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_after_callbacks_test.rb
|
520
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_base_test.rb
|
521
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_error_test.rb
|
522
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_invalid_test.rb
|
523
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_multiple_test.rb
|
524
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_test.rb
|
525
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_with_different_actions_test.rb
|
526
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_with_nil_action_test.rb
|
527
|
+
- test/unit/transition_collection/transition_collection_with_after_callback_halt_test.rb
|
528
|
+
- test/unit/transition_collection/transition_collection_with_before_callback_halt_test.rb
|
529
|
+
- test/unit/transition_collection/transition_collection_with_block_test.rb
|
530
|
+
- test/unit/transition_collection/transition_collection_with_callbacks_test.rb
|
531
|
+
- test/unit/transition_collection/transition_collection_with_different_actions_test.rb
|
532
|
+
- test/unit/transition_collection/transition_collection_with_duplicate_actions_test.rb
|
533
|
+
- test/unit/transition_collection/transition_collection_with_empty_actions_test.rb
|
534
|
+
- test/unit/transition_collection/transition_collection_with_mixed_actions_test.rb
|
535
|
+
- test/unit/transition_collection/transition_collection_with_skipped_actions_and_block_test.rb
|
536
|
+
- test/unit/transition_collection/transition_collection_with_skipped_actions_test.rb
|
537
|
+
- test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_and_around_callbacks_test.rb
|
538
|
+
- test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_test.rb
|
539
|
+
- test/unit/transition_collection/transition_collection_with_transactions_test.rb
|
540
|
+
- test/unit/transition_collection/transition_collection_without_transactions_test.rb
|
541
|
+
homepage: https://github.com/state-machines/state_machines
|
154
542
|
licenses:
|
155
543
|
- MIT
|
156
544
|
metadata: {}
|
@@ -162,7 +550,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
162
550
|
requirements:
|
163
551
|
- - ">="
|
164
552
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
553
|
+
version: 2.0.0
|
166
554
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
167
555
|
requirements:
|
168
556
|
- - ">="
|
@@ -175,43 +563,442 @@ signing_key:
|
|
175
563
|
specification_version: 4
|
176
564
|
summary: State machines for attributes
|
177
565
|
test_files:
|
178
|
-
-
|
179
|
-
-
|
180
|
-
-
|
181
|
-
-
|
182
|
-
-
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
-
|
199
|
-
-
|
200
|
-
-
|
201
|
-
-
|
202
|
-
-
|
203
|
-
-
|
204
|
-
-
|
205
|
-
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
-
|
209
|
-
-
|
210
|
-
-
|
211
|
-
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
216
|
-
-
|
566
|
+
- test/files/integrations/event_on_failure_integration.rb
|
567
|
+
- test/files/integrations/vehicle.rb
|
568
|
+
- test/files/models/auto_shop.rb
|
569
|
+
- test/files/models/car.rb
|
570
|
+
- test/files/models/model_base.rb
|
571
|
+
- test/files/models/motorcycle.rb
|
572
|
+
- test/files/models/traffic_light.rb
|
573
|
+
- test/files/models/vehicle.rb
|
574
|
+
- test/files/node.rb
|
575
|
+
- test/files/switch.rb
|
576
|
+
- test/functional/auto_shop_available_test.rb
|
577
|
+
- test/functional/auto_shop_busy_test.rb
|
578
|
+
- test/functional/car_backing_up_test.rb
|
579
|
+
- test/functional/car_test.rb
|
580
|
+
- test/functional/motorcycle_test.rb
|
581
|
+
- test/functional/traffic_light_caution_test.rb
|
582
|
+
- test/functional/traffic_light_proceed_test.rb
|
583
|
+
- test/functional/traffic_light_stop_test.rb
|
584
|
+
- test/functional/vehicle_first_gear_test.rb
|
585
|
+
- test/functional/vehicle_idling_test.rb
|
586
|
+
- test/functional/vehicle_locked_test.rb
|
587
|
+
- test/functional/vehicle_parked_test.rb
|
588
|
+
- test/functional/vehicle_repaired_test.rb
|
589
|
+
- test/functional/vehicle_second_gear_test.rb
|
590
|
+
- test/functional/vehicle_stalled_test.rb
|
591
|
+
- test/functional/vehicle_test.rb
|
592
|
+
- test/functional/vehicle_third_gear_test.rb
|
593
|
+
- test/functional/vehicle_unsaved_test.rb
|
594
|
+
- test/functional/vehicle_with_event_attributes_test.rb
|
595
|
+
- test/functional/vehicle_with_parallel_events_test.rb
|
596
|
+
- test/test_helper.rb
|
597
|
+
- test/unit/assertions/assert_exclusive_keys_test.rb
|
598
|
+
- test/unit/assertions/assert_valid_key_test.rb
|
599
|
+
- test/unit/branch/branch_test.rb
|
600
|
+
- test/unit/branch/branch_with_conflicting_conditionals_test.rb
|
601
|
+
- test/unit/branch/branch_with_conflicting_from_requirements_test.rb
|
602
|
+
- test/unit/branch/branch_with_conflicting_on_requirements_test.rb
|
603
|
+
- test/unit/branch/branch_with_conflicting_to_requirements_test.rb
|
604
|
+
- test/unit/branch/branch_with_different_requirements_test.rb
|
605
|
+
- test/unit/branch/branch_with_except_from_matcher_requirement_test.rb
|
606
|
+
- test/unit/branch/branch_with_except_from_requirement_test.rb
|
607
|
+
- test/unit/branch/branch_with_except_on_matcher_requirement_test.rb
|
608
|
+
- test/unit/branch/branch_with_except_on_requirement_test.rb
|
609
|
+
- test/unit/branch/branch_with_except_to_matcher_requirement_test.rb
|
610
|
+
- test/unit/branch/branch_with_except_to_requirement_test.rb
|
611
|
+
- test/unit/branch/branch_with_from_matcher_requirement_test.rb
|
612
|
+
- test/unit/branch/branch_with_from_requirement_test.rb
|
613
|
+
- test/unit/branch/branch_with_if_conditional_test.rb
|
614
|
+
- test/unit/branch/branch_with_implicit_and_explicit_requirements_test.rb
|
615
|
+
- test/unit/branch/branch_with_implicit_from_requirement_matcher_test.rb
|
616
|
+
- test/unit/branch/branch_with_implicit_requirement_test.rb
|
617
|
+
- test/unit/branch/branch_with_implicit_to_requirement_matcher_test.rb
|
618
|
+
- test/unit/branch/branch_with_multiple_except_from_requirements_test.rb
|
619
|
+
- test/unit/branch/branch_with_multiple_except_on_requirements_test.rb
|
620
|
+
- test/unit/branch/branch_with_multiple_except_to_requirements_test.rb
|
621
|
+
- test/unit/branch/branch_with_multiple_from_requirements_test.rb
|
622
|
+
- test/unit/branch/branch_with_multiple_if_conditionals_test.rb
|
623
|
+
- test/unit/branch/branch_with_multiple_implicit_requirements_test.rb
|
624
|
+
- test/unit/branch/branch_with_multiple_on_requirements_test.rb
|
625
|
+
- test/unit/branch/branch_with_multiple_to_requirements_test.rb
|
626
|
+
- test/unit/branch/branch_with_multiple_unless_conditionals_test.rb
|
627
|
+
- test/unit/branch/branch_with_nil_requirements_test.rb
|
628
|
+
- test/unit/branch/branch_with_no_requirements_test.rb
|
629
|
+
- test/unit/branch/branch_with_on_matcher_requirement_test.rb
|
630
|
+
- test/unit/branch/branch_with_on_requirement_test.rb
|
631
|
+
- test/unit/branch/branch_with_to_matcher_requirement_test.rb
|
632
|
+
- test/unit/branch/branch_with_to_requirement_test.rb
|
633
|
+
- test/unit/branch/branch_with_unless_conditional_test.rb
|
634
|
+
- test/unit/branch/branch_without_guards_test.rb
|
635
|
+
- test/unit/callback/callback_by_default_test.rb
|
636
|
+
- test/unit/callback/callback_test.rb
|
637
|
+
- test/unit/callback/callback_with_application_bound_object_test.rb
|
638
|
+
- test/unit/callback/callback_with_application_terminator_test.rb
|
639
|
+
- test/unit/callback/callback_with_arguments_test.rb
|
640
|
+
- test/unit/callback/callback_with_around_type_and_arguments_test.rb
|
641
|
+
- test/unit/callback/callback_with_around_type_and_block_test.rb
|
642
|
+
- test/unit/callback/callback_with_around_type_and_bound_method_test.rb
|
643
|
+
- test/unit/callback/callback_with_around_type_and_multiple_methods_test.rb
|
644
|
+
- test/unit/callback/callback_with_around_type_and_terminator_test.rb
|
645
|
+
- test/unit/callback/callback_with_block_test.rb
|
646
|
+
- test/unit/callback/callback_with_bound_method_and_arguments_test.rb
|
647
|
+
- test/unit/callback/callback_with_bound_method_test.rb
|
648
|
+
- test/unit/callback/callback_with_do_method_test.rb
|
649
|
+
- test/unit/callback/callback_with_explicit_requirements_test.rb
|
650
|
+
- test/unit/callback/callback_with_if_condition_test.rb
|
651
|
+
- test/unit/callback/callback_with_implicit_requirements_test.rb
|
652
|
+
- test/unit/callback/callback_with_method_argument_test.rb
|
653
|
+
- test/unit/callback/callback_with_mixed_methods_test.rb
|
654
|
+
- test/unit/callback/callback_with_multiple_bound_methods_test.rb
|
655
|
+
- test/unit/callback/callback_with_multiple_do_methods_test.rb
|
656
|
+
- test/unit/callback/callback_with_multiple_method_arguments_test.rb
|
657
|
+
- test/unit/callback/callback_with_terminator_test.rb
|
658
|
+
- test/unit/callback/callback_with_unbound_method_test.rb
|
659
|
+
- test/unit/callback/callback_with_unless_condition_test.rb
|
660
|
+
- test/unit/callback/callback_without_arguments_test.rb
|
661
|
+
- test/unit/callback/callback_without_terminator_test.rb
|
662
|
+
- test/unit/error/error_by_default_test.rb
|
663
|
+
- test/unit/error/error_with_message_test.rb
|
664
|
+
- test/unit/eval_helper/eval_helpers_base_test.rb
|
665
|
+
- test/unit/eval_helper/eval_helpers_proc_block_and_explicit_arguments_test.rb
|
666
|
+
- test/unit/eval_helper/eval_helpers_proc_block_and_implicit_arguments_test.rb
|
667
|
+
- test/unit/eval_helper/eval_helpers_proc_test.rb
|
668
|
+
- test/unit/eval_helper/eval_helpers_proc_with_arguments_test.rb
|
669
|
+
- test/unit/eval_helper/eval_helpers_proc_with_block_test.rb
|
670
|
+
- test/unit/eval_helper/eval_helpers_proc_with_block_without_arguments_test.rb
|
671
|
+
- test/unit/eval_helper/eval_helpers_proc_with_block_without_object_test.rb
|
672
|
+
- test/unit/eval_helper/eval_helpers_proc_without_arguments_test.rb
|
673
|
+
- test/unit/eval_helper/eval_helpers_string_test.rb
|
674
|
+
- test/unit/eval_helper/eval_helpers_string_with_block_test.rb
|
675
|
+
- test/unit/eval_helper/eval_helpers_symbol_method_missing_test.rb
|
676
|
+
- test/unit/eval_helper/eval_helpers_symbol_private_test.rb
|
677
|
+
- test/unit/eval_helper/eval_helpers_symbol_protected_test.rb
|
678
|
+
- test/unit/eval_helper/eval_helpers_symbol_tainted_method_test.rb
|
679
|
+
- test/unit/eval_helper/eval_helpers_symbol_test.rb
|
680
|
+
- test/unit/eval_helper/eval_helpers_symbol_with_arguments_and_block_test.rb
|
681
|
+
- test/unit/eval_helper/eval_helpers_symbol_with_arguments_test.rb
|
682
|
+
- test/unit/eval_helper/eval_helpers_symbol_with_block_test.rb
|
683
|
+
- test/unit/eval_helper/eval_helpers_test.rb
|
684
|
+
- test/unit/event/event_after_being_copied_test.rb
|
685
|
+
- test/unit/event/event_by_default_test.rb
|
686
|
+
- test/unit/event/event_context_test.rb
|
687
|
+
- test/unit/event/event_on_failure_test.rb
|
688
|
+
- test/unit/event/event_test.rb
|
689
|
+
- test/unit/event/event_transitions_test.rb
|
690
|
+
- test/unit/event/event_with_conflicting_helpers_after_definition_test.rb
|
691
|
+
- test/unit/event/event_with_conflicting_helpers_before_definition_test.rb
|
692
|
+
- test/unit/event/event_with_conflicting_machine_test.rb
|
693
|
+
- test/unit/event/event_with_dynamic_human_name_test.rb
|
694
|
+
- test/unit/event/event_with_human_name_test.rb
|
695
|
+
- test/unit/event/event_with_invalid_current_state_test.rb
|
696
|
+
- test/unit/event/event_with_machine_action_test.rb
|
697
|
+
- test/unit/event/event_with_marshalling_test.rb
|
698
|
+
- test/unit/event/event_with_matching_disabled_transitions_test.rb
|
699
|
+
- test/unit/event/event_with_matching_enabled_transitions_test.rb
|
700
|
+
- test/unit/event/event_with_multiple_transitions_test.rb
|
701
|
+
- test/unit/event/event_with_namespace_test.rb
|
702
|
+
- test/unit/event/event_with_transition_with_blacklisted_to_state_test.rb
|
703
|
+
- test/unit/event/event_with_transition_with_loopback_state_test.rb
|
704
|
+
- test/unit/event/event_with_transition_with_nil_to_state_test.rb
|
705
|
+
- test/unit/event/event_with_transition_with_whitelisted_to_state_test.rb
|
706
|
+
- test/unit/event/event_with_transition_without_to_state_test.rb
|
707
|
+
- test/unit/event/event_with_transitions_test.rb
|
708
|
+
- test/unit/event/event_without_matching_transitions_test.rb
|
709
|
+
- test/unit/event/event_without_transitions_test.rb
|
710
|
+
- test/unit/event/invalid_event_test.rb
|
711
|
+
- test/unit/event_collection/event_collection_attribute_with_machine_action_test.rb
|
712
|
+
- test/unit/event_collection/event_collection_attribute_with_namespaced_machine_test.rb
|
713
|
+
- test/unit/event_collection/event_collection_by_default_test.rb
|
714
|
+
- test/unit/event_collection/event_collection_test.rb
|
715
|
+
- test/unit/event_collection/event_collection_with_custom_machine_attribute_test.rb
|
716
|
+
- test/unit/event_collection/event_collection_with_events_with_transitions_test.rb
|
717
|
+
- test/unit/event_collection/event_collection_with_multiple_events_test.rb
|
718
|
+
- test/unit/event_collection/event_collection_with_validations_test.rb
|
719
|
+
- test/unit/event_collection/event_collection_without_machine_action_test.rb
|
720
|
+
- test/unit/event_collection/event_string_collection_test.rb
|
721
|
+
- test/unit/helper_module_test.rb
|
722
|
+
- test/unit/integrations/integration_finder_test.rb
|
723
|
+
- test/unit/integrations/integration_matcher_test.rb
|
724
|
+
- test/unit/invalid_transition/invalid_parallel_transition_test.rb
|
725
|
+
- test/unit/invalid_transition/invalid_transition_test.rb
|
726
|
+
- test/unit/invalid_transition/invalid_transition_with_integration_test.rb
|
727
|
+
- test/unit/invalid_transition/invalid_transition_with_namespace_test.rb
|
728
|
+
- test/unit/machine/machine_after_being_copied_test.rb
|
729
|
+
- test/unit/machine/machine_after_changing_initial_state.rb
|
730
|
+
- test/unit/machine/machine_after_changing_owner_class_test.rb
|
731
|
+
- test/unit/machine/machine_by_default_test.rb
|
732
|
+
- test/unit/machine/machine_finder_custom_options_test.rb
|
733
|
+
- test/unit/machine/machine_finder_with_existing_machine_on_superclass_test.rb
|
734
|
+
- test/unit/machine/machine_finder_with_existing_on_same_class_test.rb
|
735
|
+
- test/unit/machine/machine_finder_without_existing_machine_test.rb
|
736
|
+
- test/unit/machine/machine_persistence_test.rb
|
737
|
+
- test/unit/machine/machine_state_initialization_test.rb
|
738
|
+
- test/unit/machine/machine_test.rb
|
739
|
+
- test/unit/machine/machine_with_action_already_overridden_test.rb
|
740
|
+
- test/unit/machine/machine_with_action_defined_in_class_test.rb
|
741
|
+
- test/unit/machine/machine_with_action_defined_in_included_module_test.rb
|
742
|
+
- test/unit/machine/machine_with_action_defined_in_superclass_test.rb
|
743
|
+
- test/unit/machine/machine_with_action_undefined_test.rb
|
744
|
+
- test/unit/machine/machine_with_cached_state_test.rb
|
745
|
+
- test/unit/machine/machine_with_class_helpers_test.rb
|
746
|
+
- test/unit/machine/machine_with_conflicting_helpers_after_definition_test.rb
|
747
|
+
- test/unit/machine/machine_with_conflicting_helpers_before_definition_test.rb
|
748
|
+
- test/unit/machine/machine_with_custom_action_test.rb
|
749
|
+
- test/unit/machine/machine_with_custom_attribute_test.rb
|
750
|
+
- test/unit/machine/machine_with_custom_initialize_test.rb
|
751
|
+
- test/unit/machine/machine_with_custom_integration_test.rb
|
752
|
+
- test/unit/machine/machine_with_custom_invalidation_test.rb
|
753
|
+
- test/unit/machine/machine_with_custom_name_test.rb
|
754
|
+
- test/unit/machine/machine_with_custom_plural_test.rb
|
755
|
+
- test/unit/machine/machine_with_dynamic_initial_state_test.rb
|
756
|
+
- test/unit/machine/machine_with_event_matchers_test.rb
|
757
|
+
- test/unit/machine/machine_with_events_test.rb
|
758
|
+
- test/unit/machine/machine_with_events_with_custom_human_names_test.rb
|
759
|
+
- test/unit/machine/machine_with_events_with_transitions_test.rb
|
760
|
+
- test/unit/machine/machine_with_existing_event_test.rb
|
761
|
+
- test/unit/machine/machine_with_existing_machines_on_owner_class_test.rb
|
762
|
+
- test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_class_test.rb
|
763
|
+
- test/unit/machine/machine_with_existing_machines_with_same_attributes_on_owner_subclass_test.rb
|
764
|
+
- test/unit/machine/machine_with_existing_state_test.rb
|
765
|
+
- test/unit/machine/machine_with_failure_callbacks_test.rb
|
766
|
+
- test/unit/machine/machine_with_helpers_test.rb
|
767
|
+
- test/unit/machine/machine_with_initial_state_with_value_and_owner_default.rb
|
768
|
+
- test/unit/machine/machine_with_initialize_and_super_test.rb
|
769
|
+
- test/unit/machine/machine_with_initialize_arguments_and_block_test.rb
|
770
|
+
- test/unit/machine/machine_with_initialize_without_super_test.rb
|
771
|
+
- test/unit/machine/machine_with_instance_helpers_test.rb
|
772
|
+
- test/unit/machine/machine_with_integration_test.rb
|
773
|
+
- test/unit/machine/machine_with_multiple_events_test.rb
|
774
|
+
- test/unit/machine/machine_with_namespace_test.rb
|
775
|
+
- test/unit/machine/machine_with_nil_action_test.rb
|
776
|
+
- test/unit/machine/machine_with_other_states.rb
|
777
|
+
- test/unit/machine/machine_with_owner_subclass_test.rb
|
778
|
+
- test/unit/machine/machine_with_paths_test.rb
|
779
|
+
- test/unit/machine/machine_with_private_action_test.rb
|
780
|
+
- test/unit/machine/machine_with_state_matchers_test.rb
|
781
|
+
- test/unit/machine/machine_with_state_with_matchers_test.rb
|
782
|
+
- test/unit/machine/machine_with_states_test.rb
|
783
|
+
- test/unit/machine/machine_with_states_with_behaviors_test.rb
|
784
|
+
- test/unit/machine/machine_with_states_with_custom_human_names_test.rb
|
785
|
+
- test/unit/machine/machine_with_states_with_custom_values_test.rb
|
786
|
+
- test/unit/machine/machine_with_states_with_runtime_dependencies_test.rb
|
787
|
+
- test/unit/machine/machine_with_static_initial_state_test.rb
|
788
|
+
- test/unit/machine/machine_with_superclass_conflicting_helpers_after_definition_test.rb
|
789
|
+
- test/unit/machine/machine_with_transition_callbacks_test.rb
|
790
|
+
- test/unit/machine/machine_with_transitions_test.rb
|
791
|
+
- test/unit/machine/machine_without_initialization_test.rb
|
792
|
+
- test/unit/machine/machine_without_initialize_test.rb
|
793
|
+
- test/unit/machine/machine_without_integration_test.rb
|
794
|
+
- test/unit/machine_collection/machine_collection_by_default_test.rb
|
795
|
+
- test/unit/machine_collection/machine_collection_fire_attributes_with_validations_test.rb
|
796
|
+
- test/unit/machine_collection/machine_collection_fire_test.rb
|
797
|
+
- test/unit/machine_collection/machine_collection_fire_with_transactions_test.rb
|
798
|
+
- test/unit/machine_collection/machine_collection_fire_with_validations_test.rb
|
799
|
+
- test/unit/machine_collection/machine_collection_state_initialization_test.rb
|
800
|
+
- test/unit/machine_collection/machine_collection_transitions_with_blank_events_test.rb
|
801
|
+
- test/unit/machine_collection/machine_collection_transitions_with_custom_options_test.rb
|
802
|
+
- test/unit/machine_collection/machine_collection_transitions_with_different_actions_test.rb
|
803
|
+
- test/unit/machine_collection/machine_collection_transitions_with_exisiting_transitions_test.rb
|
804
|
+
- test/unit/machine_collection/machine_collection_transitions_with_invalid_events_test.rb
|
805
|
+
- test/unit/machine_collection/machine_collection_transitions_with_same_actions_test.rb
|
806
|
+
- test/unit/machine_collection/machine_collection_transitions_with_transition_test.rb
|
807
|
+
- test/unit/machine_collection/machine_collection_transitions_without_events_test.rb
|
808
|
+
- test/unit/machine_collection/machine_collection_transitions_without_transition_test.rb
|
809
|
+
- test/unit/matcher/all_matcher_test.rb
|
810
|
+
- test/unit/matcher/blacklist_matcher_test.rb
|
811
|
+
- test/unit/matcher/loopback_matcher_test.rb
|
812
|
+
- test/unit/matcher/matcher_by_default_test.rb
|
813
|
+
- test/unit/matcher/matcher_with_multiple_values_test.rb
|
814
|
+
- test/unit/matcher/matcher_with_value_test.rb
|
815
|
+
- test/unit/matcher/whitelist_matcher_test.rb
|
816
|
+
- test/unit/matcher_helpers/matcher_helpers_all_test.rb
|
817
|
+
- test/unit/matcher_helpers/matcher_helpers_any_test.rb
|
818
|
+
- test/unit/matcher_helpers/matcher_helpers_same_test.rb
|
819
|
+
- |-
|
820
|
+
test/unit/node_collection/node_collection_after_being_copied_test
|
821
|
+
.rb
|
822
|
+
- |-
|
823
|
+
test/unit/node_collection/node_collection_after_update_test
|
824
|
+
.rb
|
825
|
+
- test/unit/node_collection/node_collection_by_default_test.rb
|
826
|
+
- test/unit/node_collection/node_collection_test.rb
|
827
|
+
- |-
|
828
|
+
test/unit/node_collection/node_collection_with_indices_test
|
829
|
+
.rb
|
830
|
+
- test/unit/node_collection/node_collection_with_matcher_contexts_test.rb
|
831
|
+
- |-
|
832
|
+
test/unit/node_collection/node_collection_with_nodes_test
|
833
|
+
.rb
|
834
|
+
- |-
|
835
|
+
test/unit/node_collection/node_collection_with_numeric_index_test
|
836
|
+
.rb
|
837
|
+
- |-
|
838
|
+
test/unit/node_collection/node_collection_with_postdefined_contexts_test
|
839
|
+
.rb
|
840
|
+
- |-
|
841
|
+
test/unit/node_collection/node_collection_with_predefined_contexts_test
|
842
|
+
.rb
|
843
|
+
- |-
|
844
|
+
test/unit/node_collection/node_collection_with_string_index_test
|
845
|
+
.rb
|
846
|
+
- |-
|
847
|
+
test/unit/node_collection/node_collection_with_symbol_index_test
|
848
|
+
.rb
|
849
|
+
- |-
|
850
|
+
test/unit/node_collection/node_collection_without_indices_test
|
851
|
+
.rb
|
852
|
+
- test/unit/path/path_by_default_test.rb
|
853
|
+
- test/unit/path/path_test.rb
|
854
|
+
- test/unit/path/path_with_available_transitions_after_reaching_target_test.rb
|
855
|
+
- test/unit/path/path_with_available_transitions_test.rb
|
856
|
+
- test/unit/path/path_with_deep_target_reached_test.rb
|
857
|
+
- test/unit/path/path_with_deep_target_test.rb
|
858
|
+
- test/unit/path/path_with_duplicates_test.rb
|
859
|
+
- test/unit/path/path_with_encountered_transitions_test.rb
|
860
|
+
- test/unit/path/path_with_guarded_transitions_test.rb
|
861
|
+
- test/unit/path/path_with_reached_target_test.rb
|
862
|
+
- test/unit/path/path_with_transitions_test.rb
|
863
|
+
- test/unit/path/path_with_unreached_target_test.rb
|
864
|
+
- test/unit/path/path_without_transitions_test.rb
|
865
|
+
- test/unit/path_collection/path_collection_by_default_test.rb
|
866
|
+
- test/unit/path_collection/path_collection_test.rb
|
867
|
+
- test/unit/path_collection/path_collection_with_deep_paths_test.rb
|
868
|
+
- test/unit/path_collection/path_collection_with_duplicate_nodes_test.rb
|
869
|
+
- test/unit/path_collection/path_collection_with_from_state_test.rb
|
870
|
+
- test/unit/path_collection/path_collection_with_paths_test.rb
|
871
|
+
- test/unit/path_collection/path_collection_with_to_state_test.rb
|
872
|
+
- test/unit/path_collection/path_with_guarded_paths_test.rb
|
873
|
+
- test/unit/state/state_after_being_copied_test.rb
|
874
|
+
- test/unit/state/state_by_default_test.rb
|
875
|
+
- test/unit/state/state_final_test.rb
|
876
|
+
- test/unit/state/state_initial_test.rb
|
877
|
+
- test/unit/state/state_not_final_test.rb
|
878
|
+
- test/unit/state/state_not_initial_test.rb
|
879
|
+
- test/unit/state/state_test.rb
|
880
|
+
- test/unit/state/state_with_cached_lambda_value_test.rb
|
881
|
+
- test/unit/state/state_with_conflicting_helpers_after_definition_test.rb
|
882
|
+
- test/unit/state/state_with_conflicting_helpers_before_definition_test.rb
|
883
|
+
- test/unit/state/state_with_conflicting_machine_name_test.rb
|
884
|
+
- test/unit/state/state_with_conflicting_machine_test.rb
|
885
|
+
- test/unit/state/state_with_context_test.rb
|
886
|
+
- test/unit/state/state_with_dynamic_human_name_test.rb
|
887
|
+
- test/unit/state/state_with_existing_context_method_test.rb
|
888
|
+
- test/unit/state/state_with_human_name_test.rb
|
889
|
+
- test/unit/state/state_with_integer_value_test.rb
|
890
|
+
- test/unit/state/state_with_invalid_method_call_test.rb
|
891
|
+
- test/unit/state/state_with_lambda_value_test.rb
|
892
|
+
- test/unit/state/state_with_matcher_test.rb
|
893
|
+
- test/unit/state/state_with_multiple_contexts_test.rb
|
894
|
+
- test/unit/state/state_with_name_test.rb
|
895
|
+
- test/unit/state/state_with_namespace_test.rb
|
896
|
+
- test/unit/state/state_with_nil_value_test.rb
|
897
|
+
- test/unit/state/state_with_redefined_context_method_test.rb
|
898
|
+
- test/unit/state/state_with_symbolic_value_test.rb
|
899
|
+
- test/unit/state/state_with_valid_inherited_method_call_for_current_state_test.rb
|
900
|
+
- test/unit/state/state_with_valid_method_call_for_current_state_test.rb
|
901
|
+
- test/unit/state/state_with_valid_method_call_for_different_state_test.rb
|
902
|
+
- test/unit/state/state_without_cached_lambda_value_test.rb
|
903
|
+
- test/unit/state/state_without_name_test.rb
|
904
|
+
- test/unit/state_collection/state_collection_by_default_test.rb
|
905
|
+
- test/unit/state_collection/state_collection_string_test.rb
|
906
|
+
- test/unit/state_collection/state_collection_test.rb
|
907
|
+
- test/unit/state_collection/state_collection_with_custom_state_values_test.rb
|
908
|
+
- test/unit/state_collection/state_collection_with_event_transitions_test.rb
|
909
|
+
- test/unit/state_collection/state_collection_with_initial_state_test.rb
|
910
|
+
- test/unit/state_collection/state_collection_with_namespace_test.rb
|
911
|
+
- test/unit/state_collection/state_collection_with_state_behaviors_test.rb
|
912
|
+
- test/unit/state_collection/state_collection_with_state_matchers_test.rb
|
913
|
+
- test/unit/state_collection/state_collection_with_transition_callbacks_test.rb
|
914
|
+
- test/unit/state_context/state_context_proxy_test.rb
|
915
|
+
- test/unit/state_context/state_context_proxy_with_if_and_unless_conditions_test.rb
|
916
|
+
- test/unit/state_context/state_context_proxy_with_if_condition_test.rb
|
917
|
+
- test/unit/state_context/state_context_proxy_with_multiple_if_conditions_test.rb
|
918
|
+
- test/unit/state_context/state_context_proxy_with_multiple_unless_conditions_test.rb
|
919
|
+
- test/unit/state_context/state_context_proxy_with_unless_condition_test.rb
|
920
|
+
- test/unit/state_context/state_context_proxy_without_conditions_test.rb
|
921
|
+
- test/unit/state_context/state_context_test.rb
|
922
|
+
- test/unit/state_context/state_context_transition_test.rb
|
923
|
+
- test/unit/state_context/state_context_with_matching_transition_test.rb
|
924
|
+
- test/unit/state_machine/state_machine_by_default_test.rb
|
925
|
+
- test/unit/state_machine/state_machine_test.rb
|
926
|
+
- test/unit/transition/transition_after_being_performed_test.rb
|
927
|
+
- test/unit/transition/transition_after_being_persisted_test.rb
|
928
|
+
- test/unit/transition/transition_after_being_rolled_back_test.rb
|
929
|
+
- test/unit/transition/transition_equality_test.rb
|
930
|
+
- test/unit/transition/transition_loopback_test.rb
|
931
|
+
- test/unit/transition/transition_test.rb
|
932
|
+
- test/unit/transition/transition_transient_test.rb
|
933
|
+
- test/unit/transition/transition_with_action_test.rb
|
934
|
+
- test/unit/transition/transition_with_after_callbacks_skipped_test.rb
|
935
|
+
- test/unit/transition/transition_with_after_callbacks_test.rb
|
936
|
+
- test/unit/transition/transition_with_around_callbacks_test.rb
|
937
|
+
- test/unit/transition/transition_with_before_callbacks_skipped_test.rb
|
938
|
+
- test/unit/transition/transition_with_before_callbacks_test.rb
|
939
|
+
- test/unit/transition/transition_with_custom_machine_attribute_test.rb
|
940
|
+
- test/unit/transition/transition_with_different_states_test.rb
|
941
|
+
- test/unit/transition/transition_with_dynamic_to_value_test.rb
|
942
|
+
- test/unit/transition/transition_with_failure_callbacks_test.rb
|
943
|
+
- test/unit/transition/transition_with_invalid_nodes_test.rb
|
944
|
+
- test/unit/transition/transition_with_mixed_callbacks_test.rb
|
945
|
+
- test/unit/transition/transition_with_multiple_after_callbacks_test.rb
|
946
|
+
- test/unit/transition/transition_with_multiple_around_callbacks_test.rb
|
947
|
+
- test/unit/transition/transition_with_multiple_before_callbacks_test.rb
|
948
|
+
- test/unit/transition/transition_with_multiple_failure_callbacks_test.rb
|
949
|
+
- test/unit/transition/transition_with_namespace_test.rb
|
950
|
+
- test/unit/transition/transition_with_perform_arguments_test.rb
|
951
|
+
- test/unit/transition/transition_with_transactions_test.rb
|
952
|
+
- test/unit/transition/transition_without_callbacks_test.rb
|
953
|
+
- test/unit/transition/transition_without_reading_state_test.rb
|
954
|
+
- test/unit/transition/transition_without_running_action_test.rb
|
955
|
+
- test/unit/transition_collection/attribute_transition_collection_by_default_test.rb
|
956
|
+
- test/unit/transition_collection/attribute_transition_collection_marshalling_test.rb
|
957
|
+
- test/unit/transition_collection/attribute_transition_collection_with_action_error_test.rb
|
958
|
+
- test/unit/transition_collection/attribute_transition_collection_with_action_failed_test.rb
|
959
|
+
- test/unit/transition_collection/attribute_transition_collection_with_after_callback_error_test.rb
|
960
|
+
- test/unit/transition_collection/attribute_transition_collection_with_after_callback_halt_test.rb
|
961
|
+
- test/unit/transition_collection/attribute_transition_collection_with_around_after_yield_callback_error_test.rb
|
962
|
+
- test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_error_test.rb
|
963
|
+
- test/unit/transition_collection/attribute_transition_collection_with_around_callback_after_yield_halt_test.rb
|
964
|
+
- test/unit/transition_collection/attribute_transition_collection_with_around_callback_before_yield_halt_test.rb
|
965
|
+
- test/unit/transition_collection/attribute_transition_collection_with_before_callback_error_test.rb
|
966
|
+
- test/unit/transition_collection/attribute_transition_collection_with_before_callback_halt_test.rb
|
967
|
+
- test/unit/transition_collection/attribute_transition_collection_with_callbacks_test.rb
|
968
|
+
- test/unit/transition_collection/attribute_transition_collection_with_event_transitions_test.rb
|
969
|
+
- test/unit/transition_collection/attribute_transition_collection_with_events_test.rb
|
970
|
+
- test/unit/transition_collection/attribute_transition_collection_with_skipped_after_callbacks_test.rb
|
971
|
+
- test/unit/transition_collection/transition_collection_by_default_test.rb
|
972
|
+
- test/unit/transition_collection/transition_collection_empty_with_block_test.rb
|
973
|
+
- test/unit/transition_collection/transition_collection_empty_without_block_test.rb
|
974
|
+
- test/unit/transition_collection/transition_collection_invalid_test.rb
|
975
|
+
- test/unit/transition_collection/transition_collection_partial_invalid_test.rb
|
976
|
+
- test/unit/transition_collection/transition_collection_test.rb
|
977
|
+
- test/unit/transition_collection/transition_collection_valid_test.rb
|
978
|
+
- test/unit/transition_collection/transition_collection_with_action_error_test.rb
|
979
|
+
- test/unit/transition_collection/transition_collection_with_action_failed_test.rb
|
980
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_and_block_test.rb
|
981
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_action_test.rb
|
982
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_and_skipped_after_callbacks_test.rb
|
983
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_base_test.rb
|
984
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_error_test.rb
|
985
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_invalid_test.rb
|
986
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_multiple_test.rb
|
987
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_test.rb
|
988
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_with_different_actions_test.rb
|
989
|
+
- test/unit/transition_collection/transition_collection_with_action_hook_with_nil_action_test.rb
|
990
|
+
- test/unit/transition_collection/transition_collection_with_after_callback_halt_test.rb
|
991
|
+
- test/unit/transition_collection/transition_collection_with_before_callback_halt_test.rb
|
992
|
+
- test/unit/transition_collection/transition_collection_with_block_test.rb
|
993
|
+
- test/unit/transition_collection/transition_collection_with_callbacks_test.rb
|
994
|
+
- test/unit/transition_collection/transition_collection_with_different_actions_test.rb
|
995
|
+
- test/unit/transition_collection/transition_collection_with_duplicate_actions_test.rb
|
996
|
+
- test/unit/transition_collection/transition_collection_with_empty_actions_test.rb
|
997
|
+
- test/unit/transition_collection/transition_collection_with_mixed_actions_test.rb
|
998
|
+
- test/unit/transition_collection/transition_collection_with_skipped_actions_and_block_test.rb
|
999
|
+
- test/unit/transition_collection/transition_collection_with_skipped_actions_test.rb
|
1000
|
+
- test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_and_around_callbacks_test.rb
|
1001
|
+
- test/unit/transition_collection/transition_collection_with_skipped_after_callbacks_test.rb
|
1002
|
+
- test/unit/transition_collection/transition_collection_with_transactions_test.rb
|
1003
|
+
- test/unit/transition_collection/transition_collection_without_transactions_test.rb
|
217
1004
|
has_rdoc:
|