]> Git trees. - libqmvoc.git/commit
Add the first real unit test:
authorFrederik Gladhorn <gladhorn@kde.org>
Mon, 17 Sep 2007 22:38:39 +0000 (22:38 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Mon, 17 Sep 2007 22:38:39 +0000 (22:38 +0000)
commit29a0edeeb76cb4dd3853e397dd0d46944458ba3d
treeabd16315b804a42586a755f98ea7441053c04b92
parent7e920912dcc2d0d363b7eadabf67a6e5fe7e12c9
Add the first real unit test:
  Create a doc, write it to a temp file and read it again. Tests for the easy tags: author, title, comment, license and category.
Remove all gui elements from keduvocdocument.
This means that when opening a document fails, the apps have to check for the return value of doc->open().
Added an enum for the errors.
With KEduVocDocument::errorDescription a message can be generated to display to the user.
CCMAIL: peter@peterandlinda.com

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=713642
keduvocdocument/keduvocdocument.cpp
keduvocdocument/keduvocdocument.h
keduvocdocument/tests/keduvocdocumentvalidatortest.cpp