19690 Commits

Author SHA1 Message Date
Elvish_Hunter
e3fc8f13b8 wmllint gui: made some options in the wmlscope tab evenly spaced 2014-05-29 14:57:10 +02:00
Elvish_Hunter
5480cca466 wmllint gui: fixed a bug in regexp handling 2014-05-29 14:57:09 +02:00
Chris Beck
55addc2999 Merge branch 'master' of git://github.com/wesnoth/wesnoth 2014-05-28 12:49:32 -04:00
Chris Beck
de55f1dfc7 increase coverage of reachability tests, and rebuild answers 2014-05-28 12:49:07 -04:00
Alexander van Gessel
a4e30b6275 Fix a wmllint crash 2014-05-28 17:54:49 +02:00
Chris Beck
3a102774b5 fixup pathfind tests, add reachability tests 2014-05-28 01:31:09 -04:00
Chris Beck
6cb367594b test [store_locations], and try to characterize [find_path] 2014-05-27 20:30:30 -04:00
Chris Beck
cad6edf182 add comment to test_relative_dir.cfg 2014-05-27 12:00:30 -04:00
Alexander van Gessel
4d7de12e47 Unit tests for deterministic unit facings 2014-05-27 17:30:13 +02:00
Alexander van Gessel
038ff82a02 Test case for two interface bugs
An effect that does more than one thing concatenates the descriptions.
The effect description isn't updated when a new weapon which it affects
is added to the unit.
2014-05-27 14:58:43 +02:00
Chris Beck
f664b4e5af add test of [modify_unit] facing= attribute 2014-05-26 23:34:48 -04:00
Chris Beck
b272239ea9 add replace_schedule in prestart test 2014-05-26 20:14:16 -04:00
Chris Beck
ec5ec4fb38 add tests of modify_turns tag 2014-05-26 20:02:05 -04:00
Chris Beck
7cc62266e9 unit tests for giving gold in prestart 2014-05-26 19:06:00 -04:00
aquileia
9b51a3a877 Implement temporary weapon swap in DM 21
As Kalenz puts it, "We have acquired orcish weapons". All elvish swords
are replaced by orcish ones for the duration of the scenario.
2014-05-26 23:23:28 +02:00
ancestral
29490feef3 Added [portrait] to Hakim
Hakim has a portrait, but his config file is missing it.
2014-05-24 16:56:39 -07:00
Chris Beck
12fad6efbc fixup wmllint to include 1.11.15 changes 2014-05-24 19:11:48 -04:00
ln-zookeeper
91c13b82c0 Fixed Li'sar not carrying over correctly 2014-05-23 22:53:10 +03:00
mattsc
54b3030676 MAI test scenarios: fight_on_without_leader -> defeat_condition
Necessary due to a recent change how the victory conditions are
evaluated.
2014-05-22 19:51:51 -07:00
Chris Beck
49f97ee9be Merge branch 'master' of git://github.com/wesnoth/wesnoth 2014-05-22 17:22:33 -04:00
Chris Beck
d129d80ebe Add unit tests for check victory function
Mainly focused on defeat_condition field right now... woudl be good
to add some that test victory_when_enemies_defeated.
2014-05-22 17:21:53 -04:00
ln-zookeeper
3a860d4657 Fixed broken image reference 2014-05-22 20:53:55 +03:00
ln-zookeeper
86fe11bb24 Fixed repeated dialogue 2014-05-22 17:36:14 +03:00
Elvish_Hunter
2dbca0c3f1 wmllint GUI: avoid showing a blank Tk window if the program is run outside of a Wesnoth directory 2014-05-21 10:43:54 +02:00
Elvish_Hunter
385384de86 wmllint GUI: verbosity level radiobutton, Normal -> Terse 2014-05-21 10:43:54 +02:00
Elvish_Hunter
ef81cbad61 wmllint GUI: moved the exit button to the right side of the window 2014-05-21 10:43:54 +02:00
Elvish_Hunter
82e1126094 wmllint GUI: removed verbs from option labelframe labels 2014-05-21 10:43:53 +02:00
Elvish_Hunter
241015fa05 wmllint GUI: made two labelframe labels shorter 2014-05-21 10:43:53 +02:00
Elvish_Hunter
f3012b50db wmllint GUI: used a smaller icon for the Browse button, and made the entry fill the whole frame 2014-05-21 10:43:52 +02:00
aquileia
8136065f75 Fix readme files about unit test scenarios 2014-05-19 17:13:27 -04:00
Chris Beck
ab29ba7e43 add map location rotate wml interface 2014-05-19 16:29:07 -04:00
Chris Beck
3f5350a5ef add wml relative dir query tag, and interactive test scenario 2014-05-19 14:35:07 -04:00
Charles Dang
4613e5a619 AOI S7: removed [ai] tag from player side 2014-05-17 18:49:35 -04:00
Charles Dang
5cc1d2f9e2 AOI S7: removed redundant difficulty-conditional recruit list 2014-05-17 18:49:31 -04:00
Chris Beck
86fea3c551 add unit test for berzerk + firststrike interaction 2014-05-16 23:53:28 -04:00
Chris Beck
4e16a998a2 refactor break_replay tests into one file 2014-05-16 22:54:03 -04:00
Chris Beck
8d161347bc refactor assert, return, two_plus_two, to each be one file 2014-05-16 22:45:54 -04:00
Chris Beck
bf2dda129c refactor sighted events test to be one file 2014-05-16 22:37:13 -04:00
Chris Beck
af4b671266 add unit test for basic unit map functionality 2014-05-16 22:23:48 -04:00
Chris Beck
d7374f4080 add test_move unit tests 2014-05-16 21:25:23 -04:00
Chris Beck
9964be2849 fixup move_skip_sighted tests 2014-05-16 20:29:26 -04:00
Chris Beck
2c486ed699 add tests of the [move] skip_sighted_option
This is partially a follow up of previous commit
403af25e9da77dbf7aa295ccd901af3bdcd6f889
2014-05-16 19:35:06 -04:00
Chris Beck
94fdab4389 add sighted events unit tests 2014-05-16 18:09:52 -04:00
Chris Beck
9df026f8e8 move test_grunt_tod_damage map to a map file 2014-05-16 17:11:27 -04:00
Chris Beck
0201fe3247 put generic unit test map in its own file 2014-05-16 17:05:31 -04:00
Groggy Dice
93353ee0a6 wmllint: add option to turn off missing side= key warning 2014-05-16 01:40:28 -04:00
Groggy Dice
d866189a0e wmllint: warn about no side key in [*_shroud],[gold],[modify_side/ai]
Those who are updating from old UMC may otherwise be caught unawares by the
change from defaulting to side 1 when the side key is missing, to all
sides. Later we will have an option to turn off this warning.

Since the insertion of an attribute line is now commented out, it may be
questioned whether this still belongs in hack_syntax. However, at some
point the plan is to give users an option to insert the side= key.
2014-05-16 01:40:25 -04:00
Groggy Dice
1a794a2d1e wmllint: warn about no side key in [set/(dis)allow_recruit],[store_gold]
Those who are updating from old UMC may otherwise be caught unawares by the
change from defaulting to side 1 when the side key is missing, to all
sides. Later we will have an option to turn off this warning.
2014-05-16 01:40:23 -04:00
Groggy Dice
e3adf001a8 html.py: hone regexes for URL linking
First, a couple of extraneous quotes were left in the second regex around
"</a>".

Second, it is possible that a period or question mark could be used to end
a sentence, rather than be part of the URL. So check that these characters
are followed by an alphanumeric character to make them part of the URL.
2014-05-16 01:40:20 -04:00
Chris Beck
7b6a1ec74d fixup messed up whitespace and similar 2014-05-15 22:12:59 -04:00