mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-03 02:27:08 +02:00
* Make serialization work with backing fields automatically * Fix not taking priorities into account, make the test fail when that is the case * Turn fieldDefs back into a list * Format it better * Remove GetInheritanceBehaviour, expose immutable array of base field definitions
18 lines
443 B
C#
18 lines
443 B
C#
using NUnit.Framework;
|
|
using Robust.Shared.IoC;
|
|
using Robust.Shared.Serialization.Manager;
|
|
|
|
namespace Robust.UnitTesting.Shared.Serialization
|
|
{
|
|
public abstract class SerializationTest : RobustUnitTest
|
|
{
|
|
protected ISerializationManager Serialization => IoCManager.Resolve<ISerializationManager>();
|
|
|
|
[OneTimeSetUp]
|
|
public void OneTimeSetup()
|
|
{
|
|
Serialization.Initialize();
|
|
}
|
|
}
|
|
}
|