C# Класс Dev2.Core.Tests.DebugOutputViewModelTest

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
_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