C# Class Dev2.Core.Tests.mvTest

显示文件 Open project: Warewolf-ESB/Warewolf

Public Properties

Property Type Description
_popupController Mock

Public Methods

Method Description
CreateMockConnection ( Random rand ) : Mock
CreateMockEnvironment ( ) : Mock
CreateResource ( ResourceType resourceType ) : Mock
GetEnvironmentRepository ( ) : IEnvironmentRepository
GetMockSecurityContext ( ) : Mock
GetworkspaceItemRespository ( ) : Mock

Private Methods

Method Description
AddAdditionalContext ( ) : void
AddStudioShortcutsPageCommandExpectsShortKeysActive ( ) : void
AdditionalWorksurfaceAddedExpectsLAstAddedTOBeActive ( ) : void
CloseContextWithCloseFalseExpectsContextNotRemoved ( ) : void
CloseContextWithCloseFalseExpectsPreviousItemActivatedAndAllItemsPResent ( ) : void
CloseContextWithCloseTrueAndResourceNotSavedPopupNotOkExpectsWorkspaceItemNotRemoved ( ) : void
CloseContextWithCloseTrueAndResourceNotSavedPopupOkExpectsRemoveWorkspaceItemCalledAndContextRemovedAndSaveResourceEventAggregatorMessage ( ) : void
CloseContextWithCloseTrueAndResourceSavedExpectsRemoveWorkspaceItemRemoveCalledAndTabClosedMessageAndContextRemoved ( ) : void
CloseContextWithCloseTrueExpectsPreviousItemActivatedAndOneLessItem ( ) : void
CreateFullExportsAndVm ( ) : void
CreateFullExportsAndVmWithEmptyRepo ( ) : void
CreateResourceRepo ( ) : void
DeactivateWithCloseAndTwoTabsExpectBuildTwiceWithEmptyDebugWriterWriteMessage ( ) : void
DeactivateWithCloseExpectBuildWithEmptyDebugWriterWriteMessage ( ) : void
DeleteResourceConfirmedExpectContextRemoved ( ) : void
DeleteResourceConfirmedExpectRemoveNavigationResourceMessage ( ) : void
DeleteResourceConfirmedWithInvalidResponseExpectNoMessage ( ) : void
DeleteResourceConfirmedWithNoResponseExpectNoMessage ( ) : void
DeleteResourceWithConfirmExpectsDependencyServiceCalled ( ) : void
DeleteResourceWithDeclineExpectsDependencyServiceCalled ( ) : void
DeleteResourceWithNullResourceExpectsNoPoupShown ( ) : void
DeleteServerResourceOnLocalHostAlsoDeletesFromEnvironmentRepoAndExplorerTree ( ) : void
DeleteServerResourceOnOtherServerDoesntDeleteFromEnvironmentRepoAndExplorerTree ( ) : void
DeployAllCommandWithCurrentResourceAndOpenDeploytabExpectsSelectItemInDeployMessage ( ) : void
DeployAllCommandWithoutCurrentResourceExpectsDeplouViewModelActive ( ) : void
DeployCommandCanExecuteIrrespectiveOfEnvironments ( ) : void
DisplayAboutDialogueCommandExpectsWindowManagerShowingIDialogueViewModel ( ) : void
IsActiveEnvironmentConnectExpectFalseWithNullEnvironment ( ) : void
MainViewModelConstructorWithNullBrowserPopupControllerExpectedCreatesExternalBrowserPopupController ( ) : void
MainViewModelConstructorWithWorkspaceItemsInRepositoryExpectedLoadsWorkspaceItems ( ) : void
MainViewModelConstructorWithWorkspaceItemsInRepositoryExpectedNotLoadsWorkspaceItemsWithDifferentEnvID ( ) : void
MainViewModelConstructorWithWorkspaceItemsInRepositoryExpectedNotLoadsWorkspaceItemsWithSameEnvID ( ) : void
MainViewModelDeactivateItemWithPreviousItemNotOpenExpectedNoActiveItem ( ) : void
MainViewModelDeactivateItemWithPreviousItemOpenExpectedActiveItemToBePreviousItem ( ) : void
MainViewModelOnDeactivateWithTrueExpectedSavesResourceModels ( ) : void
MainViewModelOnDeactivateWithTrueExpectedSavesWorkspaceItems ( ) : void
MainViewModelShowCommunityPageExpectedInvokesConstructorsBrowserPopupController ( ) : void
MainViewModelShowStartPageExpectedGetsLatestFirst ( ) : void
MyTestCleanup ( ) : void
MyTestInitialize ( ) : void
NewResourceCommandExpectsWebControllerDisplayDialogue ( ) : void
OnImportsSatisfiedExpectsContextsAddedForSavedWorkspaces ( ) : void
OnImportsSatisfiedExpectsDisplayNameSet ( ) : void
OnImportsSatisfiedExpectsStartpageActive ( ) : void
OnImportsSatisfiedExpectsTwoItems ( ) : void
OnImportsSatisfiedWithNonStudioContextExpectsOnlyStartPage ( ) : void
SetActiveEnvironmentCallsUpdateActiveEnvironmentMessageExpectedUpdateActiveEnvironmentMessagePublished ( ) : void
SettingsCommandCanExecuteIrrespectiveOfEnvironments ( ) : void
SettingsCommandCreatesSettingsWorkSurfaceContext ( ) : void
SettingsSaveCancelMessageExpectsPreviousContextActive ( ) : void
SetupForDelete ( ) : void
SetupForDeleteServer ( ) : Mock
SetupImportServiceForPersistenceTests ( Mock wsiRepo ) : void
ShowDependenciesMessageExpectsDependencyVisualizerWithResource ( ) : void
ShowDependenciesMessageExpectsNothingWithNullResource ( ) : void
ShowHelpTabMessageExpectHelpTabWithUriActive ( ) : void
StartFeedbackCommandCommandExpectsFeedbackInvoked ( ) : void
StartStopRecordedFeedbackCommandExpectsFeedbackStartedWhenNotInProgress ( ) : void
StartStopRecordedFeedbackCommandExpectsFeedbackStppedtInProgress ( ) : void

Method Details

CreateMockConnection() public static method

public static CreateMockConnection ( Random rand ) : Mock
rand System.Random
return Mock

CreateMockEnvironment() public static method

public static CreateMockEnvironment ( ) : Mock
return Mock

CreateResource() public method

public CreateResource ( ResourceType resourceType ) : Mock
resourceType ResourceType
return Mock

GetEnvironmentRepository() public method

public GetEnvironmentRepository ( ) : IEnvironmentRepository
return IEnvironmentRepository

GetMockSecurityContext() public method

public GetMockSecurityContext ( ) : Mock
return Mock

GetworkspaceItemRespository() public method

public GetworkspaceItemRespository ( ) : Mock
return Mock

Property Details

_popupController public_oe property

public Mock _popupController
return Mock