public void TestIsSkipCandidate_Not() { bool expected = false; bool actual = DumpAction.IsSkipCandidate("dummy", "here is normal content #hoge"); Assert.AreEqual(expected, actual); }
public void TestIsSkipCandidate_Redirect_lower() { bool expected = true; bool actual = DumpAction.IsSkipCandidate("dummy", "#redirect hoge"); Assert.AreEqual(expected, actual); }
public void TestIsSkipCandidate_BeginWithCategoryButNormal() { bool expected = false; bool actual = DumpAction.IsSkipCandidate("Category Theory", "normal content"); Assert.AreEqual(expected, actual); }
public void TestIsSkipCandidate_FileDesc() { bool expected = true; bool actual = DumpAction.IsSkipCandidate("ファイル:", "normal content"); Assert.AreEqual(expected, actual); }
public void TestIsSkipCandidate_Category() { bool expected = true; bool actual = DumpAction.IsSkipCandidate("Category:007シリーズ (映画)のスタッフ.wiki", "normal content"); Assert.AreEqual(expected, actual); }
public void TestIsSkipCandidate_BeginWithTemplateButNormal() { bool expected = false; bool actual = DumpAction.IsSkipCandidate("Template Methodパターン", "normal content"); Assert.AreEqual(expected, actual); }
public void TestIsSkipCandidate_TemplateFile() { bool expected = true; bool actual = DumpAction.IsSkipCandidate("Template:010号線 (チェコ)", "normal content"); Assert.AreEqual(expected, actual); }
public void TestIsSkipCandidate_NormalWikipedia() { bool expected = false; bool actual = DumpAction.IsSkipCandidate("Wikipedia:FAQ", "normal content"); Assert.AreEqual(expected, actual); }
public void TestIsSkipCandidate_SakujoIrai() { bool expected = true; bool actual = DumpAction.IsSkipCandidate("Wikipedia:削除依頼/Ugg", "normal content"); Assert.AreEqual(expected, actual); }