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;
#nullable enable
namespace IRCRobots
{
public class ConnectionParams

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,9 +1,9 @@
using System.Globalization;
using IRCSharp.Tests.Tokenization.Data;
using IRCSharp.Tests.Tokens.Data;
using YamlDotNet.Serialization;
using YamlDotNet.Serialization.NamingConventions;
namespace IRCSharp.Tests.Tokenization;
namespace IRCSharp.Tests.Tokens;
[TestClass]
public class Parser
@ -20,7 +20,7 @@ public class Parser
[TestMethod]
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 atoms = test.Atoms;
@ -37,7 +37,7 @@ public class Parser
[TestMethod]
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 line = new Line

View File

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

View File

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

View File

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