Enno Rehling
|
9e2e7bfe97
|
test giving silver from the pool
|
2014-07-06 01:13:09 -07:00 |
Enno Rehling
|
4a8707b06d
|
fix a fall-through in jsonconf causing an error message.
add tests for pool, not working because of missing GIVEITEM on
JSON-configured races (TBD).
|
2014-07-05 18:21:20 -07:00 |
Enno Rehling
|
8fc137d780
|
Expose the "working" flag for buildings to Lua.
Test working vs. unpaid harbour landigns with a ship.
|
2014-07-04 22:12:12 -07:00 |
Enno Rehling
|
b5439a1279
|
fix line/column calculation for JSON Errors.
+ start building a test for http://bugs.eressea.de/view.php?id=1692
|
2014-07-02 21:17:31 -07:00 |
Enno Rehling
|
927ada92b6
|
improve construction data in JSON.
test castle naming function
|
2014-06-30 19:21:42 -07:00 |
Enno Rehling
|
28d2984bc8
|
disable castle tests, they aren't good yet
|
2014-06-29 13:29:12 -07:00 |
Enno Rehling
|
0187567010
|
disable castle tests
|
2014-06-28 16:58:56 -07:00 |
Enno Rehling
|
a48cca5db8
|
building naming function configured from JSON (this needs work).
started writing tests for castles.
|
2014-06-28 16:55:28 -07:00 |
Enno Rehling
|
9b01b71a19
|
config returns a value, so we can assert corrrect JSON syntax
|
2014-06-27 07:36:18 -07:00 |
Enno Rehling
|
7012740172
|
testing rules for riding
|
2014-06-26 23:41:07 -07:00 |
Enno Rehling
|
5e835618f3
|
fix weight calculation, uninitialized value
|
2014-06-26 21:02:03 -07:00 |
Enno Rehling
|
dba51bf0f7
|
remove duplicate handling of "speed" attribute in JSON
add weight and capacity in this test (still broken)
|
2014-06-26 19:11:34 -07:00 |
Enno Rehling
|
d0e2ad542a
|
tests for basic movement
|
2014-06-25 14:30:24 -07:00 |
Enno Rehling
|
2c831230a0
|
Added a test for expensive skills.
When resetting the game rules, make sure basic resources (money, hp, person) are initialized.
|
2014-06-22 07:55:14 -07:00 |
Enno Rehling
|
762f1e467b
|
integration test for STUDY.
|
2014-06-21 09:17:10 -07:00 |
Enno Rehling
|
3625ba6a95
|
remove static variables optimizations, they create global state that is bad for testing
|
2014-06-17 23:10:55 -07:00 |
Enno Rehling
|
59b0f0f582
|
testing coasts, and that ships will only sail into terrains that's allowed.
|
2014-06-17 22:06:54 -07:00 |
Enno Rehling
|
b6b790d7e7
|
add a config.reset function to clear configuration state before tests.
|
2014-06-17 08:46:22 -07:00 |
Enno Rehling
|
33928568cf
|
finally have all the scaffolding to write a test with ships.
configure terrain flags from json.
ships are always allowed to enter SEA regions.
|
2014-06-16 22:19:19 -07:00 |
Enno Rehling
|
64e0c221ec
|
directions can now be read from json configuration.
rename a couple of functions for more consistency across modules.
|
2014-06-15 22:17:08 -07:00 |
Enno Rehling
|
812cb98dff
|
begin binding locales (need to init_locales in the right place, still).
fix indentation in some places.
add some assertions.
|
2014-06-14 07:52:32 -07:00 |
Enno Rehling
|
2033aabf60
|
new test suite, moving to new directory.
|
2014-06-13 17:35:43 -07:00 |