30 Commits

Author SHA1 Message Date
Albert Astals Cid
d71f4c279b Drop Qt4 support 2020-01-19 17:19:23 +01:00
Ivan Romanov
ac8b8acd37 dropped fixpaths.include
Use qt.conf to set plugin paths for unittests and qcatool in buildtree
2014-09-25 14:27:44 +06:00
Ivan Romanov
9504d1c8e0 cmake: put all runtime to bin when compiling
The most it is need for windows where no rpath and all dll's must be
in the same dir (or in PATH environment)
2014-02-02 02:35:55 +06:00
Ivan Romanov
6d690c0070 Build static QCA
Added new cmake variable SHARED_LIBRARY. By default is on.
When it is off QCA library, plugins, tools, examples and unittests
will be built as static. Also if is used static Qt plugins will be
built as static. Tested with Qt4.
2014-01-02 03:50:18 +06:00
Ivan Romanov
9462469bb5 dropped bat, qconf and qmake rules
Now cmake rules fully works.
2013-08-26 00:55:17 +06:00
Ivan Romanov
13d0dc5e6d added cmake variable QCA_LIB_SUFFIX
QCA_LIB_SUFFIX intended to replace workaround
3 major version. For building for Qt5 can be used
-DQCA_LIB_SUFFIX=qt5 for example. Result will be
named libqca2-qt5.so.2.0.3 library for Linux.
Also this suffix will be applied for qca2 pkg config file,
qcatool2 binary and qcatool2 manpage.

I hope that is a good way to resolve the building conflict
against qt4 and qt5.
2013-08-26 00:55:01 +06:00
David Faure
57ce5c3bc9 Port to Qt5 by Ivan Romanov <drizt@land.ru>
svn path=/trunk/kdesupport/qca/; revision=1347515
2013-04-02 11:00:43 +00:00
Brad Hards
8b904d7e81 Add unit test for Whirlpool hash.
svn path=/trunk/kdesupport/qca/; revision=707709
2007-09-02 18:51:21 +00:00
Brad Hards
6302b633dc Change the target for the qmake/qconf based unit tests to be
"make test", to match cmake.


svn path=/trunk/kdesupport/qca/; revision=685629
2007-07-09 10:52:52 +00:00
Brad Hards
f3d4868398 Rework the MD5 and SHA1 file tests to remove reliance
on additional files (not provided with QCA). 

This also makes the tests run much, much faster.

svn path=/trunk/kdesupport/qca/; revision=685152
2007-07-08 04:50:36 +00:00
Justin Karneges
6152c977c0 follow qca-openssl -> qca-ossl rename
svn path=/trunk/kdesupport/qca/; revision=681691
2007-06-29 21:30:22 +00:00
Justin Karneges
841a205069 remove unnecessary secure array usage in arrayToHex
svn path=/trunk/kdesupport/qca/; revision=674778
2007-06-13 02:30:43 +00:00
Justin Karneges
2171081a29 some nit api changes
svn path=/trunk/kdesupport/qca/; revision=673037
2007-06-08 20:31:50 +00:00
Justin Karneges
5c6439a6c1 by default, all unittests/examples are console without a mac.app bundle
svn path=/trunk/kdesupport/qca/; revision=656265
2007-04-20 20:08:47 +00:00
Justin Karneges
e6a4a57edd update to build against the right qca lib name
svn path=/trunk/kdesupport/qca/; revision=648311
2007-03-30 23:42:53 +00:00
Brad Hards
9effe14fe6 Typo fixes, courtesy a (local) krazy run.
svn path=/trunk/kdesupport/qca/; revision=618410
2007-01-01 08:57:37 +00:00
Brad Hards
131bf8eaac Add automated unittesting support. Now, you can
just "make test" and it will run the appropriate
tests.

svn path=/trunk/kdesupport/qca/; revision=609827
2006-12-02 11:53:32 +00:00
André Wöbbeking
07197dc54e -pedantic
svn path=/trunk/kdesupport/qca/; revision=608497
2006-11-27 18:17:05 +00:00
Brad Hards
614e217e4f Convert the hash unit test to the new format, where
the .h is incorporated into the .cpp, and adjust the 
qmake file to match.

Also add in CMake support.

svn path=/trunk/kdesupport/qca/; revision=594715
2006-10-12 03:14:47 +00:00
Brad Hards
11d097e08d Finally commit the big "primitives" API change.
Essentially if you had previously used a subclass
of Cipher, Hash or MAC, then you need to change
your code. The change is pretty simple - you
just pass a string name as the first argument.


svn path=/trunk/kdesupport/qca/; revision=576204
2006-08-23 12:38:39 +00:00
Brad Hards
cfb99eef8b Minor rework, mainly to add openssl to tests.
svn path=/trunk/kdesupport/qca/; revision=510460
2006-02-17 11:20:22 +00:00
Brad Hards
6b0ff4b899 Add the Mozilla Netscape Security Services plugin
to the tests.

svn path=/trunk/kdesupport/qca/; revision=506618
2006-02-07 10:10:36 +00:00
Brad Hards
3f17eb5b67 Minor tweak to silence valgrind
svn path=/trunk/kdesupport/qca/; revision=498251
2006-01-15 05:14:23 +00:00
Brad Hards
80a9775594 Remove the GUI libs, so we don't need X to run the
tests.

svn path=/trunk/kdesupport/qca/; revision=490787
2005-12-23 06:34:28 +00:00
Brad Hards
82dc381484 Big refactoring of the unit tests:
- start of conversion to new QtTestLib
 - directory per test case


svn path=/trunk/kdesupport/qca/; revision=490779
2005-12-23 06:05:33 +00:00
Brad Hards
6db8bd6c8a Correct CONFIG setting for qtestlib
svn path=/trunk/kdesupport/qca/; revision=478895
2005-11-08 09:25:04 +00:00
Brad Hards
3b58d170b4 Start of big reorganisation of the unit tests.
This now requires QTestLib, as provided with 
Qt 4.1

svn path=/trunk/kdesupport/qca/; revision=478231
2005-11-06 09:25:56 +00:00
Brad Hards
5bc85f02b2 Big refactoring of the unittest code - now uses Zack Rusin's
kunittest framework, with a few changes by me.

The test coverage is the same.

svn path=/trunk/kdesupport/qca/; revision=357083
2004-10-23 11:28:42 +00:00
Brad Hards
dc1c71421f Forgot the license headers.
svn path=/trunk/kdesupport/qca/; revision=349941
2004-09-28 10:20:23 +00:00
Brad Hards
27c7a01f77 First round of unit tests. No special support at this stage (although
it might be nice to use Zack's kunittest - doesn't appear to have any
heavy KDE dependency) - open coded tests.

svn path=/trunk/kdesupport/qca/; revision=349851
2004-09-27 21:47:33 +00:00