rename test folders

This commit is contained in:
Ben Harris 2024-04-23 18:17:27 -04:00
parent 632eadf483
commit d3c19a0987
22 changed files with 22 additions and 23 deletions

View File

@ -1,6 +1,5 @@
using System.Collections.Generic; using System.Collections.Generic;
#nullable enable
namespace IRCRobots namespace IRCRobots
{ {
public class ConnectionParams public class ConnectionParams

View File

@ -23,7 +23,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Update="Tokenization\Data\msg-*.yaml"> <None Update="Tokens\Data\msg-*.yaml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>
</ItemGroup> </ItemGroup>

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class Cap public class Cap

View File

@ -1,6 +1,6 @@
// ReSharper disable IdentifierTypo // ReSharper disable IdentifierTypo
// ReSharper disable StringLiteralTypo // ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class Casemap public class Casemap

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class Channel public class Channel

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class Emit public class Emit

View File

@ -1,6 +1,6 @@
// ReSharper disable InconsistentNaming // ReSharper disable InconsistentNaming
// ReSharper disable StringLiteralTypo // ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class ISupport public class ISupport

View File

@ -1,5 +1,5 @@
// ReSharper disable StringLiteralTypo // ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class Mode public class Mode

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class Motd public class Motd

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class Sasl public class Sasl

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class User public class User

View File

@ -1,5 +1,5 @@
// ReSharper disable StringLiteralTypo // ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.State; namespace IRCSharp.Tests.States;
[TestClass] [TestClass]
public class Who public class Who

View File

@ -1,6 +1,6 @@
using YamlDotNet.Serialization; using YamlDotNet.Serialization;
namespace IRCSharp.Tests.Tokenization.Data; namespace IRCSharp.Tests.Tokens.Data;
public class JoinModel public class JoinModel
{ {

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.Tokenization.Data; namespace IRCSharp.Tests.Tokens.Data;
public class SplitModel public class SplitModel
{ {

View File

@ -1,5 +1,5 @@
// ReSharper disable StringLiteralTypo // ReSharper disable StringLiteralTypo
namespace IRCSharp.Tests.Tokenization; namespace IRCSharp.Tests.Tokens;
[TestClass] [TestClass]
public class Format public class Format

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.Tokenization; namespace IRCSharp.Tests.Tokens;
[TestClass] [TestClass]
public class Hostmask public class Hostmask

View File

@ -1,9 +1,9 @@
using System.Globalization; using System.Globalization;
using IRCSharp.Tests.Tokenization.Data; using IRCSharp.Tests.Tokens.Data;
using YamlDotNet.Serialization; using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions; using YamlDotNet.Serialization.NamingConventions;
namespace IRCSharp.Tests.Tokenization; namespace IRCSharp.Tests.Tokens;
[TestClass] [TestClass]
public class Parser public class Parser
@ -20,7 +20,7 @@ public class Parser
[TestMethod] [TestMethod]
public void Split() public void Split()
{ {
foreach (var test in LoadYaml<SplitModel>("Tokenization/Data/msg-split.yaml").Tests) foreach (var test in LoadYaml<SplitModel>("Tokens/Data/msg-split.yaml").Tests)
{ {
var tokens = new Line(test.Input); var tokens = new Line(test.Input);
var atoms = test.Atoms; var atoms = test.Atoms;
@ -37,7 +37,7 @@ public class Parser
[TestMethod] [TestMethod]
public void Join() public void Join()
{ {
foreach (var test in LoadYaml<JoinModel>("Tokenization/Data/msg-join.yaml").Tests) foreach (var test in LoadYaml<JoinModel>("Tokens/Data/msg-join.yaml").Tests)
{ {
var atoms = test.Atoms; var atoms = test.Atoms;
var line = new Line var line = new Line

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.Tokenization; namespace IRCSharp.Tests.Tokens;
[TestClass] [TestClass]
public class StatefulDecoder public class StatefulDecoder

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.Tokenization; namespace IRCSharp.Tests.Tokens;
[TestClass] [TestClass]
public class StatefulEncoder public class StatefulEncoder

View File

@ -1,4 +1,4 @@
namespace IRCSharp.Tests.Tokenization; namespace IRCSharp.Tests.Tokens;
[TestClass] [TestClass]
public class Tokenization public class Tokenization