diff options
Diffstat (limited to 'IRCTokens/Tests/StatefulDecoder.cs')
-rw-r--r-- | IRCTokens/Tests/StatefulDecoder.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/IRCTokens/Tests/StatefulDecoder.cs b/IRCTokens/Tests/StatefulDecoder.cs index d37310f..4da7690 100644 --- a/IRCTokens/Tests/StatefulDecoder.cs +++ b/IRCTokens/Tests/StatefulDecoder.cs @@ -10,13 +10,13 @@ namespace IRCTokens.Tests private IRCTokens.StatefulDecoder _decoder; [TestInitialize] - public void TestInitialize() + public void Initialize() { _decoder = new IRCTokens.StatefulDecoder(); } [TestMethod] - public void TestPartial() + public void Partial() { var lines = _decoder.Push("PRIVMSG "); Assert.AreEqual(0, lines.Count); @@ -29,7 +29,7 @@ namespace IRCTokens.Tests } [TestMethod] - public void TestMultiple() + public void Multiple() { var lines = _decoder.Push("PRIVMSG #channel1 hello\r\nPRIVMSG #channel2 hello\r\n"); Assert.AreEqual(2, lines.Count); @@ -41,7 +41,7 @@ namespace IRCTokens.Tests } [TestMethod] - public void TestEncoding() + public void EncodingIso8859() { var iso8859 = Encoding.GetEncoding("iso-8859-1"); _decoder = new IRCTokens.StatefulDecoder {Encoding = iso8859}; @@ -52,7 +52,7 @@ namespace IRCTokens.Tests } [TestMethod] - public void TestEncodingFallback() + public void EncodingFallback() { var latin1 = Encoding.GetEncoding("iso-8859-1"); _decoder = new IRCTokens.StatefulDecoder {Encoding = null, Fallback = latin1}; @@ -63,14 +63,14 @@ namespace IRCTokens.Tests } [TestMethod] - public void TestEmpty() + public void Empty() { var lines = _decoder.Push(string.Empty); Assert.AreEqual(0, lines.Count); } [TestMethod] - public void TestBufferUnfinished() + public void BufferUnfinished() { _decoder.Push("PRIVMSG #channel hello"); var lines = _decoder.Push(string.Empty); @@ -78,7 +78,7 @@ namespace IRCTokens.Tests } [TestMethod] - public void TestClear() + public void Clear() { _decoder.Push("PRIVMSG "); _decoder.Clear(); |