コード例 #1
0
        public async Task TestMethodInitCardFavorite1()
        {
            IndexViewModel unindex = new IndexViewModel();
            await unindex.InitAsync();

            Assert.IsNotNull(await unindex.InitCardFavorite());
        }
コード例 #2
0
        public async Task <ActionResult> Index()
        {
            var context = new IndexViewModel();
            await context.InitAsync();

            return(View(context));
        }
コード例 #3
0
        public async Task TestMethodInitCardFavorite1_1()
        {
            IndexViewModel unindex = new IndexViewModel();
            await unindex.InitAsync();

            Assert.IsInstanceOfType(await unindex.InitCardFavorite(), typeof(CardElement));
        }
コード例 #4
0
        public async Task TestMethodInitCardFavorite1_2_1_1()
        {
            IndexViewModel unindex = new IndexViewModel();
            await unindex.InitAsync();

            CardElement card = await unindex.InitCardFavorite();

            Assert.IsNotNull(card.Title);
        }
コード例 #5
0
        public async Task TestMethodInitCardLike1_2_3_2()
        {
            IndexViewModel unindex = new IndexViewModel();
            await unindex.InitAsync();

            CardElement card = await unindex.InitCardLike();

            Assert.IsInstanceOfType(card.GraphResult, typeof(GraphPie));
        }
コード例 #6
0
        public async Task TestMethodInitCardLike1_2_3_1()
        {
            IndexViewModel unindex = new IndexViewModel();
            await unindex.InitAsync();

            CardElement card = await unindex.InitCardLike();

            Assert.IsNotNull(card.GraphResult);
        }
コード例 #7
0
        public async Task TestMethodInitCardLike1_2_2_2()
        {
            IndexViewModel unindex = new IndexViewModel();
            await unindex.InitAsync();

            CardElement card = await unindex.InitCardLike();

            Assert.IsInstanceOfType(card.NumberResult, typeof(List <FieldElement>));
        }
コード例 #8
0
        public async Task TestMethodInitCardLike1_2_1_2()
        {
            IndexViewModel unindex = new IndexViewModel();
            await unindex.InitAsync();

            CardElement card = await unindex.InitCardLike();

            Assert.IsInstanceOfType(card.Title, typeof(string));
        }
コード例 #9
0
        public async Task TestMethodInitCardClient1_2_2_1()
        {
            IndexViewModel unindex = new IndexViewModel();
            await unindex.InitAsync();

            CardElement card = await unindex.InitCardClient();

            Assert.IsNotNull(card.NumberResult);
        }