C# Класс Dev2.Core.Tests.Environments.EnvironmentModelTest

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

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

Метод Описание
CreateEqualityEnvironmentModel ( System.Guid resourceID, string resourceName, System.Guid serverID, string serverUri ) : IEnvironmentModel

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

Метод Описание
CreateConnection ( ) : Mock
CreateEnvironmentModel ( System.Guid id, IEnvironmentConnection connection ) : EnvironmentModel
EnvironmentModel_AuthorizationService_Constructor_PropertyInitialized ( ) : void
EnvironmentModel_AuthorizationService_PermissionsChanged_IsAuthorizedDeployToAndIsAuthorizedDeployFromChanged ( ) : void
EnvironmentModel_ConnectOther_NonNullAndConnected_DoesNotInvokeOthersConnect ( ) : void
EnvironmentModel_ConnectOther_NonNullAndConnected_InvokesThisConnect ( ) : void
EnvironmentModel_ConnectOther_NonNullAndNotConnectedFails_ThrowsInvalidOperationException ( ) : void
EnvironmentModel_ConnectOther_NonNullAndNotConnected_InvokesOtherConnect ( ) : void
EnvironmentModel_ConnectOther_Null_ThrowsArgumentNullException ( ) : void
EnvironmentModel_Connect_IsConnected_DoesNotInvokeConnection ( ) : void
EnvironmentModel_Connect_IsNotConnectedAndNameIsEmpty_ThrowsArgumentException ( ) : void
EnvironmentModel_Connect_IsNotConnectedAndNameIsNotEmpty_DoesInvokeConnection ( ) : void
EnvironmentModel_Connection_PermissionsChanged_IsAuthorizedChanged ( ) : void
EnvironmentModel_Connection_PermissionsChanged_IsDeployFromChanged ( ) : void
EnvironmentModel_Connection_PermissionsChanged_IsDeployToChanged ( ) : void
EnvironmentModel_Constructor_ConnectionAndNullResourceRepository_ThrowsArgumentNullException ( ) : void
EnvironmentModel_Constructor_ConnectionAndResourceRepository_InitializesConnectionAndResourceRepository ( ) : void
EnvironmentModel_Constructor_ConnectionAndWizardEngine_InitializesConnectionAndResourceRepository ( ) : void
EnvironmentModel_Constructor_NullConnection_ThrowsArgumentNullException ( ) : void
EnvironmentModel_Disconnect_IsConnected_DoesInvokeDisconnectOnConnection ( ) : void
EnvironmentModel_Disconnect_IsNotConnected_DoesNotInvokeDisconnectOnConnection ( ) : void
EnvironmentModel_DisplayName_WithConnection_ContainsConnectionAddress ( ) : void
EnvironmentModel_Equals_OtherHasDifferentID_False ( ) : void
EnvironmentModel_Equals_OtherHasDifferentName_True ( ) : void
EnvironmentModel_Equals_OtherIsNull_False ( ) : void
EnvironmentModel_Equals_OtherIsSame_True ( ) : void
EnvironmentModel_ForceLoadResources_InvokesForceLoadOnResourceRepository ( ) : void
EnvironmentModel_IsLocalHost_IsLocalHost_True ( ) : void
EnvironmentModel_IsLocalHost_IsNotLocalHost_False ( ) : void
EnvironmentModel_LoadResources_ShouldLoadFalse_NotInvokeLoadOnResourceRepository ( ) : void
EnvironmentModel_LoadResources_ShouldLoadTrue_InvokesLoadOnResourceRepository ( ) : void
EnvironmentModel_Load_CallsLoadedEvent ( ) : void
EnvironmentModel_Load_DoesNotLoads_SetsLoaded ( ) : void
EnvironmentModel_Load_Loads_SetsLoaded ( ) : void
EnvironmentModel_NetworkStateChanged_Offline_DoesPublishEnvironmentDisconnectedMessage ( ) : void
EnvironmentModel_NetworkStateChanged_Online_DoesPublishEnvironmentConnectedMessage ( ) : void
EnvironmentTreeViewModel_CTOR_NullStudioRep ( ) : void
EnvironmentTreeViewModel_PermissionsChanged_MemoIDEqualsEnvironmentServerId_UserPermissionChanges ( ) : void
EnvironmentTreeViewModel_PermissionsChanged_MemoIDEqualsEnvironmentServerId_UserPermissionChangesNonLocalHost ( ) : void
TestConnectionEvents ( NetworkState toState ) : void

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

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

public static CreateEqualityEnvironmentModel ( System.Guid resourceID, string resourceName, System.Guid serverID, string serverUri ) : IEnvironmentModel
resourceID System.Guid
resourceName string
serverID System.Guid
serverUri string
Результат IEnvironmentModel