C# 클래스 Dev2.Core.Tests.DebugOutputViewModelTest

파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf

공개 프로퍼티들

프로퍼티 타입 설명
_popupController Mock

공개 메소드들

메소드 설명
CreateMockConnection ( Random rand ) : Mock
CreateMockEnvironment ( ) : Mock
CreateResource ( ResourceType resourceType ) : Mock
DebugOutputViewModel_Append_ContentIsDebugState ( System.Guid contentID, System.Guid contentParentID, string displayName ) : void
DebugOutputViewModel_Append_ContentIsDebugStateErrors ( bool parentContentHasErrors, bool childContentHasErrors ) : void
GetEnvironmentRepository ( ) : IEnvironmentRepository
GetMockSecurityContext ( ) : Mock
GetworkspaceItemRespository ( ) : Mock

비공개 메소드들

메소드 설명
AddAdditionalContext ( ) : void
ClassInitialize ( Microsoft.VisualStudio.TestTools.UnitTesting.TestContext testContext ) : void
CreateEnvironmentModel ( ) : void
CreateFullExportsAndVm ( ) : void
DebugOutputDisplayedExpectsDisplayedToCorrectViewModel ( ) : void
DebugOutputViewModelAppendErrorExpectErrorMessageAppende ( ) : void
DebugOutputViewModelAppendNestedDebugstatesExpectNestedInRootItems ( ) : void
DebugOutputViewModelCanOpenNonNullOrEmptyMoreLinkLineItem ( ) : void
DebugOutputViewModelCantOpenEmptyMoreLinkLineItem ( ) : void
DebugOutputViewModelCantOpenNullMoreLinkLineItem ( ) : void
DebugOutputViewModelPendingQueueExpectedQueuesMessagesAndFlushesWhenFinishedProcessing ( ) : void
DebugOutputViewModel_Append_ContentIsDebugStateAndIDDoesEqualParentID_ItemAddedAtRootAndIsNotExpanded ( ) : void
DebugOutputViewModel_Append_ContentIsDebugStateAndParentIDIsEmpty_ItemAddedAtRootAndIsNotExpanded ( ) : void
DebugOutputViewModel_Append_ContentIsDebugStateWithErrors_ItemAddedWithErrors ( ) : void
DebugOutputViewModel_Append_ContentIsDebugStateWithoutErrors_ItemAddedWithoutErrors ( ) : void
DebugOutputViewModel_Append_ContentStateType ( StateType stateType, Type expectedType, bool isExpanded ) : void
DebugOutputViewModel_Append_ContentStateTypeIsMessage_StringTreeViewItemAdded ( ) : void
DebugOutputViewModel_Append_ContentStateTypeIsNotMessage_StateTreeViewItemAdded ( ) : void
DebugOutputViewModel_Append_ItemHasSameID_ShouldAddAsNewItemIntoTree ( ) : void
DebugOutputViewModel_Append_ItemRemoteHasNoPermission_ShouldNotAddAsNewItemIntoTree ( ) : void
DebugOutputViewModel_Append_NullContent_NotAdded ( ) : void
DebugOutputViewModel_Append_SearchText ( string searchText, string contentText, bool isAdded ) : void
DebugOutputViewModel_Append_SearchTextDoesMatchContent_Added ( ) : void
DebugOutputViewModel_Append_SearchTextDoesNotMatchContent_NotAdded ( ) : void
DebugOutputViewModel_Append_SearchTextIsEmpty_Added ( ) : void
DebugOutputViewModel_Append_SearchTextIsNull_Added ( ) : void
DebugOutputViewModel_Append_SearchTextIsWhiteSpace_Added ( ) : void
DebugOutputViewModel_Append_TypeIsEndAndNotLastStep_NothingAppended ( ) : void
DebugOutputViewModel_Append_TypeIsStartAndNotFirstStep_NothingAppended ( ) : void
OpenEmptyMoreLinkDoesntStartProcess ( ) : void
OpenNullLineItemDoesntStartProcess ( ) : void

메소드 상세

CreateMockConnection() 공개 정적인 메소드

public static CreateMockConnection ( Random rand ) : Mock
rand System.Random
리턴 Mock

CreateMockEnvironment() 공개 정적인 메소드

public static CreateMockEnvironment ( ) : Mock
리턴 Mock

CreateResource() 공개 정적인 메소드

public static CreateResource ( ResourceType resourceType ) : Mock
resourceType ResourceType
리턴 Mock

DebugOutputViewModel_Append_ContentIsDebugState() 공개 메소드

public DebugOutputViewModel_Append_ContentIsDebugState ( System.Guid contentID, System.Guid contentParentID, string displayName ) : void
contentID System.Guid
contentParentID System.Guid
displayName string
리턴 void

DebugOutputViewModel_Append_ContentIsDebugStateErrors() 공개 메소드

public DebugOutputViewModel_Append_ContentIsDebugStateErrors ( bool parentContentHasErrors, bool childContentHasErrors ) : void
parentContentHasErrors bool
childContentHasErrors bool
리턴 void

GetEnvironmentRepository() 공개 정적인 메소드

public static GetEnvironmentRepository ( ) : IEnvironmentRepository
리턴 IEnvironmentRepository

GetMockSecurityContext() 공개 정적인 메소드

public static GetMockSecurityContext ( ) : Mock
리턴 Mock

GetworkspaceItemRespository() 공개 정적인 메소드

public static GetworkspaceItemRespository ( ) : Mock
리턴 Mock

프로퍼티 상세

_popupController 공개적으로 정적으로 프로퍼티

public static Mock _popupController
리턴 Mock