aboutsummaryrefslogtreecommitdiff
path: root/games/minimal/mods/default/textures/default_grass_footsteps.png
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2015-02-19 09:38:01 +0100
committerLoic Blot <loic.blot@unix-experience.fr>2015-02-21 11:04:19 +0100
commitb3aeba684b4e27e9fdf2c07949750bb567e40d6b (patch)
tree73a97bc7d155174523cac1999274348c5e3d1b30 /games/minimal/mods/default/textures/default_grass_footsteps.png
parent38e62805527b774e478617d9781bde72ce2bdcb9 (minetest-b3aeba684b4e27e9fdf2c07949750bb567e40d6b.tar.gz
minetest-b3aeba684b4e27e9fdf2c07949750bb567e40d6b.tar.bz2
minetest-b3aeba684b4e27e9fdf2c07949750bb567e40d6b.zip
Unit tests must be done at integration process.
* Remove --enable-unittests and --disable-unittests and add --do-unittests function * --do-unittests function will exit 0 on success. * minetest and minetestserver binaries are launched with --do-unittests in travis build.
Diffstat (limited to 'games/minimal/mods/default/textures/default_grass_footsteps.png')
0 files changed, 0 insertions, 0 deletions
pan class="hl kwa">end end, handle_buttons = function(self,fields) if not self.hidden then return self.buttonhandler(self,fields) end end, handle_events = function(self,event) if not self.hidden then return self.eventhandler(self,event) end end, hide = function(self) self.hidden = true end, show = function(self) self.hidden = false end, delete = function(self) if self.parent ~= nil then self.parent:show() end ui.delete(self) end, set_parent = function(self,parent) self.parent = parent end } dialog_metatable.__index = dialog_metatable function dialog_create(name,get_formspec,buttonhandler,eventhandler) local self = {} self.name = name self.type = "toplevel" self.hidden = true self.data = {} self.formspec = get_formspec self.buttonhandler = buttonhandler self.user_eventhandler = eventhandler setmetatable(self,dialog_metatable) ui.add(self) return self end