Пример #1
0
        public void TestsCleanup()
        {
            this.boxService          = null;
            this.navigationService   = null;
            this.localizationService = null;
            this.dialogService       = null;

            this.discoverViewModel = null;
        }
Пример #2
0
        public void TestsCleanup()
        {
            this.boxService          = null;
            this.storageService      = null;
            this.navigationService   = null;
            this.localizationService = null;
            this.dialogService       = null;

            this.myBoxesViewModel = null;
        }
Пример #3
0
        public void TestsInitialize()
        {
            this.boxService          = new FakeBoxService();
            this.navigationService   = new FakeNavigationService();
            this.localizationService = new FakeLocalizationService();
            this.dialogService       = new FakeDialogService();

            this.discoverViewModel = new DiscoverViewModel(this.boxService, this.navigationService,
                                                           this.localizationService, this.dialogService);
        }
Пример #4
0
        public void TestsCleanup()
        {
            this.postService       = null;
            this.boxService        = null;
            this.navigationService = null;
            this.storageService    = null;
            this.dialogService     = null;

            this.boxViewModel = null;
        }
Пример #5
0
        public void TestsInitialize()
        {
            this.boxService          = new FakeBoxService();
            this.storageService      = new FakeStorageService();
            this.navigationService   = new FakeNavigationService();
            this.localizationService = new FakeLocalizationService();
            this.dialogService       = new FakeDialogService();

            this.myBoxesViewModel = new MyBoxesViewModel(this.boxService, this.storageService,
                                                         this.navigationService, this.localizationService, this.dialogService);
        }
Пример #6
0
        public void TestsInitialize()
        {
            this.postService       = new FakePostService();
            this.boxService        = new FakeBoxService();
            this.navigationService = new FakeNavigationService();
            this.storageService    = new FakeStorageService();
            this.dialogService     = new FakeDialogService();

            this.boxViewModel = new BoxViewModel(this.postService, this.boxService,
                                                 this.navigationService, this.storageService, this.dialogService);
        }