public void TestNonExistingSite() { new App(); List <KeywordGridRow> gridRows = Website.AnalyseUrl(NonExistingSite); Debug.Assert(gridRows == null); }
public void TestEmptyKeywordAnalysys() { List <KeywordGridRow> gridRows = Website.AnalyseUrl(NoKeywordTag); Debug.Assert(gridRows == null); gridRows = Website.AnalyseUrl(EmptyKeywordContent); Debug.Assert(gridRows == null); }
public void TestSingleKeyword() { List <KeywordResult> KeywordResults = new List <KeywordResult>(); KeywordResults.Add(new KeywordResult("This is", 3)); List <KeywordGridRow> gridRows = Website.AnalyseUrl(SingleKeywordTag); Debug.Assert(gridRows != null); CompareGridRow(gridRows, KeywordResults); }