Enno Rehling
|
7f03417c37
|
bug 2286: fix missing addresses.
was using cansee_unit wrong, mixed up traveler (ut) and target (u).
|
2017-03-01 21:10:50 +01:00 |
|
Enno Rehling
|
98447668ca
|
fix bad tests, upgrade clibs.
|
2017-03-01 20:37:49 +01:00 |
|
Enno Rehling
|
83a862d557
|
add a failing test for bug 2286
|
2017-03-01 19:54:52 +01:00 |
|
Enno Rehling
|
e0085eac0c
|
write a test for get_addresses before modifying it.
|
2017-03-01 19:52:23 +01:00 |
|
Enno Rehling
|
98be6bb8ae
|
eliminate duplicate password message
|
2017-01-26 18:06:48 +01:00 |
|
Enno Rehling
|
48ae12b629
|
emit a password message for newbie factions
|
2017-01-26 18:06:16 +01:00 |
|
Enno Rehling
|
a4badc0a75
|
remove quicklist shim, use selist everywhere
|
2017-01-26 17:41:21 +01:00 |
|
Enno Rehling
|
e52cf75c59
|
remove autoconf.h from platform.h, fix lots of includes
|
2016-11-25 20:15:11 +01:00 |
|
Enno Rehling
|
fb470b7af1
|
re-organize lighthouse reporting.
|
2016-10-05 20:36:01 +02:00 |
|
Enno Rehling
|
69b420ae2f
|
separate interval generation from seen-markup a bit more.
|
2016-09-20 15:53:55 +02:00 |
|
Enno Rehling
|
ec9d8eab1c
|
fix marking seen_neighbour regions.
fix reports-tests that didn't think about them.
|
2016-09-18 13:27:25 +02:00 |
|
Enno Rehling
|
63a97d6bc0
|
check that regions are flagged with seen_neighbour where needed.
|
2016-09-18 13:13:07 +02:00 |
|
Enno Rehling
|
b41f041d52
|
Merge branch 'develop' into kill-seen-region
Conflicts:
src/reports.c
src/reports.test.c
|
2016-09-17 15:56:32 +02:00 |
|
Enno Rehling
|
c4dbb69681
|
previous test was bad and did not actually exercise prepare_lighthouse.
made a slighlty better test, which is failing for the right reasons.
|
2016-09-17 15:29:28 +02:00 |
|
Enno Rehling
|
1ca67a57d2
|
add a new test for lighthouse capacity.
https://bugs.eressea.de/view.php?id=2237
|
2016-09-17 14:54:39 +02:00 |
|
Enno Rehling
|
7349ec0aa9
|
improve lighthouse tests.
you must be inside lighthouse to get a report from it.
|
2016-09-17 13:20:02 +02:00 |
|
Enno Rehling
|
a2125fbb9a
|
managed to reproduce the travelthru bug in a unit test.
travel from other factions inside the [first, last) interval will poison the report.
|
2016-09-16 21:26:17 +02:00 |
|
Enno Rehling
|
a86e30d014
|
re-enable report testing, find out that it fails.
|
2016-09-16 21:17:54 +02:00 |
|
Enno Rehling
|
007f4d8b0d
|
test that travelthru notifications will make it into the report.
|
2016-09-16 17:25:40 +02:00 |
|
Enno Rehling
|
42bfc43e4f
|
test lighthouse preparation
|
2016-09-15 13:01:08 +02:00 |
|
Enno Rehling
|
2b9e5ffff9
|
check seen_neighbour
|
2016-09-15 10:02:49 +02:00 |
|
Enno Rehling
|
dfbc520203
|
add a simple test for prepare_report.
TODO: it is _too_ simple.
|
2016-09-14 21:46:57 +02:00 |
|
Enno Rehling
|
482e619969
|
disable reports entirely.
|
2016-09-13 20:17:59 +02:00 |
|
Enno Rehling
|
4e4b4e482e
|
split off report.test from reports.test
move some tests around
|
2016-09-13 20:13:26 +02:00 |
|
Enno Rehling
|
648857f52c
|
disable report.c temporarily
|
2016-09-13 18:52:35 +02:00 |
|
Enno Rehling
|
acfb06392a
|
Everything except report.c compiles.
Not that I'm not claiming that it works.
|
2016-09-13 17:02:51 +02:00 |
|
Enno Rehling
|
20578da0e9
|
delete the old seen.* files
remove includes for seen.h
remove unused functions
|
2016-09-13 16:58:48 +02:00 |
|
Enno Rehling
|
a281ace21b
|
always create test units inside a region (so they can get destroyed in free_gamedata)
|
2016-09-08 09:11:17 +02:00 |
|
Enno Rehling
|
4bc8817056
|
remove a TODO that was ill-advised. The reason that "resources" is a list is that it's built incrementally.
|
2016-08-29 18:15:20 +01:00 |
|
Enno Rehling
|
ef44a4534e
|
add a test for copying resources message arguments.
my plan is to add a new argument type for arrays of resources with fewer allocations.
|
2016-08-29 17:31:09 +01:00 |
|
Enno Rehling
|
2c5063095d
|
fixed: tests that try to create duplicate spells do not spam stderr.
|
2016-08-29 14:49:31 +01:00 |
|
Enno Rehling
|
238a0e22f2
|
Merge branch 'test-alliance' of https://github.com/ennorehling/eressea into ennorehling-test-alliance
Conflicts:
src/util/CMakeLists.txt
|
2016-08-08 08:46:09 +02:00 |
|
Enno Rehling
|
257ae38749
|
fix spellbook leak
|
2016-08-06 15:15:11 +02:00 |
|
Enno Rehling
|
8d6fba258f
|
kill some obsolete FIXME comments.
|
2016-04-09 19:10:51 +02:00 |
|
Enno Rehling
|
0f792e038f
|
memory leaks
- must free gamedata after close
- clear spellbook and free it
|
2016-03-11 09:43:16 +01:00 |
|
Enno Rehling
|
23e57c6bff
|
fix missing translation error messages during tests.
|
2016-02-01 14:06:56 +01:00 |
|
Enno Rehling
|
9bf1059d8a
|
trying to make tests not throw out so many ERROR log mesages, commenting on some of them.
|
2016-01-29 17:49:27 +01:00 |
|
Enno Rehling
|
6a20345b53
|
issue #428, fix writing spell description for break_curse
|
2015-12-06 16:45:31 +01:00 |
|
Enno Rehling
|
65902ca97f
|
do not call a function test_* that is not a test (I got confused and broke it when trying to make a change)
|
2015-12-06 12:02:16 +01:00 |
|
Enno Rehling
|
435d801239
|
fix compiation problems after merge
what is going on with this? why was critbit outdated?
|
2015-12-05 18:45:03 +01:00 |
|
Steffen Mecke
|
f9c2994de1
|
fixing memory bug
|
2015-11-13 15:52:32 +01:00 |
|
Steffen Mecke
|
477d69152f
|
added tests for all kinds of syntax parameters
|
2015-11-13 00:57:14 +01:00 |
|
Steffen Mecke
|
f3972a2390
|
prepared test for nr_spell
|
2015-11-13 00:57:14 +01:00 |
|
Enno Rehling
|
f4f038c23c
|
leak: free strlist result of split_paragraph
|
2015-10-13 23:06:33 +02:00 |
|
Enno Rehling
|
0facb386a8
|
memory leaks: call test_cleanup, free strlist, free message
|
2015-10-13 22:21:05 +02:00 |
|
Enno Rehling
|
1f1850dafc
|
memory leak: always cleanup at the end of a test that creates game data.
|
2015-10-13 22:11:45 +02:00 |
|
Enno Rehling
|
9312b44f8e
|
move seen_region logic to a separate seen.[hc] module for testing.
currently failing test:
1) Failure (tests.report.test_lighthouse):
./scripts/tests/common.lua:1051: true expected but was false
|
2015-09-08 09:56:56 +02:00 |
|
Enno Rehling
|
eb26cc971f
|
Testing bufunit with skills and different viewers.
|
2015-08-26 21:19:14 +02:00 |
|
Enno Rehling
|
fc308940b5
|
fix linux build
|
2015-08-19 14:50:24 +02:00 |
|
Enno Rehling
|
a9ecd1f55e
|
replace all at_travelunit code with travelthru_map calls.
welcome to callback hell.
this should stop the buffer for travelthru from running over.
tests for this should be hell, and I still owe writing them.
|
2015-08-19 14:37:51 +02:00 |
|