예제 #1
0
        public void TestIsSkipCandidate_Not()
        {
            bool expected = false;
            bool actual   = DumpAction.IsSkipCandidate("dummy", "here is normal content #hoge");

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void TestIsSkipCandidate_Redirect_lower()
        {
            bool expected = true;
            bool actual   = DumpAction.IsSkipCandidate("dummy", "#redirect hoge");

            Assert.AreEqual(expected, actual);
        }
예제 #3
0
        public void TestIsSkipCandidate_BeginWithCategoryButNormal()
        {
            bool expected = false;
            bool actual   = DumpAction.IsSkipCandidate("Category Theory", "normal content");

            Assert.AreEqual(expected, actual);
        }
예제 #4
0
        public void TestIsSkipCandidate_FileDesc()
        {
            bool expected = true;
            bool actual   = DumpAction.IsSkipCandidate("ファイル:", "normal content");

            Assert.AreEqual(expected, actual);
        }
예제 #5
0
        public void TestIsSkipCandidate_Category()
        {
            bool expected = true;
            bool actual   = DumpAction.IsSkipCandidate("Category:007シリーズ (映画)のスタッフ.wiki", "normal content");

            Assert.AreEqual(expected, actual);
        }
예제 #6
0
        public void TestIsSkipCandidate_BeginWithTemplateButNormal()
        {
            bool expected = false;
            bool actual   = DumpAction.IsSkipCandidate("Template Methodパターン", "normal content");

            Assert.AreEqual(expected, actual);
        }
예제 #7
0
        public void TestIsSkipCandidate_TemplateFile()
        {
            bool expected = true;
            bool actual   = DumpAction.IsSkipCandidate("Template:010号線 (チェコ)", "normal content");

            Assert.AreEqual(expected, actual);
        }
예제 #8
0
        public void TestIsSkipCandidate_NormalWikipedia()
        {
            bool expected = false;
            bool actual   = DumpAction.IsSkipCandidate("Wikipedia:FAQ", "normal content");

            Assert.AreEqual(expected, actual);
        }
예제 #9
0
        public void TestIsSkipCandidate_SakujoIrai()
        {
            bool expected = true;
            bool actual   = DumpAction.IsSkipCandidate("Wikipedia:削除依頼/Ugg", "normal content");

            Assert.AreEqual(expected, actual);
        }