Enno Rehling
|
c85e489f4f
|
Merge branch 'monster_leftovers' of https://github.com/stm2/server into stm2-monster_leftovers
Conflicts:
src/kernel/unit.c
src/laws.test.c
src/monsters.c
|
2015-11-25 14:25:42 +01:00 |
Enno Rehling
|
fe173e9551
|
refactor: make sure global.paramteres is used only inside config.c
|
2015-11-22 12:24:27 +01:00 |
Steffen Mecke
|
a366cd4b17
|
tests for plan_monster
|
2015-11-17 12:12:06 +01:00 |
Enno Rehling
|
ea8721367a
|
test and fix shock trigger.
https://bugs.eressea.de/view.php?id=2154
|
2015-11-09 19:43:51 +01:00 |
Enno Rehling
|
318820fb00
|
eliminate use of test_create_world
|
2015-11-07 23:49:45 +01:00 |
Philipp Dreher
|
29173887b6
|
test_create_castorder can take spelllparameters now too
|
2015-11-02 17:09:16 +01:00 |
Philipp Dreher
|
0e8365c802
|
moved convenience function for convenience
the formerly static function test_create_castorder is now available for
general usage via tests.h/.c
|
2015-11-02 16:12:56 +01:00 |
Enno Rehling
|
d4655ee88a
|
leak: do not create new message_type objects in test_cleanup
|
2015-10-15 08:29:20 +02:00 |
Enno Rehling
|
e6f2864327
|
leak: duplicate assignment to building_type.name in tests
|
2015-10-14 14:10:35 +02:00 |
Enno Rehling
|
2abdba9e8a
|
refactor free_messagelist, fix leak in test_merge_split
|
2015-10-14 14:08:50 +02:00 |
Enno Rehling
|
8e9e9c9c0f
|
eliminate leak from duplicate call to test_create_buildingtype
|
2015-10-14 12:21:13 +02:00 |
Enno Rehling
|
a3210aaed7
|
leak: free per-locale cached order data (has additional refcount)
|
2015-10-13 23:25:44 +02:00 |
Enno Rehling
|
6de604701d
|
add some test coverage for name_cmd (not covering all error cases yet)
|
2015-10-13 13:56:58 +02:00 |
Enno Rehling
|
7e2364c296
|
test for actual piracy ship movement
refactor storm check, run less code when disabled
fix ship creation in tests
|
2015-10-12 19:40:20 +02:00 |
Enno Rehling
|
dcf6c28b0e
|
testing all the error cases for PIRACY
|
2015-10-12 13:27:39 +02:00 |
Enno Rehling
|
936c201d0b
|
Merge pull request #312 from eressea/master
pull latest changes from master into develop
|
2015-10-11 16:47:29 +02:00 |
Enno Rehling
|
403b8a2e7e
|
add mail_cmd tests for REGION
|
2015-10-11 12:44:22 +02:00 |
Enno Rehling
|
1e75255d51
|
allow disabling skills through json
|
2015-09-12 17:43:31 +02:00 |
Enno Rehling
|
44eb3a4f58
|
disable keywords through JSON configuration
|
2015-09-12 17:06:55 +02:00 |
Enno Rehling
|
f0e255924f
|
add a unit test for add/free prefixes. fix bad free_prefixes call site.
|
2015-09-12 12:41:04 +02:00 |
Enno Rehling
|
8562a6d072
|
add test suite for seen_region logic (empty)
|
2015-09-08 10:07:29 +02:00 |
Enno Rehling
|
2e3c0db02a
|
add a failing test for bug 1685
|
2015-09-05 18:14:28 +02:00 |
Enno Rehling
|
1f4c8d5858
|
fix linux build, missing include
|
2015-08-18 17:28:07 +02:00 |
Enno Rehling
|
5bc4f7f144
|
add some simple tests for writing travelthru information to the report, fix test that sets errno as a side effect (thanks, Microsoft!)
|
2015-08-18 17:08:02 +02:00 |
Enno Rehling
|
7e64f3177d
|
refactoring: rewrite tests to use test_find_messagetype instead of assert_messages.
tests: add cleanup of message_types to reduce global state.
|
2015-08-17 19:36:28 +02:00 |
Enno Rehling
|
47dccc667b
|
Add a message that contains the password in the first report, so Magellan can pick it up.
Fix a bad type conversion when setting skills.
|
2015-08-15 20:25:36 +02:00 |
Enno Rehling
|
8636aabe8a
|
tests for existing shipspeed features, failing ship for ship-damage.
|
2015-08-07 11:50:49 +02:00 |
Enno Rehling
|
27835dc4e1
|
unit tests for STUDY and TEACH commands.
|
2015-07-09 13:24:21 +02:00 |
Enno Rehling
|
f06e3371a0
|
Bug 2089 again. rename giveitem flag to keepitem, because races should default to not holding on to their stuff.
|
2015-04-19 12:49:39 +02:00 |
Enno Rehling
|
ae9fb399f3
|
unit tests walkingcapacity, configurable trollbelt effect
|
2015-04-14 02:32:01 +02:00 |
Steffen Mecke
|
d6500f7e4f
|
fix bug in tests introduced by previous merge
|
2015-02-09 10:57:03 +01:00 |
Enno Rehling
|
e85c1778eb
|
Merge pull request #136 from badgerman/hotfix-3.4.2
Fix broken syntax in message about effects on units.
|
2015-02-08 13:44:17 +01:00 |
Enno Rehling
|
30f5fbd4ca
|
work around gcc being nervous when static functions are unused.
|
2015-02-08 13:42:04 +01:00 |
Enno Rehling
|
39806eaef5
|
disable broken test_luck_message for now.
|
2015-02-08 13:37:44 +01:00 |
Enno Rehling
|
d7804b3556
|
Merge branch 'hotfix-3.4.1' of https://github.com/badgerman/eressea into badgerman-hotfix-3.4.1
Conflicts:
src/buildno.h
src/tests.c
|
2015-02-08 10:50:31 +01:00 |
Enno Rehling
|
f9bced467d
|
fix a crash in rename_cmd
|
2015-02-08 10:33:45 +01:00 |
Enno Rehling
|
605711c13a
|
constructor st_get_or_create sets ship_type to default values
xmlreader does not mess with values already set.
|
2015-02-03 17:10:29 +01:00 |
Steffen Mecke
|
d288c74aaf
|
fix stork message (mantis 2027), add tests
|
2015-02-02 21:32:29 +01:00 |
Steffen Mecke
|
5ff0596517
|
fix stork message (mantis 2027), add tests
|
2015-02-01 19:14:06 +01:00 |
Enno Rehling
|
abca25d1d5
|
fix indentation in every file
fix copyright date
remove vi ts=2 code
remove a couple of superfluous extern declarations
|
2015-01-30 20:37:14 +01:00 |
Enno Rehling
|
4f2d9260d1
|
add a message to the unit that gets kicked, with tests
|
2015-01-13 07:43:30 +01:00 |
Enno Rehling
|
698aa5e99a
|
Bug 2059: building owners kick out anyone they don't HELP GUARD.
|
2015-01-13 07:32:23 +01:00 |
Enno Rehling
|
0bd1a8d6f4
|
add a utility function to test for message types.
|
2015-01-12 17:50:10 +01:00 |
Enno Rehling
|
228983202d
|
properly free items at cleanup.
|
2014-12-30 23:49:50 +01:00 |
Enno Rehling
|
a55cb13924
|
make valgrind happy when running tests (cleanup)
|
2014-12-30 02:02:10 +01:00 |
Enno Rehling
|
bd6b9761b0
|
add simple tests for pay_cmd.
|
2014-12-17 20:00:55 +01:00 |
Enno Rehling
|
1af315ebf2
|
move magic out of kernel, into src.
clean up/remove a ton of includes, especially of types.h (include in header if you need it, not in every .c file).
|
2014-11-01 12:57:01 +01:00 |
Enno Rehling
|
ac65d83ba2
|
test that empty factions are removed, but not monsters.
|
2014-10-16 09:03:57 +02:00 |
Enno Rehling
|
440aca34ea
|
test special treatment for spells in remove_empty_units.
|
2014-10-16 08:06:44 +02:00 |
Enno Rehling
|
4527ffdda2
|
refactoring and tests for wormhole module.
|
2014-09-29 23:19:59 +02:00 |