Directory server/trunk/test/unit/common/

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

[root]/server/trunk/test/unit/common

Lines of Code

server/trunk/test/unit/common/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 263 (100.0%) 5585 (100.0%) 21.2
akirschbaum 112 (42.6%) 2572 (46.1%) 22.9
ryo_saeba 94 (35.7%) 1782 (31.9%) 18.9
mwedel 19 (7.2%) 743 (13.3%) 39.1
gros 4 (1.5%) 341 (6.1%) 85.2
quinet 6 (2.3%) 68 (1.2%) 11.3
tchize 2 (0.8%) 31 (0.6%) 15.5
partmedia 15 (5.7%) 21 (0.4%) 1.4
anmaster 9 (3.4%) 21 (0.4%) 2.3
kbulgrien 1 (0.4%) 6 (0.1%) 6.0
toxicfrog 1 (0.4%) 0 (0.0%) 0.0

Most Recent Commits

ryo_saeba 2021-05-01 15:53 Rev.: 22106

Clean extra space in list with eg god descriptions.

16 lines of code changed in 2 files:

  • server/trunk/test/unit/common: Makefile.am (+2 -2), check_readable.c (+14)
ryo_saeba 2021-04-19 10:07 Rev.: 22082

Removed unused function.

0 lines of code changed in 1 file:

  • server/trunk/test/unit/common: check_treasure.c (-133)
partmedia 2021-03-28 13:08 Rev.: 22047

Allow subdirectory builds

Submitted by: Steven Johnson (patch #390)

8 lines of code changed in 8 files:

  • server/trunk/test/unit/common: check_arch.c (+1 -1), check_image.c (+1 -1), check_item.c (+1 -1), check_living.c (+1 -1), check_loader.c (+1 -1), check_object.c (+1 -1), check_readable.c (+1 -1), check_treasure.c (+1 -1)
ryo_saeba 2021-02-01 15:11 Rev.: 21885

Extract event handling to common library.

0 lines of code changed in 1 file:

  • server/trunk/test/unit/common: stubs_common.c (-8)
ryo_saeba 2021-01-14 04:59 Rev.: 21764

Introduce C++14.
Allow the server to run without collecting files in "arch". It can
now directly run with the "arch" directory along the "maps" one.
Rewrite the collect mechanism to use the server itself and not an external script.

31 lines of code changed in 6 files:

  • server/trunk/test/unit/common: Makefile.am (+2 -2), check_arch.c (+2 -21), check_image.c (+24 -6), check_item.c (+1 -2), check_living.c (+1), check_loader.c (+1)
ryo_saeba 2020-10-01 05:23 Rev.: 21467

Wrap nrofpixmaps in a function to not expose global variable.
Rename 'New_Face' to 'Face'.
Use Face* instead of face number.

2 lines of code changed in 1 file:

  • server/trunk/test/unit/common: check_object.c (+2 -2)
toxicfrog 2020-09-11 20:02 Rev.: 21405

Fix test/unit/common to not require a crossfire install

Historically this has loaded confdir from $PREFIX, i.e. from your
installed copy of crossfire. This meant that if you didn't have
crossfire installed, you couldn't run the tests, and if you did, it
would use the confdata from the install rather than from the build tree.

With this change it automatically sets confdir based on datadir,
allowing all tests in test/unit/common/ to function without needing a
`make install` first. This problem still affects test/unit/server/ and
test/unit/bugfix, and will require more work to fix there.

0 lines of code changed in 1 file:

  • server/trunk/test/unit/common: check_living.c (-1)
ryo_saeba 2020-09-11 13:24 Rev.: 21399

Fix item descriptions in unit tests after media-tag related changes.
A mere 'ring' or 'amulet' is now described as 'of adornment'.

4 lines of code changed in 1 file:

  • server/trunk/test/unit/common: check_item.c (+4 -4)
ryo_saeba 2020-05-01 05:13 Rev.: 21225

Rename function.

2 lines of code changed in 2 files:

  • server/trunk/test/unit/common: check_item.c (+1 -1), check_living.c (+1 -1)
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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

  • server/trunk/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:

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

(74 more)

Generated by StatSVN 0.7.0