chiark / gitweb /
test: generate tests for OrderedHashmap from Hashmap tests
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 15 Oct 2014 09:00:46 +0000 (11:00 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Thu, 23 Oct 2014 15:38:02 +0000 (17:38 +0200)
commit32a4456cc252689f51f383d150d34ed636bfec4d
tree47c40bf53cf1b5d78464f1b70e0b5beb3f0de73c
parent5ba43716f345e205eba33156c0171fb657f4451f
test: generate tests for OrderedHashmap from Hashmap tests

test-hashmap-ordered.c is generated from test-hashmap-plain.c simply by
substituting "ordered_hashmap" for "hashmap" etc.

In the cases where tests rely on the order of entries, a distinction
between plain and ordered hashmaps is made using the ORDERED macro,
which is defined only for test-hashmap-ordered.c.
Makefile.am
src/test/.gitignore [new file with mode: 0644]
src/test/test-hashmap-plain.c [new file with mode: 0644]
src/test/test-hashmap.c