2019-11-12 17:54:48 +00:00
|
|
|
|
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
|
|
|
|
|
/*
|
2019-11-12 17:54:48 +00:00
|
|
|
|
[TestMethod]
|
|
|
|
|
public void TestVortexStackSerialization()
|
|
|
|
|
{
|
|
|
|
|
utils.AddMod("test");
|
|
|
|
|
utils.Configure();
|
|
|
|
|
|
|
|
|
|
var vortexCompiler = ConfigureAndRunCompiler();
|
2019-11-17 04:30:22 +00:00
|
|
|
|
vortexCompiler.StagingFolder = "vortex_staging";
|
2019-11-12 17:54:48 +00:00
|
|
|
|
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-12 17:54:48 +00:00
|
|
|
|
}
|
2019-11-17 04:30:22 +00:00
|
|
|
|
*/
|
2019-11-12 17:54:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|