Fix and optimize Pathname ctor and provide testcases (bnc#721128)
[platform/upstream/libzypp.git] / tests / zypp / CMakeLists.txt
1 ADD_SUBDIRECTORY(base)
2
3 # set the vendor.d paths correctly for the tests
4 SET(VENDOR_D "${LIBZYPP_SOURCE_DIR}/tests/zypp/data/Vendor/vendors.d")
5 FILE(MAKE_DIRECTORY "${LIBZYPP_BINARY_DIR}/tests/zypp/data/Vendor")
6 CONFIGURE_FILE(${LIBZYPP_SOURCE_DIR}/tests/zypp/data/Vendor/zypp2.conf.cmake ${LIBZYPP_BINARY_DIR}/tests/zypp/data/Vendor/zypp2.conf @ONLY)
7
8 ADD_TESTS(
9   Arch
10   Capabilities
11   CheckSum
12   Date
13   Dup
14   Digest
15   Deltarpm
16   Edition
17   Fetcher
18   FileChecker
19   InstanceId
20   KeyRing
21   Locks
22   MediaSetAccess
23   PathInfo
24   Pathname
25   PluginFrame
26   PoolQuery
27   ProgressData
28   PtrTypes
29   PublicKey
30   RWPtr
31   RepoInfo
32   RepoManager
33   RepoStatus
34   ResKind
35   ResStatus
36   Selectable
37   Target
38   Url
39   Vendor
40   Vendor2
41 )
42