-
Notifications
You must be signed in to change notification settings - Fork 0
/
jwlua_internaltests.lua
37 lines (31 loc) · 1.39 KB
/
jwlua_internaltests.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
function plugindef()
-- This function and the 'finaleplugin' namespace
-- are both reserved for the plug-in definition.
finaleplugin.NoStore = true
finaleplugin.ExecuteExternalCode = true
finaleplugin.ExecuteHttpsCalls = true
return "Finale Lua Internal Tests", "Internal Tests", "Test internal Lua features."
end
if finenv.IsRGPLua and not finenv.ConsoleIsAvailable then -- if new lua
require('mobdebug').start()
end
-- Load the toolkit functions needed for the tests:
require("tools/jwluatesttools")
-- Validate the current file prior to the test:
-- Load and execute the unit tests for the classes:
require("internaltests/jwluatest_internal_bit32")
require("internaltests/jwluatest_internal_cjson")
require("internaltests/jwluatest_internal_clib")
require("internaltests/jwluatest_internal_conversion")
require("internaltests/jwluatest_internal_coroutine")
require("internaltests/jwluatest_internal_execute")
require("internaltests/jwluatest_internal_math")
require("internaltests/jwluatest_internal_misc")
require("internaltests/jwluatest_internal_tinyxml2")
require("internaltests/jwluatest_internal_utf8")
require("internaltests/jwluatest_internal_utils_crypto")
require("internaltests/jwluatest_internal_utils_internet")
require("internaltests/jwluatest_internal_utils_process")
require("internaltests/jwluatest_internal_utils_text")
-- Output the results from the tests:
PrintTestResult()