public void RemoveHIQuotes()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked = false;
            target.checkBoxOnlyIfInSeparateLine.Checked = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "- Where?!" + Environment.NewLine + "- Ow!";
            string expected = "Where?!";
            string actual   = target.RemoveInterjections(text);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveHINot()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked = false;
            target.checkBoxOnlyIfInSeparateLine.Checked = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "is the body of a mutant kid\r\non the 6:00 news.";
            string expected = "is the body of a mutant kid\r\non the 6:00 news.";
            string actual   = target.RemoveTextFromHearImpaired(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
 public void RemoveColonTest()
 {
     var target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     string text = "Man over P.A.:\r\nGive back our homes.";
     string expected = "Give back our homes.";
     string actual = target.RemoveColon(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
        public void RemoveHI1()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked               = false;
            target.checkBoxOnlyIfInSeparateLine.Checked               = false;
            target.checkBoxRemoveTextBetweenSquares.Checked           = true;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "- Aw, save it. Storm?\r\n- [Storm]\r\nWe're outta here.";
            string expected = "- Aw, save it. Storm?\r\n- We're outta here.";
            string actual   = target.RemoveTextFromHearImpaired(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveHI2()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked               = false;
            target.checkBoxOnlyIfInSeparateLine.Checked               = false;
            target.checkBoxRemoveTextBetweenSquares.Checked           = true;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "[Chuckles,\r\nCoughing]\r\nBut we lived through it.";
            string expected = "But we lived through it.";
            string actual   = target.RemoveTextFromHearImpaired(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveHIDouble()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked               = false;
            target.checkBoxOnlyIfInSeparateLine.Checked               = false;
            target.checkBoxRemoveTextBetweenSquares.Checked           = true;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "[MAN]Where?![MAN]";
            string expected = "Where?!";
            string actual   = target.RemoveTextFromHearImpaired(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveInterjections6bItalic()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked = false;
            target.checkBoxRemoveInterjections.Checked  = true;
            target.checkBoxOnlyIfInSeparateLine.Checked = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "<i>Mm-hm, Ballpark.</i>";
            string expected = "<i>Ballpark.</i>";
            string actual   = target.RemoveInterjections(text);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveInterjections8()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked = false;
            target.checkBoxRemoveInterjections.Checked  = true;
            target.checkBoxOnlyIfInSeparateLine.Checked = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "You like her, huh!";
            string expected = "You like her!";
            string actual   = target.RemoveInterjections(text);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveInterjections10Italic()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked = false;
            target.checkBoxRemoveInterjections.Checked  = true;
            target.checkBoxOnlyIfInSeparateLine.Checked = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "<i>- You like her, huh." + Environment.NewLine + "- I do</i>";
            string expected = "<i>- You like her." + Environment.NewLine + "- I do</i>";
            string actual   = target.RemoveInterjections(text);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveInterjections11()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked = false;
            target.checkBoxRemoveInterjections.Checked  = true;
            target.checkBoxOnlyIfInSeparateLine.Checked = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "- Ballpark, mm-hm." + Environment.NewLine + "- Oh yes!";
            string expected = "- Ballpark." + Environment.NewLine + "- Yes!";
            string actual   = target.RemoveInterjections(text);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveHIInsideLine()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked               = false;
            target.checkBoxRemoveTextBeforeColon.Checked              = true;
            target.checkBoxOnlyIfInSeparateLine.Checked               = false;
            target.checkBoxRemoveTextBetweenParentheses.Checked       = true;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "Be quiet. (SHUSHING) It's okay.";
            string expected = "Be quiet. It's okay.";
            string actual   = target.RemoveHearImpairedtagsInsideLine(text);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveColonTest2a()
        {
            var target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked  = false;
            target.checkBoxRemoveTextBeforeColon.Checked = true;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxColonSeparateLine.Checked     = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            string text     = "GIOVANNI: <i>Number 9: I never look for a scapegoat.</i>";
            string expected = "<i>I never look for a scapegoat.</i>";
            string actual   = target.RemoveColon(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveRemoveNameOfFirstLine()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked  = false;
            target.checkBoxRemoveInterjections.Checked   = false;
            target.checkBoxRemoveTextBeforeColon.Checked = true;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "HECTOR: Hi." + Environment.NewLine + "-Oh, hey, Hector.";
            string expected = "- Hi." + Environment.NewLine + "- Oh, hey, Hector.";
            string actual   = target.RemoveTextFromHearImpaired(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveTextBeforeColonSecondLine()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked  = false;
            target.checkBoxRemoveInterjections.Checked   = false;
            target.checkBoxRemoveTextBeforeColon.Checked = true;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "- even if it was one week." + Environment.NewLine + "CANNING: Objection.";
            string expected = "- even if it was one week." + Environment.NewLine + "- Objection.";
            string actual   = target.RemoveColon(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveColonOnlyOnSeparateLine()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked  = false;
            target.checkBoxRemoveInterjections.Checked   = false;
            target.checkBoxRemoveTextBeforeColon.Checked = true;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = true;
            string text     = "HECTOR: Hi.";
            string expected = "HECTOR: Hi.";
            string actual   = target.RemoveColon(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveLineIfAllUppercase2()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked  = true;
            target.checkBoxRemoveInterjections.Checked   = false;
            target.checkBoxRemoveTextBeforeColon.Checked = false;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text     = "Please, Mr Krook." + Environment.NewLine + "SHOP DOOR BELL CLANGS";
            string expected = "Please, Mr Krook.";
            string actual   = target.RemoveLineIfAllUppercase(text);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveColonTest()
        {
            var target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked  = false;
            target.checkBoxRemoveTextBeforeColon.Checked = true;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxColonSeparateLine.Checked     = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            string text     = "Man over P.A.:\r\nGive back our homes.";
            string expected = "Give back our homes.";
            string actual   = target.RemoveColon(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveHIMultilineBold()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked  = false;
            target.checkBoxRemoveTextBeforeColon.Checked = true;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text = "<b>NARRATOR:" + Environment.NewLine +
                          "Previously on NCIS</b>";
            string expected = "<b>Previously on NCIS</b>";
            string actual   = target.RemoveTextFromHearImpaired(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveHISecondLineDelay()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked  = false;
            target.checkBoxRemoveTextBeforeColon.Checked = true;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked = false;
            string text = "- JOHN: Hey." + Environment.NewLine +
                          "- ...hey.";
            string expected = "- Hey." + Environment.NewLine + "- ...hey.";
            string actual   = target.RemoveTextFromHearImpaired(text, string.Empty);

            Assert.AreEqual(expected, actual);
        }
        public void RemoveLineIfParentheses3()
        {
            FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();

            target.checkBoxRemoveIfAllUppercase.Checked  = false;
            target.checkBoxRemoveInterjections.Checked   = false;
            target.checkBoxRemoveTextBeforeColon.Checked = false;
            target.checkBoxOnlyIfInSeparateLine.Checked  = false;
            target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
            target.checkBoxColonSeparateLine.Checked            = false;
            target.checkBoxRemoveTextBetweenParentheses.Checked = true;
            string text     = "(<i>GOIN' BACK TO INDIANA</i>" + Environment.NewLine + "CONTINUES PLAYING)";
            string expected = "";
            string actual   = target.RemoveHearImpairedTags(text);

            Assert.AreEqual(expected, actual);
        }
 public void RemoveHIDouble()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBetweenSquares.Checked = true;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "[MAN]Where?![MAN]";
     string expected = "Where?!";
     string actual = target.RemoveTextFromHearImpaired(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveLineIfParentheses3()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveInterjections.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = false;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     target.checkBoxRemoveTextBetweenParentheses.Checked = true;
     string text = "(<i>GOIN' BACK TO INDIANA</i>" + Environment.NewLine + "CONTINUES PLAYING)";
     string expected = "";
     string actual = target.RemoveHearImpairedTags(text);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveLineIfAllUppercase2()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = true;
     target.checkBoxRemoveInterjections.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = false;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "Please, Mr Krook." + Environment.NewLine + "SHOP DOOR BELL CLANGS";
     string expected = "Please, Mr Krook.";
     string actual = target.RemoveLineIfAllUppercase(text);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveHI2()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBetweenSquares.Checked = true;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "[Chuckles,\r\nCoughing]\r\nBut we lived through it.";
     string expected = "But we lived through it.";
     string actual = target.RemoveTextFromHearImpaired(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveTextBeforeColonSecondLine()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveInterjections.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "- even if it was one week." + Environment.NewLine  + "CANNING: Objection.";
     string expected = "- even if it was one week." + Environment.NewLine + "- Objection.";
     string actual = target.RemoveColon(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveHIMultilineBold()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "<b>NARRATOR:" + Environment.NewLine +
                   "Previously on NCIS</b>";
     string expected = "<b>Previously on NCIS</b>";
     string actual = target.RemoveTextFromHearImpaired(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveHINot()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "is the body of a mutant kid\r\non the 6:00 news.";
     string expected = "is the body of a mutant kid\r\non the 6:00 news.";
     string actual = target.RemoveTextFromHearImpaired(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveInterjections10Italic()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveInterjections.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "<i>- You like her, huh." + Environment.NewLine + "- I do</i>";
     string expected = "<i>- You like her." + Environment.NewLine + "- I do</i>";
     string actual = target.RemoveInterjections(text);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveHISecondLineDelay()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "- JOHN: Hey." + Environment.NewLine +
                   "- ...hey.";
     string expected = "- Hey."+ Environment.NewLine +"- ...hey.";
     string actual = target.RemoveTextFromHearImpaired(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveColonOnlyOnSeparateLine()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveInterjections.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = true;
     string text = "HECTOR: Hi.";
     string expected = "HECTOR: Hi.";
     string actual = target.RemoveColon(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveHIQuotes()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "- Where?!" + Environment.NewLine + "- Ow!";
     string expected = "Where?!";
     string actual = target.RemoveInterjections(text);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveColonTest2a()
 {
     var target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     string text = "GIOVANNI: <i>Number 9: I never look for a scapegoat.</i>";
     string expected = "<i>I never look for a scapegoat.</i>";
     string actual = target.RemoveColon(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveHI1()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBetweenSquares.Checked = true;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "- Aw, save it. Storm?\r\n- [Storm]\r\nWe're outta here.";
     string expected = "- Aw, save it. Storm?\r\n- We're outta here.";
     string actual = target.RemoveTextFromHearImpaired(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveRemoveNameOfFirstLine()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveInterjections.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "HECTOR: Hi." + Environment.NewLine + "-Oh, hey, Hector.";
     string expected = "- Hi." + Environment.NewLine + "- Oh, hey, Hector.";
     string actual = target.RemoveTextFromHearImpaired(text, string.Empty);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveInterjections6bItalic()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveInterjections.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "<i>Mm-hm, Ballpark.</i>";
     string expected = "<i>Ballpark.</i>";
     string actual = target.RemoveInterjections(text);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveInterjections8()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveInterjections.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "You like her, huh!";
     string expected = "You like her!";
     string actual = target.RemoveInterjections(text);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveHIInsideLine()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveTextBeforeColon.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBetweenParentheses.Checked = true;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "Be quiet. (SHUSHING) It's okay.";
     string expected = "Be quiet. It's okay.";
     string actual = target.RemoveHearImpairedtagsInsideLine(text);
     Assert.AreEqual(expected, actual);
 }
 public void RemoveInterjections11()
 {
     FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor();
     target.checkBoxRemoveIfAllUppercase.Checked = false;
     target.checkBoxRemoveInterjections.Checked = true;
     target.checkBoxOnlyIfInSeparateLine.Checked = false;
     target.checkBoxRemoveTextBeforeColonOnlyUppercase.Checked = false;
     target.checkBoxColonSeparateLine.Checked = false;
     string text = "- Ballpark, mm-hm." + Environment.NewLine + "- Oh yes!";
     string expected = "- Ballpark." + Environment.NewLine + "- Yes!";
     string actual = target.RemoveInterjections(text);
     Assert.AreEqual(expected, actual);
 }