Added tests for LRUCache.

Moved core test code to reflect changes in core code.

Removed unused using directives.
This commit is contained in:
2021-04-19 14:40:11 -05:00
parent 35a2765559
commit f5a181d2f2
12 changed files with 137 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ using System.IO;
using System.Threading.Tasks;
using GameServiceWarden.API.Module;
namespace GameServiceWarden.Core.Tests.Modules.Games
namespace GameServiceWarden.Core.Tests.Modules
{
public class FakeService : IService
{

View File

@@ -1,6 +1,6 @@
using GameServiceWarden.API.Module;
namespace GameServiceWarden.Core.Tests.Modules.Games
namespace GameServiceWarden.Core.Tests.Modules
{
public class FakeServiceConfigurable : IServiceConfigurable
{

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using GameServiceWarden.API.Games;
using GameServiceWarden.Core.Module;
namespace GameServiceWarden.Core.Tests.Modules.Games
namespace GameServiceWarden.Core.Tests.Modules
{
public class FakeServiceManagerMonitor : IServiceManagerMonitor
{

View File

@@ -1,7 +1,7 @@
using System.Collections.Generic;
using GameServiceWarden.API.Module;
namespace GameServiceWarden.Core.Tests.Modules.Games
namespace GameServiceWarden.Core.Tests.Modules
{
public class FakeServiceModule : IServiceModule
{

View File

@@ -7,7 +7,7 @@ using Xunit;
using Xunit.Abstractions;
using System.Text;
namespace GameServiceWarden.Core.Tests.Modules.Games
namespace GameServiceWarden.Core.Tests.Modules
{
// Testing convention from: https://docs.microsoft.com/en-us/dotnet/core/testing/unit-testing-best-practices
// fakes are generic test objects,

View File

@@ -12,7 +12,7 @@ using Xunit.Abstractions;
using System.Text;
[assembly: CollectionBehavior(DisableTestParallelization = true)]
namespace GameServiceWarden.Core.Tests.Modules.Games
namespace GameServiceWarden.Core.Tests.Modules
{
[CollectionDefinition("Service")]
public class ServiceManagerTest