ModernUO/Projects/Server.Tests/Fixtures/ServerFixture.cs
Kamron Batman fb915992dd
fix(core): Adds Hashed & Hierarchical Timer Wheel (#655)
- Removes TimerPriority
- Removes TimerThread
- Adds a [Hashed & Hierarchical Timer Wheel](http://www.cs.columbia.edu/~nahum/w6998/papers/ton97-timing-wheels.pdf)
2021-07-11 22:42:06 -07:00

32 lines
640 B
C#

using System;
namespace Server.Tests
{
public class ServerFixture : IDisposable
{
// Global setup
static ServerFixture()
{
Core.Expansion = Expansion.EJ;
// Load Configurations
ServerConfiguration.Load(true);
// Configure / Initialize
TestMapDefinitions.ConfigureTestMapDefinitions();
// Configure the world
World.Configure();
Timer.Initialize(0);
// Load the world
World.Load();
}
public void Dispose()
{
Timer.Initialize(0);
}
}
}