Directory test/unit/common/

Total Files:
31
Deleted Files:
3
Lines of Code:
4782

[root]/test/unit/common

Lines of Code

test/unit/common/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 240 (100.0%) 5522 (100.0%) 23.0
akirschbaum 112 (46.7%) 2572 (46.6%) 22.9
ryo_saeba 80 (33.3%) 1727 (31.3%) 21.5
mwedel 19 (7.9%) 743 (13.5%) 39.1
gros 4 (1.7%) 341 (6.2%) 85.2
quinet 6 (2.5%) 68 (1.2%) 11.3
tchize 2 (0.8%) 31 (0.6%) 15.5
anmaster 9 (3.8%) 21 (0.4%) 2.3
partmedia 7 (2.9%) 13 (0.2%) 1.8
kbulgrien 1 (0.4%) 6 (0.1%) 6.0

Most Recent Commits

ryo_saeba 2016-02-29 13:58 Rev.: 20228

Use blue for electricity, light blue for cold, and various other colors.

14 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+14 -14)
ryo_saeba 2016-02-28 09:20 Rev.: 20226

Display color and underline for items too.

5 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+5 -5)
ryo_saeba 2016-01-03 09:22 Rev.: 20213

Add media tags to monsters description (via probe or knowledge), to highlight some resistances.

4 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+4 -4)
ryo_saeba 2014-09-21 03:10 Rev.: 19656

Fix broken tests after food value changes in r19598.

3 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+3 -3)
partmedia 2014-06-09 18:11 Rev.: 19540

Fix unit test header files

While here, remove the explicit libdl linker flag.

6 lines of code changed in 2 files:

  • test/unit/common: Makefile.am (+1 -1), check_living.c (+5 -32)
ryo_saeba 2014-06-08 13:34 Rev.: 19538

Fix broken test.

1 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+1 -1)
partmedia 2014-04-25 19:00 Rev.: 19364

Refactor to use C99 integer type names.

Submitted by: Tolga Dalman

5 lines of code changed in 2 files:

  • test/unit/common: check_object.c (+2 -2), stubs_common.c (+3 -3)
partmedia 2014-04-19 15:10 Rev.: 19357

Reflect move of configuration files in unit tests.

1 lines of code changed in 1 file:

  • test/unit/common: check_living.c (+1 -1)
akirschbaum 2013-09-06 04:48 Rev.: 18988

Remove trailing whitespace.

16 lines of code changed in 2 files:

  • test/unit/common: check_living.c (+9 -9), check_treasure.c (+7 -7)
partmedia 2013-07-16 08:30 Rev.: 18792

Trim legacy Makefile headers.

0 lines of code changed in 1 file:

  • test/unit/common: Makefile.am (-1)
partmedia 2013-07-15 23:55 Rev.: 18787

Fix `make clean` for non-GNU make (e.g. FreeBSD).

1 lines of code changed in 1 file:

  • test/unit/common: Makefile.am (+1 -2)
ryo_saeba 2011-12-20 16:39 Rev.: 16239

Use an archetype for which there are facings.

1 lines of code changed in 1 file:

  • test/unit/common: check_object.c (+1 -1)
ryo_saeba 2011-12-01 14:34 Rev.: 15993

Basic unit test.

19 lines of code changed in 1 file:

  • test/unit/common: check_utils.c (+19)
ryo_saeba 2011-11-06 12:54 Rev.: 15528

Remove unused stub.

0 lines of code changed in 1 file:

  • test/unit/common: stubs_common.c (-3)
ryo_saeba 2011-11-06 12:43 Rev.: 15527

Move function to common, remove stubs.

0 lines of code changed in 1 file:

  • test/unit/common: stubs_common.c (-3)
ryo_saeba 2011-11-01 14:40 Rev.: 15379

Use 'const char*' instead of 'char*' for strings. Make functions static.

35 lines of code changed in 11 files:

  • test/unit/common: check_anim.c (+3 -3), check_arch.c (+3 -3), check_item.c (+3 -3), check_living.c (+3 -3), check_loader.c (+3 -3), check_object.c (+3 -3), check_path.c (+3 -3), check_readable.c (+3 -3), check_shstr.c (+3 -3), check_time.c (+3 -3), check_treasure.c (+5 -5)
ryo_saeba 2011-11-01 14:33 Rev.: 15378

Add include for prototype.

1 lines of code changed in 1 file:

  • test/unit/common: stubs_common.c (+1)
ryo_saeba 2011-11-01 13:01 Rev.: 15375

Misc cleaning.

12 lines of code changed in 2 files:

  • test/unit/common: check_item.c (-2), check_object.c (+12 -19)
mwedel 2011-10-23 01:02 Rev.: 15251

Remove debug fprintf() line, add in missing skills so this works
on current arch tree.
MSW 2011-10-22

3 lines of code changed in 1 file:

  • test/unit/common: check_treasure.c (+3 -1)
mwedel 2011-10-23 00:59 Rev.: 15250

Add function treasurelist_find_matching_type() which extracts all items
on treasurelist of matching type. This will be used in future
skill code, but no reason not to check it in now. Also add test
for it.
MSW 2011-10-22

145 lines of code changed in 2 files:

  • test/unit/common: Makefile.am (+2 -2), check_treasure.c (+143 -5)
ryo_saeba 2011-10-21 12:01 Rev.: 15221

Remove test function, the rewrite is ok.

0 lines of code changed in 1 file:

  • test/unit/common: check_item.c (-129)
ryo_saeba 2011-08-08 13:08 Rev.: 14968

Disable empty test that breaks XML processing.

2 lines of code changed in 1 file:

  • test/unit/common: Makefile.am (+2 -2)
ryo_saeba 2011-08-08 13:03 Rev.: 14967

Move macros to appropriate test file.

31 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+31)
ryo_saeba 2011-08-08 12:42 Rev.: 14956

Remove obsolete test.

0 lines of code changed in 1 file:

  • test/unit/common: check_readable.c (-207)
ryo_saeba 2011-08-08 12:38 Rev.: 14953

Remove obsolete unit test.

0 lines of code changed in 1 file:

  • test/unit/common: check_readable.c (-101)
ryo_saeba 2011-07-10 04:32 Rev.: 14835

Make container's contents browsable like the ground view.

1 lines of code changed in 1 file:

  • test/unit/common: stubs_common.c (+1 -1)
mwedel 2011-04-06 00:19 Rev.: 14389

Add better output on failed match so it is easier to track down
where the problem is.
MSW 2011-04-05

1 lines of code changed in 1 file:

  • test/unit/common: check_living.c (+1 -1)
mwedel 2011-02-20 00:32 Rev.: 14310

Fix largely broken test - stats were being put into wrong fields,
so fix_object() just cleared them, so same results would always be
generated no matter what the entered stat values (and hence, bonuses)
were.
MSW 2011-02-19


M check_living.c

44 lines of code changed in 1 file:

  • test/unit/common: check_living.c (+44 -27)
mwedel 2010-12-27 00:15 Rev.: 14218

test/unit/common/check_living.c: Modify some hard coded array sizes to use
the defined values. Remove randomly generated input values and put those
into arrays - the test only works with specific input values, and randomly
generating them only works if one is using the same random number generator.
test/unit/common/check_item.c: Disable this test if not using glibc - its
checking requires specific random number sequence - however, since many
of the RANDOM() calls are from within libcommon, not easy to hard code
the values.
INSTALL: Update notes on make check - only works with default values.
MSW 2010-12-26

136 lines of code changed in 2 files:

  • test/unit/common: check_item.c (+12), check_living.c (+124 -14)
mwedel 2010-12-06 00:56 Rev.: 14153

Add missing call to init_formulae() - test was failing/core dumping because
no formulae were loaded.
MSW 2010-12-05

1 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+1)
akirschbaum 2010-11-24 14:01 Rev.: 14125

Remove trailing whitespace.

1 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+1 -1)
anmaster 2010-10-08 08:32 Rev.: 13977

Fix some serious compiler warnings (missing declaration of function, fixed by adding an #include; wrong type for argument to snprintf, fixed by changing to use the proper variable) in the test
suites.

2 lines of code changed in 1 file:

  • test/unit/common: check_readable.c (+2 -1)
ryo_saeba 2010-09-06 12:59 Rev.: 13749

Unit tests: correctly initialise the config dir (for experience and such).

2 lines of code changed in 1 file:

  • test/unit/common: check_living.c (+2 -1)
ryo_saeba 2010-08-05 15:52 Rev.: 13557

Add missing prototype for test.

2 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+2)
ryo_saeba 2010-08-05 12:19 Rev.: 13554

Remove old 'ring_desc' function.

2 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+2 -8)
ryo_saeba 2010-08-01 05:22 Rev.: 13542

Remove deprecated function.

9 lines of code changed in 2 files:

  • test/unit/common: check_item.c (+8 -6), check_readable.c (+1 -1)
ryo_saeba 2010-08-01 03:15 Rev.: 13536

Fix a unit test.

3 lines of code changed in 1 file:

  • test/unit/common: check_readable.c (+3 -3)
ryo_saeba 2010-07-29 12:26 Rev.: 13533

Replace some calls to describe_item() with the StringBuffer version.

6 lines of code changed in 1 file:

  • test/unit/common: check_readable.c (+6 -3)
ryo_saeba 2010-07-29 12:03 Rev.: 13531

Rewrite 'describe_resistance' to use StringBuffer.

5 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+5 -1)
ryo_saeba 2010-07-28 17:23 Rev.: 13529

Rewrite 'describe_monster' to use StringBuffer.

168 lines of code changed in 1 file:

  • test/unit/common: check_item.c (+168 -1)

(65 more)

Generated by StatSVN 0.7.0