7
1
Fork 0
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
tdelibs/tdeabc/vcardparser
Michele Calgaro 3fef288384
Simplify code since cmake minimum version is now 3.5
vor 2 Monaten
..
tests Fix utf8 support in tdeabc vCard parser vor 8 Jahren
CMakeLists.txt Simplify code since cmake minimum version is now 3.5 vor 2 Monaten
Makefile.am LIB_QT -> LIB_TQT conversion to align to updated admin module vor 6 Jahren
README.testing Rename additional header files to avoid conflicts with KDE4 vor 11 Jahren
checkvcard.pl Fixed vcardparser tests during building. This resolves bug 2695. vor 8 Jahren
testread.cpp Fix utf8 support in tdeabc vCard parser vor 8 Jahren
testread2.cpp tdeabc: update the tests for vcardparser to run them in a new way vor 7 Jahren
testutils.cpp testing: fix utf8 handling in tdeabc/testread2 vor 7 Jahren
testutils.h Rename KABC namespace vor 11 Jahren
testvcardformat.cpp Fix utf8 support in tdeabc vCard parser vor 8 Jahren
testvcardformatimpl.cpp Fix utf8 support in tdeabc vCard parser vor 8 Jahren
testwrite.cpp Additional k => tde renaming and fixes vor 11 Jahren
testwrite2.cpp Fix utf8 support in tdeabc vCard parser vor 8 Jahren
vcard.cpp Additional k => tde renaming and fixes vor 11 Jahren
vcard.h Additional k => tde renaming and fixes vor 11 Jahren
vcardline.cpp Additional k => tde renaming and fixes vor 11 Jahren
vcardline.h Additional k => tde renaming and fixes vor 11 Jahren
vcardparser.cpp Fix utf8 support in tdeabc vCard parser vor 8 Jahren
vcardparser.h Additional k => tde renaming and fixes vor 11 Jahren

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.