C# Class Dev2.Core.Tests.Dev2MockFactory

Datei anzeigen Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
CreateIPopup ( MessageBoxResult returningResult ) : Mock
SetupDataListViewModel ( ) : Mock
SetupEnvironmentModel ( ) : Mock
SetupEnvironmentModel ( Mock returnResource, List resourceRepositoryFakeBacker ) : Mock
SetupEnvironmentModel ( Mock returnResource, List returnResources, List resourceRepositoryFakeBacker ) : Mock
SetupFrameworkRepositoryResourceModelMock ( ) : Mock
SetupFrameworkRepositoryResourceModelMock ( Mock returnResource, List resourceRepositoryFakeBacker ) : Mock
SetupFrameworkRepositoryResourceModelMock ( Mock returnResource, List returnResources, List resourceRepositoryFakeBacker ) : Mock
SetupIEnvironmentConnection ( ) : Mock
SetupResourceModelMock ( ) : Mock
SetupResourceModelMock ( ResourceType resourceType, System.Guid resourceID = newGuid() ) : Mock
SetupResourceModelMock ( ResourceType resourceType, string resourceName, bool returnSelf = true ) : Mock

Private Methods

Method Description
Dev2MockFactory ( ) : System

Method Details

CreateIPopup() public static method

public static CreateIPopup ( MessageBoxResult returningResult ) : Mock
returningResult MessageBoxResult
return Mock

SetupDataListViewModel() public static method

public static SetupDataListViewModel ( ) : Mock
return Mock

SetupEnvironmentModel() public static method

public static SetupEnvironmentModel ( ) : Mock
return Mock

SetupEnvironmentModel() public static method

public static SetupEnvironmentModel ( Mock returnResource, List resourceRepositoryFakeBacker ) : Mock
returnResource Mock
resourceRepositoryFakeBacker List
return Mock

SetupEnvironmentModel() public static method

public static SetupEnvironmentModel ( Mock returnResource, List returnResources, List resourceRepositoryFakeBacker ) : Mock
returnResource Mock
returnResources List
resourceRepositoryFakeBacker List
return Mock

SetupFrameworkRepositoryResourceModelMock() public static method

public static SetupFrameworkRepositoryResourceModelMock ( ) : Mock
return Mock

SetupFrameworkRepositoryResourceModelMock() public static method

public static SetupFrameworkRepositoryResourceModelMock ( Mock returnResource, List resourceRepositoryFakeBacker ) : Mock
returnResource Mock
resourceRepositoryFakeBacker List
return Mock

SetupFrameworkRepositoryResourceModelMock() public static method

public static SetupFrameworkRepositoryResourceModelMock ( Mock returnResource, List returnResources, List resourceRepositoryFakeBacker ) : Mock
returnResource Mock
returnResources List
resourceRepositoryFakeBacker List
return Mock

SetupIEnvironmentConnection() public static method

public static SetupIEnvironmentConnection ( ) : Mock
return Mock

SetupResourceModelMock() public static method

public static SetupResourceModelMock ( ) : Mock
return Mock

SetupResourceModelMock() public static method

public static SetupResourceModelMock ( ResourceType resourceType, System.Guid resourceID = newGuid() ) : Mock
resourceType ResourceType
resourceID System.Guid
return Mock

SetupResourceModelMock() public static method

public static SetupResourceModelMock ( ResourceType resourceType, string resourceName, bool returnSelf = true ) : Mock
resourceType ResourceType
resourceName string
returnSelf bool
return Mock