Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
magic-lantern
magic-lantern
Commits
0fbf95c72b55
Commit
53d6b939
authored
Jun 18, 2016
by
alex@thinkpad
Browse files
api_test.lua: converted to simple script, so it runs right away
--HG-- branch : lua_fix
parent
ffe8d0f4aae9
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/api_test.lua
View file @
0fbf95c7
-- Script API Tests
-- Test routines for the scripting API
-- Test routines for the scripting API
-- Very incomplete
-- When adding new Lua APIs, tests for them should go here.
require
(
"logger"
)
require
(
"logger"
)
-- global logger
-- global logger
...
@@ -713,11 +715,4 @@ function api_tests()
...
@@ -713,11 +715,4 @@ function api_tests()
console
.
hide
()
console
.
hide
()
end
end
testmenu
=
menu
.
new
api_tests
()
{
name
=
"Script API tests"
,
help
=
"Various tests for the Lua scripting API."
,
help2
=
"When adding new Lua APIs, tests for them should go here."
,
select
=
function
(
this
)
task
.
create
(
api_tests
)
end
,
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment