aboutsummaryrefslogtreecommitdiff
path: root/textures/base/pack/unknown_object.png
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-07-03 01:25:26 -0400
committerkwolekr <kwolekr@minetest.net>2013-07-03 01:25:26 -0400
commita225efaec549f9b2b6d6a876b81279868abb18ba (patch)
tree690e2c7f56ce4c73ced3cf3c62fe98c825243ecc /textures/base/pack/unknown_object.png
parentad4c0653449f2d464608dbb75b2798273fd4fe08 (diff)
downloadminetest-a225efaec549f9b2b6d6a876b81279868abb18ba.tar.gz
minetest-a225efaec549f9b2b6d6a876b81279868abb18ba.tar.bz2
minetest-a225efaec549f9b2b6d6a876b81279868abb18ba.zip
Lua main menu: Fix crash on init lua error, mapgen dropdown index, and new worlds not saving index
Diffstat (limited to 'textures/base/pack/unknown_object.png')
0 files changed, 0 insertions, 0 deletions
d='n129' href='#n129'>129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
/*
Minetest
Copyright (C) 2018 nerzhul, Loic Blot <loic.blot@unix-experience.fr>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include "test.h"
#include <algorithm>
#include "server/mods.h"
#include "test_config.h"

class TestServerModManager : public TestBase
{
public:
	TestServerModManager() { TestManager::registerTestModule(this); }
	const char *getName() { return "TestServerModManager"; }

	void runTests(IGameDef *gamedef);

	void testCreation();
	void testIsConsistent();
	void testUnsatisfiedMods();
	void testGetMods();
	void testGetModsWrongDir();
	void testGetModspec();
	void testGetModNamesWrongDir();
	void testGetModNames();