Exemple #1
0
        public void ObjectDetailsPageRegisteredDependencies()
        {
            var dashBoardProvider = new DashboardServiceProvider();

            provider = dashBoardProvider.GetServiceProvider(rootProvider);

            Assert.IsNotNull(provider.GetService <ObjectDetailsPage>());
            Assert.IsNotNull(provider.GetService <IDataDictionaryRepo>());
        }
Exemple #2
0
        public void EditConnectorPageRegisteredDependencies()
        {
            var dashBoardProvider = new DashboardServiceProvider();

            provider = dashBoardProvider.GetServiceProvider(rootProvider);

            Assert.IsNotNull(provider.GetService <ConnectorForm>());
            Assert.IsNotNull(provider.GetService <IConnectorRepo>());
        }
Exemple #3
0
        public void DataDictionaryPageRegisteredDependencies()
        {
            var dashBoardProvider = new DashboardServiceProvider();

            provider = dashBoardProvider.GetServiceProvider(rootProvider);

            Assert.IsNotNull(provider.GetService <DataDictionaryPage>());
            Assert.IsNotNull(provider.GetService <IConnectorRepo>());
        }
Exemple #4
0
        public void AllGeneralRegistrationsWork()
        {
            var dashBoardProvider = new DashboardServiceProvider();

            provider = dashBoardProvider.GetServiceProvider(rootProvider);


            Assert.IsNotNull(provider.GetService <IResourceFactory>());
            Assert.IsNotNull(provider.GetService <IAppAdminService>());

            Assert.IsNotNull(provider.GetService <IConnectionStringFactory>());
            Assert.IsNotNull(provider.GetService <AppDbContext>());
            Assert.IsNotNull(provider.GetService <LogDbContext>());

            Assert.IsNotNull(provider.GetService <IDashboardRepo>());
        }