Esempio n. 1
0
        public void QueueScriptLua_ShouldNotThrowExceptions()
        {
            string tempFilePath = "./Scripts/Tests/TestScript.lua";

            Directory.CreateDirectory("./Scripts/Tests");
            FileStream stream = File.Create(tempFilePath);

            stream.Close();
            Assert.DoesNotThrow(delegate
            {
                _service.QueueScript("Tests/TestScript.lua", null);
            });

            File.Delete(tempFilePath);
            Directory.Delete("./Scripts/Tests/");
        }