fix test namespaces
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
041264f05f
commit
bebc1bc6f0
|
@ -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"));
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
using IRCTokens;
|
||||
using IRCStates;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCStates.Tests
|
||||
namespace IRCSharp.Tests.State
|
||||
{
|
||||
[TestClass]
|
||||
public class Casemap
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using IRCStates;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCStates.Tests
|
||||
namespace IRCSharp.Tests.State
|
||||
{
|
||||
[TestClass]
|
||||
public class Channel
|
||||
|
@ -30,7 +31,6 @@ namespace IRCStates.Tests
|
|||
var user = _server.Users["nickname"];
|
||||
var chan = _server.Channels["#chan"];
|
||||
Assert.IsTrue(chan.Users.ContainsKey(user.NickNameLower));
|
||||
var chanUser = chan.Users[user.NickNameLower];
|
||||
CollectionAssert.AreEqual(new List<string> {chan.NameLower}, user.Channels.ToList());
|
||||
}
|
||||
|
||||
|
|
|
@ -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 Emit
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
using System.Collections.Generic;
|
||||
using IRCStates;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
// ReSharper disable InconsistentNaming
|
||||
|
||||
namespace IRCStates.Tests
|
||||
namespace IRCSharp.Tests.State
|
||||
{
|
||||
[TestClass]
|
||||
public class ISupport
|
||||
|
|
|
@ -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 Mode
|
||||
|
|
|
@ -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 Motd
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
using IRCTokens;
|
||||
using IRCStates;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCStates.Tests
|
||||
namespace IRCSharp.Tests.State
|
||||
{
|
||||
[TestClass]
|
||||
public class Sasl
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
using IRCTokens;
|
||||
using IRCStates;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCStates.Tests
|
||||
namespace IRCSharp.Tests.State
|
||||
{
|
||||
[TestClass]
|
||||
public class User
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
using IRCTokens;
|
||||
using IRCStates;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCStates.Tests
|
||||
namespace IRCSharp.Tests.State
|
||||
{
|
||||
[TestClass]
|
||||
public class Who
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
using YamlDotNet.Serialization;
|
||||
|
||||
namespace IRCTokens.Tests.Data
|
||||
namespace IRCSharp.Tests.Tokenization.Data
|
||||
{
|
||||
public class JoinModel
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace IRCTokens.Tests.Data
|
||||
namespace IRCSharp.Tests.Tokenization.Data
|
||||
{
|
||||
public class SplitModel
|
||||
{
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCTokens.Tests
|
||||
namespace IRCSharp.Tests.Tokenization
|
||||
{
|
||||
[TestClass]
|
||||
public class Format
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCTokens.Tests
|
||||
namespace IRCSharp.Tests.Tokenization
|
||||
{
|
||||
[TestClass]
|
||||
public class Hostmask
|
||||
|
|
|
@ -1,12 +1,13 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using IRCTokens.Tests.Data;
|
||||
using IRCSharp.Tests.Tokenization.Data;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
using YamlDotNet.Serialization;
|
||||
using YamlDotNet.Serialization.NamingConventions;
|
||||
|
||||
namespace IRCTokens.Tests
|
||||
namespace IRCSharp.Tests.Tokenization
|
||||
{
|
||||
[TestClass]
|
||||
public class Parser
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCTokens.Tests
|
||||
namespace IRCSharp.Tests.Tokenization
|
||||
{
|
||||
[TestClass]
|
||||
public class StatefulDecoder
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
using System.Text;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCTokens.Tests
|
||||
namespace IRCSharp.Tests.Tokenization
|
||||
{
|
||||
[TestClass]
|
||||
public class StatefulEncoder
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using IRCTokens;
|
||||
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
||||
|
||||
namespace IRCTokens.Tests
|
||||
namespace IRCSharp.Tests.Tokenization
|
||||
{
|
||||
[TestClass]
|
||||
public class Tokenization
|
||||
|
|
Loading…
Reference in New Issue