aboutsummaryrefslogtreecommitdiff
path: root/po/lt/minetest.po
diff options
context:
space:
mode:
authorPierre-Yves Rollo <dev@pyrollo.com>2020-08-30 15:34:28 +0200
committerGitHub <noreply@github.com>2020-08-30 15:34:28 +0200
commitd3d218940bfbe7b0ac8edb280c7487b0a65c736e (patch)
tree806cd9a5ddc83da29a8f0655f77b5430522297a9 /po/lt/minetest.po
parentc18dbadcb898db6d1f68b72afec56c599af317ec (diff)
downloadminetest-d3d218940bfbe7b0ac8edb280c7487b0a65c736e.tar.gz
minetest-d3d218940bfbe7b0ac8edb280c7487b0a65c736e.tar.bz2
minetest-d3d218940bfbe7b0ac8edb280c7487b0a65c736e.zip
Fix #10349 game crashing if dropped an item with undefined light_source (#10351)
Diffstat (limited to 'po/lt/minetest.po')
0 files changed, 0 insertions, 0 deletions
id='n116' href='#n116'>116 117 118 119 120 121 122 123 124 125 126 127 128 129
/*
Minetest
Copyright (C) 2016 sfan5 <sfan5@live.de>

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 <string>
#include "exceptions.h"
#include "client/keycode.h"

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

	void runTests(IGameDef *gamedef);

	void testCreateFromString();
	void testCreateFromSKeyInput();
	void testCompare();
};

static TestKeycode g_test_instance;

void TestKeycode::runTests(IGameDef *gamedef)
{
	TEST(testCreateFromString);
	TEST(testCreateFromSKeyInput);
	TEST(testCompare);
}

////////////////////////////////////////////////////////////////////////////////