-
Notifications
You must be signed in to change notification settings - Fork 0
/
jwlua_unlinktests.lua
48 lines (42 loc) · 2.05 KB
/
jwlua_unlinktests.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
37
38
39
40
41
42
43
44
45
46
47
function plugindef()
-- This function and the 'finaleplugin' namespace
-- are both reserved for the plug-in definition.
finaleplugin.NoStore = true
return "Finale Lua Unlink Tests", "Unlink Tests", "Test whether Finale Lua classes can be unlinked."
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:
if not CheckForOfficialTestTemplate() then return end
-- Load and execute the unit tests for the classes:
require("unlinktests/jwluatest_unlink_fcarticulation")
require("unlinktests/jwluatest_unlink_fcbackwardrepeat")
require("unlinktests/jwluatest_unlink_fcbaseline")
require("unlinktests/jwluatest_unlink_fcbeammod")
require("unlinktests/jwluatest_unlink_fcbeamextensionmod")
require("unlinktests/jwluatest_unlink_fccellclefchange")
require("unlinktests/jwluatest_unlink_fccellgraphic")
require("unlinktests/jwluatest_unlink_fccelltext")
require("unlinktests/jwluatest_unlink_fcchord")
require("unlinktests/jwluatest_unlink_fcdotmod")
require("unlinktests/jwluatest_unlink_fcendingrepeat")
require("unlinktests/jwluatest_unlink_fcexpression")
require("unlinktests/jwluatest_unlink_fcnoteentry")
require("unlinktests/jwluatest_unlink_fcnoteheadmod")
require("unlinktests/jwluatest_unlink_fcpagegraphic")
require("unlinktests/jwluatest_unlink_fcpagetext")
require("unlinktests/jwluatest_unlink_fcseparatemeasurenumber")
require("unlinktests/jwluatest_unlink_fcseparateplacement")
require("unlinktests/jwluatest_unlink_fcsmartshape")
require("unlinktests/jwluatest_unlink_fcstaffnameposition")
require("unlinktests/jwluatest_unlink_fcstemmod")
require("unlinktests/jwluatest_unlink_fcsyllablebase")
require("unlinktests/jwluatest_unlink_fcsyllableentrymod") -- not currently unlinkable
require("unlinktests/jwluatest_unlink_fctextrepeat")
require("unlinktests/jwluatest_unlink_fctiemod")
require("unlinktests/jwluatest_unlink_fctuplet")
-- Output the results from the tests:
PrintTestResult()