diff options
Diffstat (limited to 'IRCSharp.Tests/State/Cap.cs')
-rw-r--r-- | IRCSharp.Tests/State/Cap.cs | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/IRCSharp.Tests/State/Cap.cs b/IRCSharp.Tests/State/Cap.cs index 3c0faba..ea2c718 100644 --- a/IRCSharp.Tests/State/Cap.cs +++ b/IRCSharp.Tests/State/Cap.cs @@ -1,8 +1,9 @@ using System.Collections.Generic; +using IRCStates; using IRCTokens; using Microsoft.VisualStudio.TestTools.UnitTesting; -namespace IRCStates.Tests +namespace IRCSharp.Tests.State { [TestClass] public class Cap @@ -25,7 +26,7 @@ namespace IRCStates.Tests } [TestMethod] - public void LSTwoLines() + public void LsTwoLines() { _server.Parse(new Line("CAP * LS * :a b")); CollectionAssert.AreEqual(new Dictionary<string, string>(), _server.AvailableCaps); @@ -36,7 +37,7 @@ namespace IRCStates.Tests } [TestMethod] - public void LSValues() + public void LsValues() { _server.Parse(new Line("CAP * LS :a b= c=1")); CollectionAssert.AreEqual(new Dictionary<string, string> {{"a", ""}, {"b", ""}, {"c", "1"}}, @@ -61,7 +62,7 @@ namespace IRCStates.Tests } [TestMethod] - public void ACKNotLS() + public void ACKNotLs() { _server.Parse(new Line("CAP * LS a")); _server.Parse(new Line("CAP * ACK b")); @@ -69,14 +70,14 @@ namespace IRCStates.Tests } [TestMethod] - public void NEWNoLS() + public void NewNoLs() { _server.Parse(new Line("CAP * NEW :a")); CollectionAssert.AreEqual(new Dictionary<string, string> {{"a", ""}}, _server.AvailableCaps); } [TestMethod] - public void NEWOneLine() + public void NewOneLine() { _server.Parse(new Line("CAP * LS :a")); _server.Parse(new Line("CAP * NEW :b")); @@ -84,7 +85,7 @@ namespace IRCStates.Tests } [TestMethod] - public void NEWTwoLines() + public void NewTwoLines() { _server.Parse(new Line("CAP * LS :a")); _server.Parse(new Line("CAP * NEW :b c")); @@ -93,7 +94,7 @@ namespace IRCStates.Tests } [TestMethod] - public void DELNotAcked() + public void DelNotAcked() { _server.Parse(new Line("CAP * DEL a")); } @@ -109,7 +110,7 @@ namespace IRCStates.Tests } [TestMethod] - public void DELTwoLS() + public void DelTwoLs() { _server.Parse(new Line("CAP * LS :a b")); _server.Parse(new Line("CAP * ACK :a b")); @@ -119,7 +120,7 @@ namespace IRCStates.Tests } [TestMethod] - public void DELTwoDEL() + public void DelTwoDel() { _server.Parse(new Line("CAP * LS :a b")); _server.Parse(new Line("CAP * ACK :a b")); |