C# Class Dev2.Core.Tests.DeployStatsCalculatorTests

Datei anzeigen Open project: Warewolf-ESB/Warewolf

Protected Methods

Method Description
CreateModels ( bool isChecked, Mock mockResourceModel, IEnvironmentModel &environmentModel, IExplorerItemModel &resourceVm, IExplorerItemModel &rootItem ) : StudioResourceRepository

Private Methods

Method Description
CreateDeployNavigationViewModel ( IEnvironmentModel environmentModel, IEventAggregator eventAggregator, IAsyncWorker asyncWorker, IEnvironmentRepository environmentRepository, StudioResourceRepository studioResourceRepository ) : DeployNavigationViewModel
CreateDeployNavigationViewModel ( IEnvironmentModel environmentModel, StudioResourceRepository studioResourceRepository ) : DeployNavigationViewModel
CreateMockResourceModel ( System.Guid resourceId = newGuid(), string mockResourceName = "" ) : Mock
CreateResourceModel ( IEventPublisher serverEvents, System.Guid resourceId = newGuid() ) : Mock
DeployStatsCalculator_Calculate_HasFolders_Expect_NoFoldersCounted ( ) : void
DeploySummaryPredicateExisting_EnvironmentContainsResourceWithSameIDButDifferentName_ExpectedTrue ( ) : void
DeploySummaryPredicateExisting_EnvironmentDoesntContainResource_Expected_False ( ) : void
DeploySummaryPredicateExisting_NullEnvironmentModel_Expected_False ( ) : void
DeploySummaryPredicateExisting_NullNavigationItemViewModel_Expected_False ( ) : void
DeploySummaryPredicateExisting_NullResourceOnNavigationItemViewModel_Expected_False ( ) : void
DeploySummaryPredicateExisting_NullResourcesOnEnvironmentModel_Expected_False ( ) : void
DeploySummaryPredicateExisting_UnCheckedNavigationItemViewModel_Expected_False ( ) : void
DeploySummaryPredicateNew_EnvironmentContainsResource_Expected_False ( ) : void
DeploySummaryPredicateNew_EnvironmentDoesntContainResource_Expected_True ( ) : void
DeploySummaryPredicateNew_NullEnvironmentModel_Expected_False ( ) : void
DeploySummaryPredicateNew_NullNavigationItemViewModel_Expected_False ( ) : void
DeploySummaryPredicateNew_NullResourceOnNavigationItemViewModel_Expected_False ( ) : void
DeploySummaryPredicateNew_NullResourcesOnEnvironmentModel_Expected_False ( ) : void
DeploySummaryPredicateNew_UnCheckedNavigationItemViewModel_Expected_False ( ) : void
DeploySummayCalculateErrors ( ) : void
DeploySummayCalculateErrorsHasDifferentIdHasError ( ) : void
DeploySummayCalculateErrorsHasSameIdNoError ( ) : void
DeploySummayCalculateStats ( ) : void
SelectForDeployPredicateWithTypeAndCategories_InExclusionCategories_Expected_False ( ) : void
SelectForDeployPredicateWithTypeAndCategories_InInclusionCategories_Expected_True ( ) : void
SelectForDeployPredicateWithTypeAndCategories_NoCategories_Expected_True ( ) : void
SelectForDeployPredicateWithTypeAndCategories_NotInExclusionCategories_Expected_True ( ) : void
SelectForDeployPredicateWithTypeAndCategories_NotInInclusionCategories_Expected_False ( ) : void
SelectForDeployPredicateWithTypeAndCategories_NullNavigationItemViewModel_Expected_False ( ) : void
SelectForDeployPredicateWithTypeAndCategories_NullResourceOnNavigationItemViewModel_Expected_False ( ) : void
SelectForDeployPredicateWithTypeAndCategories_TypeMismatch_Expected_False ( ) : void
SelectForDeployPredicateWithTypeAndCategories_UnCheckedNavigationItemViewModel_Expected_False ( ) : void
SelectForDeployPredicate_NullNavigationItemViewModel_Expected_False ( ) : void
SelectForDeployPredicate_NullResourceModelOnNavigationItemViewModel_Expected_False ( ) : void
SelectForDeployPredicate_UncheckedNavigationItemViewModel_Expected_False ( ) : void
SelectForDeployPredicate_ValidNavigationItemViewModel_Expected_True ( ) : void

Method Details

CreateModels() protected method

protected CreateModels ( bool isChecked, Mock mockResourceModel, IEnvironmentModel &environmentModel, IExplorerItemModel &resourceVm, IExplorerItemModel &rootItem ) : StudioResourceRepository
isChecked bool
mockResourceModel Mock
environmentModel IEnvironmentModel
resourceVm IExplorerItemModel
rootItem IExplorerItemModel
return Dev2.AppResources.Repositories.StudioResourceRepository