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
tpearson f5dfb1faa6
Added new hidden vCard URI parameter for certain CardDAV systems (such as Zimbra) that do not handle UID properly
15 years ago
..
tests Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
Makefile.am Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
README.testing Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
checkvcard.pl Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
testread.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
testread2.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
testutils.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
testutils.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
testwrite.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
vcard.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
vcard.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
vcardline.cpp Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
vcardline.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 15 years ago
vcardparser.cpp Added new hidden vCard URI parameter for certain CardDAV systems (such as Zimbra) that do not handle UID properly 15 years ago
vcardparser.h Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. 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.