feat: upgrade to ts2lua-unreal v0.3.0 and refactor Game classes to pure C++ callback + TS composition hot-reload
This commit is contained in:
1 parent
4ad4a8f36f
commit
783dccf53d
64 files changed
+2368
-714
No files matched your search
@@ -1,20 +1,20 @@
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertFalse = ____TestRunner.AssertFalse
|
||||
local AssertNotNil = ____TestRunner.AssertNotNil
|
||||
local AssertNil = ____TestRunner.AssertNil
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____MockUnLuaRuntime = require("Tests.Harness.MockUnLuaRuntime")
|
||||
local CreateBoundInstance = ____MockUnLuaRuntime.CreateBoundInstance
|
||||
local ResetMockState = ____MockUnLuaRuntime.ResetMockState
|
||||
local Bootstrap = require("Framework.Bootstrap")
|
||||
local EventBus = require("Framework.EventBus")
|
||||
local HotReload = require("Framework.HotReload")
|
||||
local LuaDemoActor = require("Game.LuaDemoActor")
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
local AssertNotNil = M__Tests_Harness_TestRunner.AssertNotNil
|
||||
local AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
local M__Tests_Harness_MockUnLuaRuntime = __MODULE__.Import("Tests.Harness.MockUnLuaRuntime", __module)
|
||||
local CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
local ResetMockState = M__Tests_Harness_MockUnLuaRuntime.ResetMockState
|
||||
local Bootstrap = __MODULE__.Import("Framework.Bootstrap", __module)
|
||||
local EventBus = __MODULE__.Import("Framework.EventBus", __module)
|
||||
local HotReload = __MODULE__.Import("Framework.HotReload", __module)
|
||||
local LuaDemoActor = __MODULE__.Import("Game.LuaDemoActor", __module)
|
||||
function ____exports.RunHotReloadAndFrameworkTests()
|
||||
Suite(
|
||||
"Extra.FrameworkAndHotReload",
|
||||
@@ -105,7 +105,7 @@ function ____exports.RunHotReloadAndFrameworkTests()
|
||||
end
|
||||
)
|
||||
Test(
|
||||
"LuaDemoActor full integration: BeginPlay, Tick, Ping color cycle, HotReload event & EndPlay cleanup",
|
||||
"LuaDemoActor full integration: pure TS callback BeginPlay, Tick, Ping color cycle, HotReload & EndPlay cleanup",
|
||||
function()
|
||||
ResetMockState()
|
||||
EventBus.Clear()
|
||||
@@ -113,8 +113,8 @@ function ____exports.RunHotReloadAndFrameworkTests()
|
||||
local colorApplyCount = 0
|
||||
local rotationAddCount = 0
|
||||
local lastVerticalOffset = 0
|
||||
local demoActor = CreateBoundInstance(
|
||||
LuaDemoActor,
|
||||
local fakeActor = CreateBoundInstance(
|
||||
{},
|
||||
"ALuaDemoActor",
|
||||
{
|
||||
SpinSpeed = 90,
|
||||
@@ -134,24 +134,37 @@ function ____exports.RunHotReloadAndFrameworkTests()
|
||||
end
|
||||
}
|
||||
)
|
||||
demoActor:ReceiveBeginPlay()
|
||||
LuaDemoActor.OnBeginPlay(fakeActor)
|
||||
AssertEqual(colorApplyCount, 1)
|
||||
AssertTrue((string.find(lastStatusText, "Pings: 0", 1, true)) ~= nil)
|
||||
demoActor:ReceiveTick(0.25)
|
||||
AssertTrue((string.find(lastStatusText, "Speed: 60", 1, true)) ~= nil)
|
||||
LuaDemoActor.OnTick(fakeActor, 0.25)
|
||||
AssertEqual(rotationAddCount, 1)
|
||||
AssertTrue(lastVerticalOffset ~= 0)
|
||||
EventBus.Emit("Demo.Ping", "TestSuite")
|
||||
AssertEqual(colorApplyCount, 2)
|
||||
AssertTrue((string.find(lastStatusText, "Pings: 1", 1, true)) ~= nil)
|
||||
EventBus.Emit(HotReload.EVENT_AFTER_RELOAD, "Game.LuaDemoActor")
|
||||
AssertEqual(colorApplyCount, 3)
|
||||
AssertTrue((string.find(lastStatusText, "Reloads: 1", 1, true)) ~= nil)
|
||||
demoActor:ReceiveEndPlay(UE.EEndPlayReason.Destroyed)
|
||||
LuaDemoActor.OnEndPlay(fakeActor, UE.EEndPlayReason.Destroyed)
|
||||
EventBus.Emit("Demo.Ping", "AfterEndPlay")
|
||||
AssertEqual(colorApplyCount, 2)
|
||||
AssertEqual(colorApplyCount, 3)
|
||||
EventBus.Clear()
|
||||
end
|
||||
)
|
||||
end
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
AssertNotNil = M__Tests_Harness_TestRunner.AssertNotNil
|
||||
AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
ResetMockState = M__Tests_Harness_MockUnLuaRuntime.ResetMockState
|
||||
end
|
||||
@@ -1,18 +1,18 @@
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertFalse = ____TestRunner.AssertFalse
|
||||
local AssertNil = ____TestRunner.AssertNil
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____MockUnLuaRuntime = require("Tests.Harness.MockUnLuaRuntime")
|
||||
local AdvanceMockTime = ____MockUnLuaRuntime.AdvanceMockTime
|
||||
local CreateBoundInstance = ____MockUnLuaRuntime.CreateBoundInstance
|
||||
local GetMockState = ____MockUnLuaRuntime.GetMockState
|
||||
local ResetMockState = ____MockUnLuaRuntime.ResetMockState
|
||||
local EventBus = require("Framework.EventBus")
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
local AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
local M__Tests_Harness_MockUnLuaRuntime = __MODULE__.Import("Tests.Harness.MockUnLuaRuntime", __module)
|
||||
local AdvanceMockTime = M__Tests_Harness_MockUnLuaRuntime.AdvanceMockTime
|
||||
local CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
local GetMockState = M__Tests_Harness_MockUnLuaRuntime.GetMockState
|
||||
local ResetMockState = M__Tests_Harness_MockUnLuaRuntime.ResetMockState
|
||||
local EventBus = __MODULE__.Import("Framework.EventBus", __module)
|
||||
local LifecycleSafetyActor = require("Tests.Extra.LifecycleSafetyActor")
|
||||
function ____exports.RunLifecycleAndMemoryTests()
|
||||
Suite(
|
||||
@@ -89,4 +89,16 @@ function ____exports.RunLifecycleAndMemoryTests()
|
||||
end
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
AdvanceMockTime = M__Tests_Harness_MockUnLuaRuntime.AdvanceMockTime
|
||||
CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
GetMockState = M__Tests_Harness_MockUnLuaRuntime.GetMockState
|
||||
ResetMockState = M__Tests_Harness_MockUnLuaRuntime.ResetMockState
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
local EventBus = require("Framework.EventBus")
|
||||
local EventBus = __MODULE__.Import("Framework.EventBus")
|
||||
local LifecycleSafetyActor = UnLua.Class()
|
||||
function LifecycleSafetyActor.ReceiveBeginPlay(self)
|
||||
self.Overridden.ReceiveBeginPlay(self)
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertNear = ____TestRunner.AssertNear
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
local function EscapeLuaPattern(literal)
|
||||
local escaped = string.gsub(literal, "([%(%)%.%%%+%-%*%?%[%]%^%$])", "%%%1")
|
||||
return escaped
|
||||
@@ -168,4 +168,11 @@ function ____exports.RunLua54PitfallsTests()
|
||||
end
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
end
|
||||
@@ -1,7 +1,5 @@
|
||||
local ____lualib = require("lualib_bundle")
|
||||
local __TS__Class = ____lualib.__TS__Class
|
||||
local ____exports = {}
|
||||
____exports.BTCondition = __TS__Class()
|
||||
local ____exports = __module.env
|
||||
____exports.BTCondition = __TS__DefineClass("BTCondition", __module)
|
||||
local BTCondition = ____exports.BTCondition
|
||||
BTCondition.name = "BTCondition"
|
||||
function BTCondition.prototype.____constructor(self, check)
|
||||
@@ -12,7 +10,7 @@ function BTCondition.prototype.Tick(self, ctx)
|
||||
end
|
||||
function BTCondition.prototype.Reset(self)
|
||||
end
|
||||
____exports.BTAction = __TS__Class()
|
||||
____exports.BTAction = __TS__DefineClass("BTAction", __module)
|
||||
local BTAction = ____exports.BTAction
|
||||
BTAction.name = "BTAction"
|
||||
function BTAction.prototype.____constructor(self, action)
|
||||
@@ -23,7 +21,7 @@ function BTAction.prototype.Tick(self, ctx)
|
||||
end
|
||||
function BTAction.prototype.Reset(self)
|
||||
end
|
||||
____exports.BTSequence = __TS__Class()
|
||||
____exports.BTSequence = __TS__DefineClass("BTSequence", __module)
|
||||
local BTSequence = ____exports.BTSequence
|
||||
BTSequence.name = "BTSequence"
|
||||
function BTSequence.prototype.____constructor(self, children)
|
||||
@@ -55,7 +53,7 @@ function BTSequence.prototype.Reset(self)
|
||||
end
|
||||
end
|
||||
end
|
||||
____exports.BTSelector = __TS__Class()
|
||||
____exports.BTSelector = __TS__DefineClass("BTSelector", __module)
|
||||
local BTSelector = ____exports.BTSelector
|
||||
BTSelector.name = "BTSelector"
|
||||
function BTSelector.prototype.____constructor(self, children)
|
||||
@@ -87,7 +85,7 @@ function BTSelector.prototype.Reset(self)
|
||||
end
|
||||
end
|
||||
end
|
||||
____exports.BTInverter = __TS__Class()
|
||||
____exports.BTInverter = __TS__DefineClass("BTInverter", __module)
|
||||
local BTInverter = ____exports.BTInverter
|
||||
BTInverter.name = "BTInverter"
|
||||
function BTInverter.prototype.____constructor(self, child)
|
||||
@@ -106,7 +104,7 @@ end
|
||||
function BTInverter.prototype.Reset(self)
|
||||
self.child:Reset()
|
||||
end
|
||||
____exports.BTCooldown = __TS__Class()
|
||||
____exports.BTCooldown = __TS__DefineClass("BTCooldown", __module)
|
||||
local BTCooldown = ____exports.BTCooldown
|
||||
BTCooldown.name = "BTCooldown"
|
||||
function BTCooldown.prototype.____constructor(self, child, cooldownSeconds)
|
||||
@@ -127,4 +125,5 @@ end
|
||||
function BTCooldown.prototype.Reset(self)
|
||||
self.child:Reset()
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
@@ -1,7 +1,5 @@
|
||||
local ____lualib = require("lualib_bundle")
|
||||
local __TS__Class = ____lualib.__TS__Class
|
||||
local ____exports = {}
|
||||
____exports.AttributeAndBuffComponent = __TS__Class()
|
||||
local ____exports = __module.env
|
||||
____exports.AttributeAndBuffComponent = __TS__DefineClass("AttributeAndBuffComponent", __module)
|
||||
local AttributeAndBuffComponent = ____exports.AttributeAndBuffComponent
|
||||
AttributeAndBuffComponent.name = "AttributeAndBuffComponent"
|
||||
function AttributeAndBuffComponent.prototype.____constructor(self, initialStats)
|
||||
@@ -177,4 +175,5 @@ function AttributeAndBuffComponent.prototype.Notify(self, attr, val)
|
||||
end
|
||||
end
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
@@ -1,7 +1,5 @@
|
||||
local ____lualib = require("lualib_bundle")
|
||||
local __TS__Class = ____lualib.__TS__Class
|
||||
local ____exports = {}
|
||||
____exports.CoroutineTaskRunner = __TS__Class()
|
||||
local ____exports = __module.env
|
||||
____exports.CoroutineTaskRunner = __TS__DefineClass("CoroutineTaskRunner", __module)
|
||||
local CoroutineTaskRunner = ____exports.CoroutineTaskRunner
|
||||
CoroutineTaskRunner.name = "CoroutineTaskRunner"
|
||||
function CoroutineTaskRunner.prototype.____constructor(self)
|
||||
@@ -125,4 +123,5 @@ function CoroutineTaskRunner.WaitUntil(predicate)
|
||||
local cmd = {kind = "wait_until", predicate = predicate}
|
||||
coroutine.yield(cmd)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
@@ -1,7 +1,5 @@
|
||||
local ____lualib = require("lualib_bundle")
|
||||
local __TS__Class = ____lualib.__TS__Class
|
||||
local ____exports = {}
|
||||
____exports.StateMachine = __TS__Class()
|
||||
local ____exports = __module.env
|
||||
____exports.StateMachine = __TS__DefineClass("StateMachine", __module)
|
||||
local StateMachine = ____exports.StateMachine
|
||||
StateMachine.name = "StateMachine"
|
||||
function StateMachine.prototype.____constructor(self, ctx)
|
||||
@@ -85,4 +83,5 @@ end
|
||||
function StateMachine.prototype.GetHistory(self)
|
||||
return self.history
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
@@ -1,37 +1,37 @@
|
||||
local ____lualib = require("lualib_bundle")
|
||||
local __TS__New = ____lualib.__TS__New
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertNear = ____TestRunner.AssertNear
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertFalse = ____TestRunner.AssertFalse
|
||||
local AssertNil = ____TestRunner.AssertNil
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____MockUnLuaRuntime = require("Tests.Harness.MockUnLuaRuntime")
|
||||
local CreateBoundInstance = ____MockUnLuaRuntime.CreateBoundInstance
|
||||
local ____FSM = require("Tests.Gameplay.FSM")
|
||||
local StateMachine = ____FSM.StateMachine
|
||||
local ____ObjectPool = require("Tests.Gameplay.ObjectPool")
|
||||
local ObjectPool = ____ObjectPool.ObjectPool
|
||||
local ____TimerScheduler = require("Tests.Gameplay.TimerScheduler")
|
||||
local TimerScheduler = ____TimerScheduler.TimerScheduler
|
||||
local CooldownTracker = ____TimerScheduler.CooldownTracker
|
||||
local ____BuffAndAttributeSystem = require("Tests.Gameplay.BuffAndAttributeSystem")
|
||||
local AttributeAndBuffComponent = ____BuffAndAttributeSystem.AttributeAndBuffComponent
|
||||
local ____InventorySystem = require("Tests.Gameplay.InventorySystem")
|
||||
local InventorySystem = ____InventorySystem.InventorySystem
|
||||
local ____CoroutineTaskRunner = require("Tests.Gameplay.CoroutineTaskRunner")
|
||||
local CoroutineTaskRunner = ____CoroutineTaskRunner.CoroutineTaskRunner
|
||||
local ____BehaviorTree = require("Tests.Gameplay.BehaviorTree")
|
||||
local BTAction = ____BehaviorTree.BTAction
|
||||
local BTCondition = ____BehaviorTree.BTCondition
|
||||
local BTCooldown = ____BehaviorTree.BTCooldown
|
||||
local BTInverter = ____BehaviorTree.BTInverter
|
||||
local BTSelector = ____BehaviorTree.BTSelector
|
||||
local BTSequence = ____BehaviorTree.BTSequence
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
local AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
local M__Tests_Harness_MockUnLuaRuntime = __MODULE__.Import("Tests.Harness.MockUnLuaRuntime", __module)
|
||||
local CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
local M__Tests_Gameplay_FSM = __MODULE__.Import("Tests.Gameplay.FSM", __module)
|
||||
local StateMachine = M__Tests_Gameplay_FSM.StateMachine
|
||||
local M__Tests_Gameplay_ObjectPool = __MODULE__.Import("Tests.Gameplay.ObjectPool", __module)
|
||||
local ObjectPool = M__Tests_Gameplay_ObjectPool.ObjectPool
|
||||
local M__Tests_Gameplay_TimerScheduler = __MODULE__.Import("Tests.Gameplay.TimerScheduler", __module)
|
||||
local TimerScheduler = M__Tests_Gameplay_TimerScheduler.TimerScheduler
|
||||
local CooldownTracker = M__Tests_Gameplay_TimerScheduler.CooldownTracker
|
||||
local M__Tests_Gameplay_BuffAndAttributeSystem = __MODULE__.Import("Tests.Gameplay.BuffAndAttributeSystem", __module)
|
||||
local AttributeAndBuffComponent = M__Tests_Gameplay_BuffAndAttributeSystem.AttributeAndBuffComponent
|
||||
local M__Tests_Gameplay_InventorySystem = __MODULE__.Import("Tests.Gameplay.InventorySystem", __module)
|
||||
local InventorySystem = M__Tests_Gameplay_InventorySystem.InventorySystem
|
||||
local M__Tests_Gameplay_CoroutineTaskRunner = __MODULE__.Import("Tests.Gameplay.CoroutineTaskRunner", __module)
|
||||
local CoroutineTaskRunner = M__Tests_Gameplay_CoroutineTaskRunner.CoroutineTaskRunner
|
||||
local M__Tests_Gameplay_BehaviorTree = __MODULE__.Import("Tests.Gameplay.BehaviorTree", __module)
|
||||
local BTAction = M__Tests_Gameplay_BehaviorTree.BTAction
|
||||
local BTCondition = M__Tests_Gameplay_BehaviorTree.BTCondition
|
||||
local BTCooldown = M__Tests_Gameplay_BehaviorTree.BTCooldown
|
||||
local BTInverter = M__Tests_Gameplay_BehaviorTree.BTInverter
|
||||
local BTSelector = M__Tests_Gameplay_BehaviorTree.BTSelector
|
||||
local BTSequence = M__Tests_Gameplay_BehaviorTree.BTSequence
|
||||
function ____exports.RunGameplayTests()
|
||||
Suite(
|
||||
"Gameplay.Systems",
|
||||
@@ -489,4 +489,27 @@ function ____exports.RunGameplayTests()
|
||||
end
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
StateMachine = M__Tests_Gameplay_FSM.StateMachine
|
||||
ObjectPool = M__Tests_Gameplay_ObjectPool.ObjectPool
|
||||
TimerScheduler = M__Tests_Gameplay_TimerScheduler.TimerScheduler
|
||||
CooldownTracker = M__Tests_Gameplay_TimerScheduler.CooldownTracker
|
||||
AttributeAndBuffComponent = M__Tests_Gameplay_BuffAndAttributeSystem.AttributeAndBuffComponent
|
||||
InventorySystem = M__Tests_Gameplay_InventorySystem.InventorySystem
|
||||
CoroutineTaskRunner = M__Tests_Gameplay_CoroutineTaskRunner.CoroutineTaskRunner
|
||||
BTAction = M__Tests_Gameplay_BehaviorTree.BTAction
|
||||
BTCondition = M__Tests_Gameplay_BehaviorTree.BTCondition
|
||||
BTCooldown = M__Tests_Gameplay_BehaviorTree.BTCooldown
|
||||
BTInverter = M__Tests_Gameplay_BehaviorTree.BTInverter
|
||||
BTSelector = M__Tests_Gameplay_BehaviorTree.BTSelector
|
||||
BTSequence = M__Tests_Gameplay_BehaviorTree.BTSequence
|
||||
end
|
||||
@@ -1,7 +1,5 @@
|
||||
local ____lualib = require("lualib_bundle")
|
||||
local __TS__Class = ____lualib.__TS__Class
|
||||
local ____exports = {}
|
||||
____exports.InventorySystem = __TS__Class()
|
||||
local ____exports = __module.env
|
||||
____exports.InventorySystem = __TS__DefineClass("InventorySystem", __module)
|
||||
local InventorySystem = ____exports.InventorySystem
|
||||
InventorySystem.name = "InventorySystem"
|
||||
function InventorySystem.prototype.____constructor(self, capacity)
|
||||
@@ -158,4 +156,5 @@ function InventorySystem.prototype.Deserialize(self, data)
|
||||
self.slots[idx] = {itemId = s.itemId, count = s.count}
|
||||
end
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
@@ -1,7 +1,5 @@
|
||||
local ____lualib = require("lualib_bundle")
|
||||
local __TS__Class = ____lualib.__TS__Class
|
||||
local ____exports = {}
|
||||
____exports.ObjectPool = __TS__Class()
|
||||
local ____exports = __module.env
|
||||
____exports.ObjectPool = __TS__DefineClass("ObjectPool", __module)
|
||||
local ObjectPool = ____exports.ObjectPool
|
||||
ObjectPool.name = "ObjectPool"
|
||||
function ObjectPool.prototype.____constructor(self, options)
|
||||
@@ -58,4 +56,5 @@ end
|
||||
function ObjectPool.prototype.GetTotalCreated(self)
|
||||
return self.totalCreated
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
@@ -1,7 +1,5 @@
|
||||
local ____lualib = require("lualib_bundle")
|
||||
local __TS__Class = ____lualib.__TS__Class
|
||||
local ____exports = {}
|
||||
____exports.TimerScheduler = __TS__Class()
|
||||
local ____exports = __module.env
|
||||
____exports.TimerScheduler = __TS__DefineClass("TimerScheduler", __module)
|
||||
local TimerScheduler = ____exports.TimerScheduler
|
||||
TimerScheduler.name = "TimerScheduler"
|
||||
function TimerScheduler.prototype.____constructor(self)
|
||||
@@ -123,7 +121,7 @@ function TimerScheduler.prototype.GetActiveCount(self)
|
||||
end
|
||||
return count
|
||||
end
|
||||
____exports.CooldownTracker = __TS__Class()
|
||||
____exports.CooldownTracker = __TS__DefineClass("CooldownTracker", __module)
|
||||
local CooldownTracker = ____exports.CooldownTracker
|
||||
CooldownTracker.name = "CooldownTracker"
|
||||
function CooldownTracker.prototype.____constructor(self)
|
||||
@@ -156,4 +154,5 @@ function CooldownTracker.prototype.Tick(self, dt)
|
||||
end
|
||||
end
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
local ____exports = {}
|
||||
local ____exports = __module.env
|
||||
local state
|
||||
function ____exports.GetMockState()
|
||||
return state
|
||||
@@ -1078,4 +1078,5 @@ function ____exports.InstallIfNeeded()
|
||||
}
|
||||
}
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
@@ -1,4 +1,4 @@
|
||||
local ____exports = {}
|
||||
local ____exports = __module.env
|
||||
local currentSuite = "Default"
|
||||
local results = {}
|
||||
function ____exports.Reset()
|
||||
@@ -159,4 +159,5 @@ function ____exports.PrintReport()
|
||||
print(____exports.FormatReport(summary))
|
||||
return summary
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
end
|
||||
@@ -1,27 +1,27 @@
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Reset = ____TestRunner.Reset
|
||||
local PrintReport = ____TestRunner.PrintReport
|
||||
local ____MockUnLuaRuntime = require("Tests.Harness.MockUnLuaRuntime")
|
||||
local InstallIfNeeded = ____MockUnLuaRuntime.InstallIfNeeded
|
||||
local ____BasicTypesAndControlFlow = require("Tests.Syntax.BasicTypesAndControlFlow")
|
||||
local RunBasicTypesAndControlFlowTests = ____BasicTypesAndControlFlow.RunBasicTypesAndControlFlowTests
|
||||
local ____FunctionsClosuresAndTuples = require("Tests.Syntax.FunctionsClosuresAndTuples")
|
||||
local RunFunctionsClosuresAndTuplesTests = ____FunctionsClosuresAndTuples.RunFunctionsClosuresAndTuplesTests
|
||||
local ____PureClassesAndGenerics = require("Tests.Syntax.PureClassesAndGenerics")
|
||||
local RunPureClassesAndGenericsTests = ____PureClassesAndGenerics.RunPureClassesAndGenericsTests
|
||||
local ____UnLuaSyntaxSuite = require("Tests.Syntax.UnLuaSyntaxSuite")
|
||||
local RunUnLuaSyntaxTests = ____UnLuaSyntaxSuite.RunUnLuaSyntaxTests
|
||||
local ____UnLuaExamplesSuite = require("Tests.UnLuaExamples.UnLuaExamplesSuite")
|
||||
local RunUnLuaExamplesTests = ____UnLuaExamplesSuite.RunUnLuaExamplesTests
|
||||
local ____GameplaySuite = require("Tests.Gameplay.GameplaySuite")
|
||||
local RunGameplayTests = ____GameplaySuite.RunGameplayTests
|
||||
local ____HotReloadAndFrameworkTest = require("Tests.Extra.HotReloadAndFrameworkTest")
|
||||
local RunHotReloadAndFrameworkTests = ____HotReloadAndFrameworkTest.RunHotReloadAndFrameworkTests
|
||||
local ____Lua54PitfallsTest = require("Tests.Extra.Lua54PitfallsTest")
|
||||
local RunLua54PitfallsTests = ____Lua54PitfallsTest.RunLua54PitfallsTests
|
||||
local ____LifecycleAndMemoryTest = require("Tests.Extra.LifecycleAndMemoryTest")
|
||||
local RunLifecycleAndMemoryTests = ____LifecycleAndMemoryTest.RunLifecycleAndMemoryTests
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Reset = M__Tests_Harness_TestRunner.Reset
|
||||
local PrintReport = M__Tests_Harness_TestRunner.PrintReport
|
||||
local M__Tests_Harness_MockUnLuaRuntime = __MODULE__.Import("Tests.Harness.MockUnLuaRuntime", __module)
|
||||
local InstallIfNeeded = M__Tests_Harness_MockUnLuaRuntime.InstallIfNeeded
|
||||
local M__Tests_Syntax_BasicTypesAndControlFlow = __MODULE__.Import("Tests.Syntax.BasicTypesAndControlFlow", __module)
|
||||
local RunBasicTypesAndControlFlowTests = M__Tests_Syntax_BasicTypesAndControlFlow.RunBasicTypesAndControlFlowTests
|
||||
local M__Tests_Syntax_FunctionsClosuresAndTuples = __MODULE__.Import("Tests.Syntax.FunctionsClosuresAndTuples", __module)
|
||||
local RunFunctionsClosuresAndTuplesTests = M__Tests_Syntax_FunctionsClosuresAndTuples.RunFunctionsClosuresAndTuplesTests
|
||||
local M__Tests_Syntax_PureClassesAndGenerics = __MODULE__.Import("Tests.Syntax.PureClassesAndGenerics", __module)
|
||||
local RunPureClassesAndGenericsTests = M__Tests_Syntax_PureClassesAndGenerics.RunPureClassesAndGenericsTests
|
||||
local M__Tests_Syntax_UnLuaSyntaxSuite = __MODULE__.Import("Tests.Syntax.UnLuaSyntaxSuite", __module)
|
||||
local RunUnLuaSyntaxTests = M__Tests_Syntax_UnLuaSyntaxSuite.RunUnLuaSyntaxTests
|
||||
local M__Tests_UnLuaExamples_UnLuaExamplesSuite = __MODULE__.Import("Tests.UnLuaExamples.UnLuaExamplesSuite", __module)
|
||||
local RunUnLuaExamplesTests = M__Tests_UnLuaExamples_UnLuaExamplesSuite.RunUnLuaExamplesTests
|
||||
local M__Tests_Gameplay_GameplaySuite = __MODULE__.Import("Tests.Gameplay.GameplaySuite", __module)
|
||||
local RunGameplayTests = M__Tests_Gameplay_GameplaySuite.RunGameplayTests
|
||||
local M__Tests_Extra_HotReloadAndFrameworkTest = __MODULE__.Import("Tests.Extra.HotReloadAndFrameworkTest", __module)
|
||||
local RunHotReloadAndFrameworkTests = M__Tests_Extra_HotReloadAndFrameworkTest.RunHotReloadAndFrameworkTests
|
||||
local M__Tests_Extra_Lua54PitfallsTest = __MODULE__.Import("Tests.Extra.Lua54PitfallsTest", __module)
|
||||
local RunLua54PitfallsTests = M__Tests_Extra_Lua54PitfallsTest.RunLua54PitfallsTests
|
||||
local M__Tests_Extra_LifecycleAndMemoryTest = __MODULE__.Import("Tests.Extra.LifecycleAndMemoryTest", __module)
|
||||
local RunLifecycleAndMemoryTests = M__Tests_Extra_LifecycleAndMemoryTest.RunLifecycleAndMemoryTests
|
||||
function ____exports.RunAll()
|
||||
InstallIfNeeded()
|
||||
Reset()
|
||||
@@ -43,4 +43,17 @@ if g.__TS2LUA_TEST_AUTO_RUN__ == true then
|
||||
os.exit(1)
|
||||
end
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Reset = M__Tests_Harness_TestRunner.Reset
|
||||
PrintReport = M__Tests_Harness_TestRunner.PrintReport
|
||||
InstallIfNeeded = M__Tests_Harness_MockUnLuaRuntime.InstallIfNeeded
|
||||
RunBasicTypesAndControlFlowTests = M__Tests_Syntax_BasicTypesAndControlFlow.RunBasicTypesAndControlFlowTests
|
||||
RunFunctionsClosuresAndTuplesTests = M__Tests_Syntax_FunctionsClosuresAndTuples.RunFunctionsClosuresAndTuplesTests
|
||||
RunPureClassesAndGenericsTests = M__Tests_Syntax_PureClassesAndGenerics.RunPureClassesAndGenericsTests
|
||||
RunUnLuaSyntaxTests = M__Tests_Syntax_UnLuaSyntaxSuite.RunUnLuaSyntaxTests
|
||||
RunUnLuaExamplesTests = M__Tests_UnLuaExamples_UnLuaExamplesSuite.RunUnLuaExamplesTests
|
||||
RunGameplayTests = M__Tests_Gameplay_GameplaySuite.RunGameplayTests
|
||||
RunHotReloadAndFrameworkTests = M__Tests_Extra_HotReloadAndFrameworkTest.RunHotReloadAndFrameworkTests
|
||||
RunLua54PitfallsTests = M__Tests_Extra_Lua54PitfallsTest.RunLua54PitfallsTests
|
||||
RunLifecycleAndMemoryTests = M__Tests_Extra_LifecycleAndMemoryTest.RunLifecycleAndMemoryTests
|
||||
end
|
||||
@@ -2,16 +2,16 @@ local ____lualib = require("lualib_bundle")
|
||||
local __TS__SparseArrayNew = ____lualib.__TS__SparseArrayNew
|
||||
local __TS__SparseArrayPush = ____lualib.__TS__SparseArrayPush
|
||||
local __TS__SparseArraySpread = ____lualib.__TS__SparseArraySpread
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertNear = ____TestRunner.AssertNear
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertFalse = ____TestRunner.AssertFalse
|
||||
local AssertNil = ____TestRunner.AssertNil
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
local AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
local function EvaluateCommand(action)
|
||||
repeat
|
||||
local ____switch3 = action.kind
|
||||
@@ -246,4 +246,13 @@ function ____exports.RunBasicTypesAndControlFlowTests()
|
||||
end
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
end
|
||||
@@ -2,15 +2,15 @@ local ____lualib = require("lualib_bundle")
|
||||
local __TS__ArraySplice = ____lualib.__TS__ArraySplice
|
||||
local __TS__ArraySort = ____lualib.__TS__ArraySort
|
||||
local __TS__ArrayIndexOf = ____lualib.__TS__ArrayIndexOf
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertFalse = ____TestRunner.AssertFalse
|
||||
local AssertNil = ____TestRunner.AssertNil
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
local AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
local function DivideWithRemainder(a, b)
|
||||
if b == 0 then
|
||||
return false, 0, 0
|
||||
@@ -191,4 +191,12 @@ function ____exports.RunFunctionsClosuresAndTuplesTests()
|
||||
end
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
end
|
||||
@@ -1,17 +1,16 @@
|
||||
local ____lualib = require("lualib_bundle")
|
||||
local __TS__Class = ____lualib.__TS__Class
|
||||
local __TS__ClassExtends = ____lualib.__TS__ClassExtends
|
||||
local __TS__New = ____lualib.__TS__New
|
||||
local __TS__InstanceOf = ____lualib.__TS__InstanceOf
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertFalse = ____TestRunner.AssertFalse
|
||||
local AssertNil = ____TestRunner.AssertNil
|
||||
local BaseEntity = __TS__Class()
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
local AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
local BaseEntity = __TS__DefineClass("BaseEntity", __module)
|
||||
BaseEntity.name = "BaseEntity"
|
||||
function BaseEntity.prototype.____constructor(self, id, name)
|
||||
self.id = id
|
||||
@@ -23,7 +22,7 @@ end
|
||||
function BaseEntity.prototype.GetName(self)
|
||||
return self.name
|
||||
end
|
||||
local PureMonster = __TS__Class()
|
||||
local PureMonster = __TS__DefineClass("PureMonster", __module)
|
||||
PureMonster.name = "PureMonster"
|
||||
__TS__ClassExtends(PureMonster, BaseEntity)
|
||||
function PureMonster.prototype.____constructor(self, id, name, level)
|
||||
@@ -43,7 +42,7 @@ function PureMonster.CompareLevel(a, b)
|
||||
return a:GetLevel() - b:GetLevel()
|
||||
end
|
||||
PureMonster.DefaultLevel = 1
|
||||
local RingBuffer = __TS__Class()
|
||||
local RingBuffer = __TS__DefineClass("RingBuffer", __module)
|
||||
RingBuffer.name = "RingBuffer"
|
||||
function RingBuffer.prototype.____constructor(self, capacity)
|
||||
self.buffer = {}
|
||||
@@ -190,4 +189,11 @@ function ____exports.RunPureClassesAndGenericsTests()
|
||||
end
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
end
|
||||
@@ -1,14 +1,14 @@
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____MockUnLuaRuntime = require("Tests.Harness.MockUnLuaRuntime")
|
||||
local CreateBoundInstance = ____MockUnLuaRuntime.CreateBoundInstance
|
||||
local GetMockState = ____MockUnLuaRuntime.GetMockState
|
||||
local ResetMockState = ____MockUnLuaRuntime.ResetMockState
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
local M__Tests_Harness_MockUnLuaRuntime = __MODULE__.Import("Tests.Harness.MockUnLuaRuntime", __module)
|
||||
local CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
local GetMockState = M__Tests_Harness_MockUnLuaRuntime.GetMockState
|
||||
local ResetMockState = M__Tests_Harness_MockUnLuaRuntime.ResetMockState
|
||||
local UnLuaBaseActor = require("Tests.Syntax.UnLuaBaseActor")
|
||||
local UnLuaGrandChildActor = require("Tests.Syntax.UnLuaGrandChildActor")
|
||||
local UnLuaExplicitWidget = require("Tests.Syntax.UnLuaExplicitWidget")
|
||||
@@ -120,4 +120,13 @@ function ____exports.RunUnLuaSyntaxTests()
|
||||
end
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
GetMockState = M__Tests_Harness_MockUnLuaRuntime.GetMockState
|
||||
ResetMockState = M__Tests_Harness_MockUnLuaRuntime.ResetMockState
|
||||
end
|
||||
@@ -1,32 +1,32 @@
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Reset = ____TestRunner.Reset
|
||||
local PrintReport = ____TestRunner.PrintReport
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertNear = ____TestRunner.AssertNear
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertFalse = ____TestRunner.AssertFalse
|
||||
local AssertNotNil = ____TestRunner.AssertNotNil
|
||||
local AssertNil = ____TestRunner.AssertNil
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____BasicTypesAndControlFlow = require("Tests.Syntax.BasicTypesAndControlFlow")
|
||||
local RunBasicTypesAndControlFlowTests = ____BasicTypesAndControlFlow.RunBasicTypesAndControlFlowTests
|
||||
local ____FunctionsClosuresAndTuples = require("Tests.Syntax.FunctionsClosuresAndTuples")
|
||||
local RunFunctionsClosuresAndTuplesTests = ____FunctionsClosuresAndTuples.RunFunctionsClosuresAndTuplesTests
|
||||
local ____PureClassesAndGenerics = require("Tests.Syntax.PureClassesAndGenerics")
|
||||
local RunPureClassesAndGenericsTests = ____PureClassesAndGenerics.RunPureClassesAndGenericsTests
|
||||
local ____GameplaySuite = require("Tests.Gameplay.GameplaySuite")
|
||||
local RunGameplayTests = ____GameplaySuite.RunGameplayTests
|
||||
local ____Lua54PitfallsTest = require("Tests.Extra.Lua54PitfallsTest")
|
||||
local RunLua54PitfallsTests = ____Lua54PitfallsTest.RunLua54PitfallsTests
|
||||
local EventBus = require("Framework.EventBus")
|
||||
local HotReload = require("Framework.HotReload")
|
||||
local ____Ex06_NativeContainers = require("Tests.UnLuaExamples.Ex06_NativeContainers")
|
||||
local VerifyTArrayOperations = ____Ex06_NativeContainers.VerifyTArrayOperations
|
||||
local VerifyTMapOperations = ____Ex06_NativeContainers.VerifyTMapOperations
|
||||
local VerifyTSetOperations = ____Ex06_NativeContainers.VerifyTSetOperations
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Reset = M__Tests_Harness_TestRunner.Reset
|
||||
local PrintReport = M__Tests_Harness_TestRunner.PrintReport
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
local AssertNotNil = M__Tests_Harness_TestRunner.AssertNotNil
|
||||
local AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
local M__Tests_Syntax_BasicTypesAndControlFlow = __MODULE__.Import("Tests.Syntax.BasicTypesAndControlFlow", __module)
|
||||
local RunBasicTypesAndControlFlowTests = M__Tests_Syntax_BasicTypesAndControlFlow.RunBasicTypesAndControlFlowTests
|
||||
local M__Tests_Syntax_FunctionsClosuresAndTuples = __MODULE__.Import("Tests.Syntax.FunctionsClosuresAndTuples", __module)
|
||||
local RunFunctionsClosuresAndTuplesTests = M__Tests_Syntax_FunctionsClosuresAndTuples.RunFunctionsClosuresAndTuplesTests
|
||||
local M__Tests_Syntax_PureClassesAndGenerics = __MODULE__.Import("Tests.Syntax.PureClassesAndGenerics", __module)
|
||||
local RunPureClassesAndGenericsTests = M__Tests_Syntax_PureClassesAndGenerics.RunPureClassesAndGenericsTests
|
||||
local M__Tests_Gameplay_GameplaySuite = __MODULE__.Import("Tests.Gameplay.GameplaySuite", __module)
|
||||
local RunGameplayTests = M__Tests_Gameplay_GameplaySuite.RunGameplayTests
|
||||
local M__Tests_Extra_Lua54PitfallsTest = __MODULE__.Import("Tests.Extra.Lua54PitfallsTest", __module)
|
||||
local RunLua54PitfallsTests = M__Tests_Extra_Lua54PitfallsTest.RunLua54PitfallsTests
|
||||
local EventBus = __MODULE__.Import("Framework.EventBus", __module)
|
||||
local HotReload = __MODULE__.Import("Framework.HotReload", __module)
|
||||
local M__Tests_UnLuaExamples_Ex06_NativeContainers = __MODULE__.Import("Tests.UnLuaExamples.Ex06_NativeContainers", __module)
|
||||
local VerifyTArrayOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTArrayOperations
|
||||
local VerifyTMapOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTMapOperations
|
||||
local VerifyTSetOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTSetOperations
|
||||
local UnLuaBaseActorClass = require("Tests.Syntax.UnLuaBaseActor")
|
||||
local function TickUEWorld(steps, deltaSeconds)
|
||||
local tickFn = _G.__UE_TEST_TICK
|
||||
@@ -325,7 +325,7 @@ function ____exports.RunUERuntimeSuite(world)
|
||||
end
|
||||
)
|
||||
Test(
|
||||
"Real UE ALuaDemoActor (IUnLuaInterface static binding) + EventBus + Tick + EndPlay",
|
||||
"Real UE ALuaDemoActor (C++ callback -> pure TS Game.LuaDemoActor) + EventBus + Tick + EndPlay",
|
||||
function()
|
||||
local demoActor = world:SpawnActor(
|
||||
UE.ALuaDemoActor.StaticClass(),
|
||||
@@ -339,7 +339,7 @@ function ____exports.RunUERuntimeSuite(world)
|
||||
AssertNotNil(demoActor)
|
||||
AssertTrue(demoActor:IsA(UE.ALuaDemoActor.StaticClass()))
|
||||
local initText = demoActor:GetStatusTextString()
|
||||
AssertTrue((string.find(initText, "UnLua Active", 1, true)) ~= nil)
|
||||
AssertTrue((string.find(initText, "Pure-TS Actor", 1, true)) ~= nil, "initText: " .. initText)
|
||||
AssertTrue((string.find(initText, "Pings: 0", 1, true)) ~= nil)
|
||||
if canTickWorld then
|
||||
TickUEWorld(5, 0.05)
|
||||
@@ -443,6 +443,72 @@ function ____exports.RunUERuntimeSuite(world)
|
||||
AssertTrue(ok)
|
||||
end
|
||||
)
|
||||
Test(
|
||||
"Real UE single-file __MODULE__.Reimport hot-reloads Game.LuaDemoActor spin speed and color live",
|
||||
function()
|
||||
local demoActor = world:SpawnActor(
|
||||
UE.ALuaDemoActor.StaticClass(),
|
||||
UE.FTransform(
|
||||
UE.FRotator(0, 0, 0):ToQuat(),
|
||||
UE.FVector(0, 0, 200),
|
||||
UE.FVector(1, 1, 1)
|
||||
),
|
||||
UE.ESpawnActorCollisionHandlingMethod.AlwaysSpawn
|
||||
)
|
||||
AssertNotNil(demoActor)
|
||||
local beforeText = demoActor:GetStatusTextString()
|
||||
AssertTrue((string.find(beforeText, "v1", 1, true)) ~= nil)
|
||||
AssertTrue((string.find(beforeText, "Speed: 60", 1, true)) ~= nil)
|
||||
AssertTrue((string.find(beforeText, "Color: Cyan", 1, true)) ~= nil)
|
||||
local actorMod = __MODULE__.Import("Game.LuaDemoActor")
|
||||
local activeBefore = actorMod:GetActiveControllerCount()
|
||||
AssertTrue(activeBefore >= 1)
|
||||
local defaultDir = UE.ULuaHotUpdateSubsystem.GetDefaultScriptDir()
|
||||
local overrideDir = UE.ULuaHotUpdateSubsystem.GetHotUpdateScriptDir()
|
||||
local srcPath = defaultDir .. "/Game/LuaDemoActor.lua"
|
||||
local dstGameDir = overrideDir .. "/Game"
|
||||
local dstPath = dstGameDir .. "/LuaDemoActor.lua"
|
||||
local srcFile = (io.open(srcPath, "rb"))
|
||||
AssertNotNil(srcFile)
|
||||
local origLua = srcFile:read("a")
|
||||
srcFile:close()
|
||||
local patchedLua = string.gsub(origLua, "\"v1\"", "\"v2-HOTFIX\"")
|
||||
patchedLua = string.gsub(patchedLua, "ACTOR_SPIN_SPEED = 60", "ACTOR_SPIN_SPEED = 240")
|
||||
patchedLua = string.gsub(patchedLua, "\"Cyan\"", "\"Crimson\"")
|
||||
patchedLua = string.gsub(patchedLua, "R = 0%.08", "R = 0.95")
|
||||
patchedLua = string.gsub(patchedLua, "G = 0%.78", "G = 0.12")
|
||||
patchedLua = string.gsub(patchedLua, "B = 0%.95", "B = 0.18")
|
||||
os.execute(string.format("mkdir -p \"%s\"", dstGameDir))
|
||||
local dstFile = (io.open(dstPath, "wb"))
|
||||
AssertNotNil(dstFile)
|
||||
dstFile:write(patchedLua)
|
||||
dstFile:close()
|
||||
local okReload, errReload = HotReload.ReloadModule("Game.LuaDemoActor")
|
||||
os.remove(dstPath)
|
||||
AssertTrue(
|
||||
okReload,
|
||||
tostring(errReload)
|
||||
)
|
||||
AssertEqual(actorMod.DEMO_VERSION, "v2-HOTFIX")
|
||||
AssertEqual(actorMod.ACTOR_SPIN_SPEED, 240)
|
||||
AssertEqual(
|
||||
actorMod:GetActiveControllerCount(),
|
||||
activeBefore
|
||||
)
|
||||
local newColor = demoActor:GetCubeColor()
|
||||
AssertNear(newColor.R, 0.95, 0.01)
|
||||
AssertNear(newColor.G, 0.12, 0.01)
|
||||
local afterText = demoActor:GetStatusTextString()
|
||||
AssertTrue((string.find(afterText, "v2-HOTFIX", 1, true)) ~= nil, "afterText: " .. afterText)
|
||||
AssertTrue((string.find(afterText, "Speed: 240", 1, true)) ~= nil, "afterText: " .. afterText)
|
||||
AssertTrue((string.find(afterText, "Color: Crimson", 1, true)) ~= nil, "afterText: " .. afterText)
|
||||
local okRestore = HotReload.ReloadModule("Game.LuaDemoActor")
|
||||
AssertTrue(okRestore)
|
||||
AssertEqual(actorMod.DEMO_VERSION, "v1")
|
||||
AssertEqual(actorMod.ACTOR_SPIN_SPEED, 60)
|
||||
demoActor:K2_DestroyActor()
|
||||
end
|
||||
)
|
||||
end
|
||||
)
|
||||
end
|
||||
@@ -461,4 +527,24 @@ function ____exports.RunAllInUE(world)
|
||||
end
|
||||
return PrintReport()
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Reset = M__Tests_Harness_TestRunner.Reset
|
||||
PrintReport = M__Tests_Harness_TestRunner.PrintReport
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
AssertNotNil = M__Tests_Harness_TestRunner.AssertNotNil
|
||||
AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
RunBasicTypesAndControlFlowTests = M__Tests_Syntax_BasicTypesAndControlFlow.RunBasicTypesAndControlFlowTests
|
||||
RunFunctionsClosuresAndTuplesTests = M__Tests_Syntax_FunctionsClosuresAndTuples.RunFunctionsClosuresAndTuplesTests
|
||||
RunPureClassesAndGenericsTests = M__Tests_Syntax_PureClassesAndGenerics.RunPureClassesAndGenericsTests
|
||||
RunGameplayTests = M__Tests_Gameplay_GameplaySuite.RunGameplayTests
|
||||
RunLua54PitfallsTests = M__Tests_Extra_Lua54PitfallsTest.RunLua54PitfallsTests
|
||||
VerifyTArrayOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTArrayOperations
|
||||
VerifyTMapOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTMapOperations
|
||||
VerifyTSetOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTSetOperations
|
||||
end
|
||||
@@ -1,10 +1,10 @@
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertFalse = ____TestRunner.AssertFalse
|
||||
local AssertNil = ____TestRunner.AssertNil
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
local AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
--- 参考 UnLua 官方示例 06_NativeContainers:
|
||||
-- 演示 UE.TArray / UE.TMap / UE.TSet 的构造(使用 UE.int32 / UE.FString Token)、
|
||||
-- 1-based 索引访问、CRUD、ToTable 与原生 pairs() 遍历。
|
||||
@@ -198,4 +198,10 @@ function ____exports.VerifyTSetOperations()
|
||||
0
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
AssertNil = M__Tests_Harness_TestRunner.AssertNil
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
end
|
||||
@@ -1,24 +1,24 @@
|
||||
local ____exports = {}
|
||||
local ____TestRunner = require("Tests.Harness.TestRunner")
|
||||
local Suite = ____TestRunner.Suite
|
||||
local Test = ____TestRunner.Test
|
||||
local AssertEqual = ____TestRunner.AssertEqual
|
||||
local AssertNear = ____TestRunner.AssertNear
|
||||
local AssertTrue = ____TestRunner.AssertTrue
|
||||
local AssertFalse = ____TestRunner.AssertFalse
|
||||
local AssertNotNil = ____TestRunner.AssertNotNil
|
||||
local AssertArrayEqual = ____TestRunner.AssertArrayEqual
|
||||
local ____MockUnLuaRuntime = require("Tests.Harness.MockUnLuaRuntime")
|
||||
local AdvanceMockTime = ____MockUnLuaRuntime.AdvanceMockTime
|
||||
local CreateBoundInstance = ____MockUnLuaRuntime.CreateBoundInstance
|
||||
local CreateMockMulticastDelegate = ____MockUnLuaRuntime.CreateMockMulticastDelegate
|
||||
local CreateMockScriptDelegate = ____MockUnLuaRuntime.CreateMockScriptDelegate
|
||||
local GetMockState = ____MockUnLuaRuntime.GetMockState
|
||||
local ResetMockState = ____MockUnLuaRuntime.ResetMockState
|
||||
local ____Ex06_NativeContainers = require("Tests.UnLuaExamples.Ex06_NativeContainers")
|
||||
local VerifyTArrayOperations = ____Ex06_NativeContainers.VerifyTArrayOperations
|
||||
local VerifyTMapOperations = ____Ex06_NativeContainers.VerifyTMapOperations
|
||||
local VerifyTSetOperations = ____Ex06_NativeContainers.VerifyTSetOperations
|
||||
local ____exports = __module.env
|
||||
local M__Tests_Harness_TestRunner = __MODULE__.Import("Tests.Harness.TestRunner", __module)
|
||||
local Suite = M__Tests_Harness_TestRunner.Suite
|
||||
local Test = M__Tests_Harness_TestRunner.Test
|
||||
local AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
local AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
local AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
local AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
local AssertNotNil = M__Tests_Harness_TestRunner.AssertNotNil
|
||||
local AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
local M__Tests_Harness_MockUnLuaRuntime = __MODULE__.Import("Tests.Harness.MockUnLuaRuntime", __module)
|
||||
local AdvanceMockTime = M__Tests_Harness_MockUnLuaRuntime.AdvanceMockTime
|
||||
local CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
local CreateMockMulticastDelegate = M__Tests_Harness_MockUnLuaRuntime.CreateMockMulticastDelegate
|
||||
local CreateMockScriptDelegate = M__Tests_Harness_MockUnLuaRuntime.CreateMockScriptDelegate
|
||||
local GetMockState = M__Tests_Harness_MockUnLuaRuntime.GetMockState
|
||||
local ResetMockState = M__Tests_Harness_MockUnLuaRuntime.ResetMockState
|
||||
local M__Tests_UnLuaExamples_Ex06_NativeContainers = __MODULE__.Import("Tests.UnLuaExamples.Ex06_NativeContainers", __module)
|
||||
local VerifyTArrayOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTArrayOperations
|
||||
local VerifyTMapOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTMapOperations
|
||||
local VerifyTSetOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTSetOperations
|
||||
local Ex01_HelloWorld = require("Tests.UnLuaExamples.Ex01_HelloWorld")
|
||||
local Ex02_OverrideBlueprintEvents = require("Tests.UnLuaExamples.Ex02_OverrideBlueprintEvents")
|
||||
local Ex03_BindDelegates = require("Tests.UnLuaExamples.Ex03_BindDelegates")
|
||||
@@ -312,4 +312,22 @@ function ____exports.RunUnLuaExamplesTests()
|
||||
end
|
||||
)
|
||||
end
|
||||
return ____exports
|
||||
function __module.UpdateImports()
|
||||
Suite = M__Tests_Harness_TestRunner.Suite
|
||||
Test = M__Tests_Harness_TestRunner.Test
|
||||
AssertEqual = M__Tests_Harness_TestRunner.AssertEqual
|
||||
AssertNear = M__Tests_Harness_TestRunner.AssertNear
|
||||
AssertTrue = M__Tests_Harness_TestRunner.AssertTrue
|
||||
AssertFalse = M__Tests_Harness_TestRunner.AssertFalse
|
||||
AssertNotNil = M__Tests_Harness_TestRunner.AssertNotNil
|
||||
AssertArrayEqual = M__Tests_Harness_TestRunner.AssertArrayEqual
|
||||
AdvanceMockTime = M__Tests_Harness_MockUnLuaRuntime.AdvanceMockTime
|
||||
CreateBoundInstance = M__Tests_Harness_MockUnLuaRuntime.CreateBoundInstance
|
||||
CreateMockMulticastDelegate = M__Tests_Harness_MockUnLuaRuntime.CreateMockMulticastDelegate
|
||||
CreateMockScriptDelegate = M__Tests_Harness_MockUnLuaRuntime.CreateMockScriptDelegate
|
||||
GetMockState = M__Tests_Harness_MockUnLuaRuntime.GetMockState
|
||||
ResetMockState = M__Tests_Harness_MockUnLuaRuntime.ResetMockState
|
||||
VerifyTArrayOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTArrayOperations
|
||||
VerifyTMapOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTMapOperations
|
||||
VerifyTSetOperations = M__Tests_UnLuaExamples_Ex06_NativeContainers.VerifyTSetOperations
|
||||
end
|
||||
Reference in new issue
Block a user