mirror of
https://github.com/ow-mods/owml.git
synced 2025-12-11 20:15:48 +01:00
* New "SDK style" projects * C# 9.0 * .Net Framework 4.7.2 -> 4.8 * Sexy C# 8/9 code * Fixed OWML Nuget package
27 lines
523 B
C#
27 lines
523 B
C#
using OWML.Tests.Setup;
|
|
using Xunit;
|
|
using Xunit.Abstractions;
|
|
|
|
namespace OWML.ModLoader.Tests
|
|
{
|
|
public class ModLoaderTests : OWMLTests
|
|
{
|
|
public ModLoaderTests(ITestOutputHelper outputHelper)
|
|
: base(outputHelper)
|
|
{
|
|
}
|
|
|
|
[Fact]
|
|
public void ModLoader_LoadMods()
|
|
{
|
|
var container = ModLoader.CreateContainer(AppHelper.Object, GOHelper.Object);
|
|
container.Add(Console.Object);
|
|
container.Add(Logger.Object);
|
|
container.Add(Config);
|
|
|
|
var owo = container.Resolve<Owo>();
|
|
owo.LoadMods();
|
|
}
|
|
}
|
|
}
|