Beispiel #1
0
        public async Task GetRankingWithoutUrl()
        {
            var mvViewModel = new ScreenScrapingTool.ViewModel.MainViewViewModel();
            int ranking     = await mvViewModel.GetRankingAsync("conveyancing software", null);

            Assert.AreEqual(0, ranking);
        }
Beispiel #2
0
        public async Task GetRankingWithoutKeywordsAndUrl()
        {
            var mvViewModel = new ScreenScrapingTool.ViewModel.MainViewViewModel();
            int ranking     = await mvViewModel.GetRankingAsync(null, null);

            Assert.AreEqual(0, ranking);
        }
Beispiel #3
0
        public async Task GetRankingWithoutKeywords()
        {
            var mvViewModel = new ScreenScrapingTool.ViewModel.MainViewViewModel();
            int ranking     = await mvViewModel.GetRankingAsync(null, "www.smokeball.com.au");

            Assert.AreEqual(0, ranking);
        }