Enno Rehling
|
9eb376e0e5
|
clumsy repair of duplicate regions for range >= 2 (RF_MARK)
|
2016-09-24 11:20:33 +02:00 |
|
Enno Rehling
|
c755c1d69e
|
for short lighthouse ranges, don't use lists.
|
2016-09-23 19:51:33 +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 |
|
Enno Rehling
|
ebe365fd6e
|
move travelthru logic to a separate module. todo: split off the report writing from the collection of units.
|
2015-08-18 18:57:04 +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
|
8dc4e93e90
|
fix missing units from CR, add a test, partially convert from FILE* to stream
|
2015-08-05 14:45:46 +02:00 |
|
Enno Rehling
|
465dcf4e1c
|
bugfix sparagraph (github issue #199).
adding tests.
|
2015-05-20 18:05:25 +02:00 |
|
Enno Rehling
|
e7661434e3
|
fix an out-of-bounds error in the new stream-based report code when centering very short headlines, refactor indentation code, add tests.
|
2015-05-19 08:26:44 +02:00 |
|
Enno Rehling
|
df325b243a
|
enable stricter conversion checking for gcc < 4.9, fix code
|
2015-05-15 20:35:36 +02: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 |
|