You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/kabc/vcardparser
Slávek Banko eac0d38823
testing: fix execution of test tdeabc/vcardparser/testread2 with CMake older than 2.8.4
7 years ago
..
tests Fix utf8 support in tdeabc vCard parser 7 years ago
CMakeLists.txt testing: fix execution of test tdeabc/vcardparser/testread2 with CMake older than 2.8.4 7 years ago
Makefile.am Link most Trinity DSOs against the most common kdelibs libraries to compensate for linking changes in modern distributions such as Ubuntu Oneiric 13 years ago
README.testing Revert automated changes 14 years ago
checkvcard.pl Fixed vcardparser tests during building. This resolves bug 2695. 7 years ago
testread.cpp Fix utf8 support in tdeabc vCard parser 7 years ago
testread2.cpp tdeabc: update the tests for vcardparser to run them in a new way 7 years ago
testutils.cpp testing: fix utf8 handling in tdeabc/testread2 7 years ago
testutils.h Trinity Qt initial conversion 15 years ago
testvcardformat.cpp Fix utf8 support in tdeabc vCard parser 7 years ago
testvcardformatimpl.cpp Fix utf8 support in tdeabc vCard parser 7 years ago
testwrite.cpp Rename old tq methods that no longer need a unique name 13 years ago
testwrite2.cpp Fix utf8 support in tdeabc vCard parser 7 years ago
vcard.cpp rename the following methods: 13 years ago
vcard.h Trinity Qt initial conversion 15 years ago
vcardline.cpp rename the following methods: 13 years ago
vcardline.h Trinity Qt initial conversion 15 years ago
vcardparser.cpp Fix utf8 support in tdeabc vCard parser 7 years ago
vcardparser.h Trinity Qt initial conversion 15 years ago

README.testing

For testing the vcardparser there are some test files and a small testsuite
automatically checking for regressions. The tests directory contains some vCard
files and correpsonding reference output files (with an additional ".ref"
suffix). For running the geression test do "make check". This will compile some
test programs, parse the test files, write them out as vCard again and compare
the output to the reference file. The check fails, if there are unexpected
differences and shows which lines differed.

For creating a new test put a vCard file to be parsed into the tests directory.
Create a reference file by running "testread" on the test file. It will put out
the parsed data as vCard again on stdout. Carefully check the output, manually
correct any errors and save the result as reference file in the tests directory.
Now add the filename to the TESTFILES variable in Makefile.am and run "make
check". If the check fails adapt the reference file or fix the bugs in the
parser, whatever is appropriate.