aboutsummaryrefslogtreecommitdiff
path: root/textures/track_swr_cr.png
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2016-06-09 21:39:59 +0200
committerorwell96 <mono96.mml@gmail.com>2016-06-09 21:39:59 +0200
commit14a71703321cd9d817275cb976fba10a0d6b4386 (patch)
treeb2aaebf407b23ff5507401b446061bfd399e9ae8 /textures/track_swr_cr.png
parent40f3f2eb5d7ff873c613e06c145a4811e9465bf0 (diff)
downloadadvtrains-14a71703321cd9d817275cb976fba10a0d6b4386.tar.gz
advtrains-14a71703321cd9d817275cb976fba10a0d6b4386.tar.bz2
advtrains-14a71703321cd9d817275cb976fba10a0d6b4386.zip
add new textures
Diffstat (limited to 'textures/track_swr_cr.png')
-rw-r--r--textures/track_swr_cr.pngbin1897 -> 0 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/textures/track_swr_cr.png b/textures/track_swr_cr.png
deleted file mode 100644
index 92a09bd..0000000
--- a/textures/track_swr_cr.png
+++ /dev/null
Binary files differ
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 <server.h> #include "test.h" #include "util/string.h" #include "util/serialize.h" class FakeServer : public Server { public: FakeServer() : Server("fakeworld", SubgameSpec("fakespec", "fakespec"), true, Address(), true, nullptr) { } private: void SendChatMessage(session_t peer_id, const ChatMessage &message) { // NOOP } }; class TestServerShutdownState : public TestBase { public: TestServerShutdownState() { TestManager::registerTestModule(this); } const char *getName() { return "TestServerShutdownState"; } void runTests(IGameDef *gamedef); void testInit(); void testReset(); void testTrigger(); void testTick(); }; static TestServerShutdownState g_test_instance; void TestServerShutdownState::runTests(IGameDef *gamedef) { TEST(testInit); TEST(testReset); TEST(testTrigger); TEST(testTick); } void TestServerShutdownState::testInit() { Server::ShutdownState ss; UASSERT(!ss.is_requested); UASSERT(!ss.should_reconnect); UASSERT(ss.message.empty()); UASSERT(ss.m_timer == 0.0f); } void TestServerShutdownState::testReset() { Server::ShutdownState ss; ss.reset(); UASSERT(!ss.is_requested); UASSERT(!ss.should_reconnect); UASSERT(ss.message.empty()); UASSERT(ss.m_timer == 0.0f); } void TestServerShutdownState::testTrigger() { Server::ShutdownState ss; ss.trigger(3.0f, "testtrigger", true); UASSERT(!ss.is_requested); UASSERT(ss.should_reconnect); UASSERT(ss.message == "testtrigger"); UASSERT(ss.m_timer == 3.0f); } void TestServerShutdownState::testTick() { auto fakeServer = std::make_unique<FakeServer>(); Server::ShutdownState ss;