31 lines
934 B
C#
31 lines
934 B
C#
using System.IO;
|
|
using System.Net.Mime;
|
|
using JD.Application.Program;
|
|
using JD.Application.Tests.FunctionalTest;
|
|
using JD.Asset.Types.Map;
|
|
using JD.Core;
|
|
using JD.TeaBoxAddinSystem.Bootstrap;
|
|
using NUnit.Framework;
|
|
using TeaBox;
|
|
using TeaBox.Bootstrap;
|
|
using TeaBox.ObjectModel;
|
|
|
|
namespace TRec.Tests
|
|
{
|
|
[TestFixture, Ignore("")]
|
|
public class TRecFunctionalTest : FunctionalTestBase
|
|
{
|
|
protected override GenericApplicationStartup CreateApplicationStartup()
|
|
{
|
|
return new Program.TrecStartup(new string[0], RuntimeMode.SystemTests);
|
|
}
|
|
|
|
[Test, Category("Functional")]
|
|
public void Test_Open_Map()
|
|
{
|
|
var map = Map.FromName(@"_testMap");
|
|
var sequenceTapePath = Path.Combine(map.CinematicsFolder, map.Name + "_MainSequence.tape");
|
|
Application.Main.Open.FromFile(sequenceTapePath, DocumentOpeningOptions.Default);
|
|
}
|
|
}
|
|
}
|