aboutsummaryrefslogtreecommitdiff
path: root/src/client/clientlauncher.cpp
Commit message (Expand)AuthorAge
* For usages of assert() that are meant to persist in Release builds (when NDEB...Craig Robbins2015-03-07
* Fix some rendering glitchesBlockMen2015-03-05
* Re-apply 4a6582c13c36cab457b78f32338c6bb4ab9ea58b broken since 146f77fdb75083...Loic Blot2015-02-14
* main.cpp rework * Move ClientLauncher class to a dedicated file * ClientLaunc...Loic Blot2015-02-12
/span> table.unpack _G.serverlistmgr = {} dofile("builtin/common/misc_helpers.lua") dofile("builtin/mainmenu/serverlistmgr.lua") local base = "builtin/mainmenu/tests/" describe("legacy favorites", function() it("loads well-formed correctly", function() local favs = serverlistmgr.read_legacy_favorites(base .. "favorites_wellformed.txt") local expected = { { address = "127.0.0.1", port = 30000, }, { address = "localhost", port = 30000 }, { address = "vps.rubenwardy.com", port = 30001 }, { address = "gundul.ddnss.de", port = 39155 }, { address = "daconcepts.com", port = 30000, name = "VanessaE's Dreambuilder creative Server", description = "VanessaE's Dreambuilder creative-mode server. Lots of mods, whitelisted buckets." }, } assert.same(expected, favs) end) end)