wabbajack/Wabbajack.Test/VortexTests.cs

30 lines
891 B
C#
Raw Normal View History

using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Wabbajack.Test
{
[TestClass]
public class VortexTests : AVortexCompilerTest
{
2019-11-17 04:30:22 +00:00
// TODO: figure out what games we want installed on the test server for this
/*
[TestMethod]
public void TestVortexStackSerialization()
{
utils.AddMod("test");
utils.Configure();
var vortexCompiler = ConfigureAndRunCompiler();
2019-11-17 04:30:22 +00:00
vortexCompiler.StagingFolder = "vortex_staging";
var stack = vortexCompiler.MakeStack();
var serialized = Serialization.Serialize(stack);
var rounded = Serialization.Serialize(Serialization.Deserialize(serialized, vortexCompiler));
Assert.AreEqual(serialized, rounded);
Assert.IsNotNull(vortexCompiler.GetStack());
2019-11-17 04:30:22 +00:00
}
2019-11-17 04:30:22 +00:00
*/
}
}