StateManagerTest StateManagerTest Class

Definition

public class StateManagerTest
Public Class StateManagerTest
Inheritance
System.ObjectSystem.Object
StateManagerTestStateManagerTest

Methods

AcceptAllChanges_processes_all_tracked_entities() AcceptAllChanges_processes_all_tracked_entities()

public void AcceptAllChanges_processes_all_tracked_entities()
Public Sub AcceptAllChanges_processes_all_tracked_entities

Can_get_all_dependent_entries() Can_get_all_dependent_entries()

public void Can_get_all_dependent_entries()
Public Sub Can_get_all_dependent_entries

Can_get_all_entities() Can_get_all_entities()

public void Can_get_all_entities()
Public Sub Can_get_all_entities

Can_get_existing_entry_even_if_state_not_yet_set() Can_get_existing_entry_even_if_state_not_yet_set()

public void Can_get_existing_entry_even_if_state_not_yet_set()
Public Sub Can_get_existing_entry_even_if_state_not_yet_set

Can_get_existing_entry_if_entity_is_already_tracked_otherwise_new_entry() Can_get_existing_entry_if_entity_is_already_tracked_otherwise_new_entry()

public void Can_get_existing_entry_if_entity_is_already_tracked_otherwise_new_entry()
Public Sub Can_get_existing_entry_if_entity_is_already_tracked_otherwise_new_entry

Can_stop_tracking_and_then_start_tracking_again() Can_stop_tracking_and_then_start_tracking_again()

public void Can_stop_tracking_and_then_start_tracking_again()
Public Sub Can_stop_tracking_and_then_start_tracking_again

Can_stop_tracking_and_then_start_tracking_using_a_new_state_entry() Can_stop_tracking_and_then_start_tracking_using_a_new_state_entry()

public void Can_stop_tracking_and_then_start_tracking_using_a_new_state_entry()
Public Sub Can_stop_tracking_and_then_start_tracking_using_a_new_state_entry

DetectChanges_is_called_for_all_tracked_entities_and_returns_true_if_any_changes_detected() DetectChanges_is_called_for_all_tracked_entities_and_returns_true_if_any_changes_detected()

public void DetectChanges_is_called_for_all_tracked_entities_and_returns_true_if_any_changes_detected()
Public Sub DetectChanges_is_called_for_all_tracked_entities_and_returns_true_if_any_changes_detected

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

Listeners_are_notified_when_entity_states_change() Listeners_are_notified_when_entity_states_change()

public void Listeners_are_notified_when_entity_states_change()
Public Sub Listeners_are_notified_when_entity_states_change

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

StartTracking_is_no_op_if_entity_is_already_tracked() StartTracking_is_no_op_if_entity_is_already_tracked()

public void StartTracking_is_no_op_if_entity_is_already_tracked()
Public Sub StartTracking_is_no_op_if_entity_is_already_tracked

StartTracking_throws_for_invalid_entity_key() StartTracking_throws_for_invalid_entity_key()

public void StartTracking_throws_for_invalid_entity_key()
Public Sub StartTracking_throws_for_invalid_entity_key

StartTracking_throws_if_different_instance_with_same_identity_is_already_tracked() StartTracking_throws_if_different_instance_with_same_identity_is_already_tracked()

public void StartTracking_throws_if_different_instance_with_same_identity_is_already_tracked()
Public Sub StartTracking_throws_if_different_instance_with_same_identity_is_already_tracked

State_manager_does_not_switch_out_of_single_query_mode_when_getting_existing_entry() State_manager_does_not_switch_out_of_single_query_mode_when_getting_existing_entry()

public void State_manager_does_not_switch_out_of_single_query_mode_when_getting_existing_entry()
Public Sub State_manager_does_not_switch_out_of_single_query_mode_when_getting_existing_entry

State_manager_switches_out_of_single_query_mode_when_entity_has_self_refs() State_manager_switches_out_of_single_query_mode_when_entity_has_self_refs()

public void State_manager_switches_out_of_single_query_mode_when_entity_has_self_refs()
Public Sub State_manager_switches_out_of_single_query_mode_when_entity_has_self_refs

State_manager_switches_out_of_single_query_mode_when_entity_included() State_manager_switches_out_of_single_query_mode_when_entity_included()

public void State_manager_switches_out_of_single_query_mode_when_entity_included()
Public Sub State_manager_switches_out_of_single_query_mode_when_entity_included

State_manager_switches_out_of_single_query_mode_when_second_query_begins() State_manager_switches_out_of_single_query_mode_when_second_query_begins()

public void State_manager_switches_out_of_single_query_mode_when_second_query_begins()
Public Sub State_manager_switches_out_of_single_query_mode_when_second_query_begins

State_manager_switches_out_of_single_query_mode_when_tracked_state_changes_to_Added() State_manager_switches_out_of_single_query_mode_when_tracked_state_changes_to_Added()

public void State_manager_switches_out_of_single_query_mode_when_tracked_state_changes_to_Added()
Public Sub State_manager_switches_out_of_single_query_mode_when_tracked_state_changes_to_Added

State_manager_switches_out_of_single_query_mode_when_tracked_state_changes_to_Modified() State_manager_switches_out_of_single_query_mode_when_tracked_state_changes_to_Modified()

public void State_manager_switches_out_of_single_query_mode_when_tracked_state_changes_to_Modified()
Public Sub State_manager_switches_out_of_single_query_mode_when_tracked_state_changes_to_Modified

StopTracking_releases_reference_to_entry() StopTracking_releases_reference_to_entry()

public void StopTracking_releases_reference_to_entry()
Public Sub StopTracking_releases_reference_to_entry

Throws_on_attempt_to_start_tracking_different_entities_with_same_identity() Throws_on_attempt_to_start_tracking_different_entities_with_same_identity()

public void Throws_on_attempt_to_start_tracking_different_entities_with_same_identity()
Public Sub Throws_on_attempt_to_start_tracking_different_entities_with_same_identity

Throws_on_attempt_to_start_tracking_entity_with_null_key() Throws_on_attempt_to_start_tracking_entity_with_null_key()

public void Throws_on_attempt_to_start_tracking_entity_with_null_key()
Public Sub Throws_on_attempt_to_start_tracking_entity_with_null_key

Throws_on_attempt_to_start_tracking_with_wrong_manager() Throws_on_attempt_to_start_tracking_with_wrong_manager()

public void Throws_on_attempt_to_start_tracking_with_wrong_manager()
Public Sub Throws_on_attempt_to_start_tracking_with_wrong_manager

Throws_when_instance_of_unmapped_derived_type_is_used() Throws_when_instance_of_unmapped_derived_type_is_used()

public void Throws_when_instance_of_unmapped_derived_type_is_used()
Public Sub Throws_when_instance_of_unmapped_derived_type_is_used

ToString() ToString()

Inherited from System.Object

Will_get_new_entry_if_another_entity_with_the_same_key_is_already_tracked() Will_get_new_entry_if_another_entity_with_the_same_key_is_already_tracked()

public void Will_get_new_entry_if_another_entity_with_the_same_key_is_already_tracked()
Public Sub Will_get_new_entry_if_another_entity_with_the_same_key_is_already_tracked