Fixed a few minor issues in "Remove text for HI" - thx sialivi

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@297 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2011-02-01 17:49:44 +00:00
parent 2057e1d341
commit 4a37fe139c

View File

@ -77,5 +77,20 @@ namespace Test
string actual = target.RemoveColon(text);
Assert.AreEqual(expected, actual);
}
/// <summary>
///A test for RemoveHIInsideLine
///</summary>
[TestMethod()]
[DeploymentItem("SubtitleEdit.exe")]
public void RemoveHIInsideLine()
{
FormRemoveTextForHearImpaired_Accessor target = new FormRemoveTextForHearImpaired_Accessor(); // TODO: Initialize to an appropriate value
string text = "Be quiet. (SHUSHING) It's okay.";
string expected = "Be quiet. It's okay.";
string actual = target.RemoveHearImpairedtagsInsideLine(text);
Assert.AreEqual(expected, actual);
}
}
}