Commit Graph

40 Commits

Author SHA1 Message Date
Steffen Mecke 69a51c4b2c add message if implicit leave of building owner fails (see bug #1870) 2012-07-26 10:44:39 +02:00
Steffen Mecke f286c51862 test effect of mine (hunting bug #1926)
test that laen is processed correctly
2012-07-26 10:44:16 +02:00
Steffen Mecke b02f275582 fixed bug #1879: CAST should not prevent FOLLOW UNIT 2012-07-26 10:43:10 +02:00
Enno Rehling 5abfaad528 fixing intermittent tests 2012-07-09 08:27:41 +02:00
Enno Rehling cb56a820b5 fix gcc compilation
fix broken test for duplicate orders
2012-07-09 01:25:39 +02:00
Enno Rehling 3cee3d1415 lua 5.2 compat changes 2012-07-01 19:28:28 +02:00
Enno Rehling e579210fec kill the eventbus, it was never used 2012-06-17 18:52:51 -07:00
Enno Rehling dafb2fc2ab adding a lot of test coverage
extending the binding generation to more processing functions
2012-06-07 09:47:02 -07:00
Enno Rehling 8b3d735e8c Begin of massive changes to the Lua API.
Everything will live in a single eressea module now, and the global
namespace will no longer be polluted by all kinds of modules and
functions.
Also new: Bindings will be generated by tolua from .pkg files,
starting with settings, eressea (read/write/free_game) and process in
this commit.
2012-06-06 19:29:36 -07:00
Enno Rehling 8327db65b8 I have a slightly broken version of tolua installed which doesn't compare
user types. Working around that bug by comparing integers instead. Sigh.
2012-06-09 09:18:17 +02:00
Steffen Mecke 9d58f65404 fixed bug #1875: demons use their own peasantblood before other unit's 2012-06-09 00:13:13 +02:00
Gerd Wellenreuther 74ddb1f881 Bugfix 1922 entering of RF_BLOCKED regions with ships 2012-06-07 21:06:14 +02:00
Enno Rehling 2bf3c840ae beware: new directory layout, new server 2012-06-05 07:36:05 -07:00
Enno Rehling a6785c6b7b have the bson-attrib tests all in one place so we can choose not to use them 2012-06-05 05:14:24 +02:00
Enno Rehling 071f67ea7c use the reportpath from the config file, do not build your own 2012-05-25 18:50:14 -07:00
Enno Rehling 3fa4a31d14 trying to figure out why some run_tests tests are not working 2012-05-20 03:21:38 +02:00
Enno Rehling ec9e7bf833 new lighthouse behavior as described in http://bugs.eressea.de/view.php?id=1847 2011-04-24 12:19:34 -07:00
Enno Rehling ff51fe6493 added meropis buildings
also fixed a bug that prevented tests with ATTACKs to be executed properly (NewbieImmunity)
2011-03-09 14:49:43 +01:00
Enno Rehling e01c6bb8b1 make merge request sing with Eressea
added a missing file (move_test.c)
changing the way tests are included
making some lua code prettier (too many parens)
2011-03-08 21:06:38 -08:00
Enno Rehling 8714957a61 fixed two bugs: harbours were not unique and multiple instances of unique buildings could still be built 2011-03-09 00:28:37 +01:00
Enno Rehling 1be42e9d50 Make all tests for Eressea pass again, using the config module. 2011-03-06 21:49:01 -08:00
Enno Rehling 8c42643528 added Atlantis ship types 2011-03-06 12:43:18 +01:00
Enno Rehling b0f1445d68 removed all unused items 2011-03-04 20:44:30 +01:00
Enno Rehling 2e547d6ae8 put spoils code into the open source parts of the code.
reduce number of races in Meropis
2011-02-27 00:36:38 -08:00
Enno Rehling 59f3ebef68 fix some tests 2011-02-27 08:51:17 +01:00
Enno Rehling c810b72845 Some test requires that a cart exists.
Meropis gets its own list of items.
2011-02-26 22:57:42 -08:00
Enno Rehling d033e7156c Simple tests for persistent attributes and a fix. 2011-02-19 06:13:24 -08:00
Enno Rehling b07f40c02e test the bson functionality, and provide examples for using it 2011-02-06 08:41:14 +01:00
Enno Rehling d3a7d22253 http://bugs.eressea.de/view.php?id=1679
Applying a patch provided by Solthar: Server will give error when unit is given more than one long order.
I just added a test to this.
2010-11-11 20:11:19 -08:00
Enno Rehling e7ce28a258 http://bugs.eressea.de/view.php?id=1814
fix a quoting bug in the order parser,
add a very basic test to make sure order parsing works.
2010-11-05 22:54:29 -07:00
Enno Rehling 12828f0edd for planes that have no name, do not print a comma after the coordinates (this has irritated me in E3).
also: add tests for this, and add a way to assert on content in reports.
2010-11-05 21:21:49 -07:00
Enno Rehling 0472c35647 * clean up the test setup
* test horses, carts and their capacities
2010-10-31 23:31:56 -07:00
Enno Rehling c5418fc28b E3 does not have a boat, so tests needs to create a canoe sometimes 2010-10-31 19:46:08 -07:00
Enno Rehling 101ff092d5 new test: verify that units swim after terraforming, and can get picked up by boats in the turn thereafter. 2010-10-31 19:34:55 -07:00
Enno Rehling f1f46782f7 * fix some rules to not use static variables across multiple runs
* add tests for upkeep
* add a config setting to disable upkeep in tests
* add a config setting to disable random factor in studying
2010-10-08 23:39:16 -07:00
Enno Rehling 1f489bafee broken test of magic skill cost (magician must not be human in e3) 2010-08-28 13:41:02 -07:00
Enno Rehling 592d0c377b Add a test that verifies learning magic costs money. 2010-08-16 23:55:53 -07:00
Enno Rehling a5e712580f undo more CRLF screwups. 2010-08-08 01:14:01 -07:00
Enno Rehling 14b3ed309f use external folder for all libraries (VS2010)
new repository structure
2010-08-07 23:05:54 -07:00
Enno Rehling 72505ab8f3 moving to a new repository layout.
step 1: shared folder.
2010-08-07 22:07:17 -07:00