Exemplo n.º 1
0
        public void MyTestInitialize()
        {
            var kernel = NinjectWebCommon.CreatePublicKernel();

            serviceProject = kernel.Get <IProjectService>();
            serviceUser    = kernel.Get <IUserService>();
        }
Exemplo n.º 2
0
        public void MyTestInitialize()
        {
            var kernel = NinjectWebCommon.CreatePublicKernel();

            serviceSecurity = kernel.Get <ISecurityService>();
            //          serviceUser = kernel.Get<IUserService>();
        }
Exemplo n.º 3
0
        public void MyTestInitialize()
        {
            var kernel = NinjectWebCommon.CreatePublicKernel();

            serviceDropBox     = kernel.Get <IDropBoxService>();
            repoAuthCredential = kernel.Get <IAuthCredentialRepository>();
        }
Exemplo n.º 4
0
        public void MyTestInitialize()
        {
            var kernel = NinjectWebCommon.CreatePublicKernel();

            serviceDownload = kernel.Get <IDownloadCartService>();
            serviceUser     = kernel.Get <IUserService>();
        }
Exemplo n.º 5
0
        public void MyTestInitialize()
        {
            var kernel = NinjectWebCommon.CreatePublicKernel();

            serviceTempFile    = kernel.Get <ITempFileService>();
            serviceUser        = kernel.Get <IUserService>();
            repoAuthCredential = kernel.Get <IAuthCredentialRepository>();
        }
Exemplo n.º 6
0
        public void MyTestInitialize()
        {
            var kernel = NinjectWebCommon.CreatePublicKernel();

            activityService        = kernel.Get <IActivityService>();
            projectService         = kernel.Get <IProjectService>();
            notificationRepository = kernel.Get <INotificationRepository>();
            commentService         = kernel.Get <ICommentService>();
        }
Exemplo n.º 7
0
        public void MyTestInitialize()
        {
            var kernel = NinjectWebCommon.CreatePublicKernel();

            service = kernel.Get <IWaveformService>();
        }
    public void MyTestInitialize()
    {
        var kernel = NinjectWebCommon.CreatePublicKernel();

        _sut = kernel.Resolve <HomeController>();
    }