Fix & Refactor internal unit tests 31/52531/6
authorKyungwook Tak <k.tak@samsung.com>
Tue, 24 Nov 2015 08:05:25 +0000 (17:05 +0900)
committerKyungwook Tak <k.tak@samsung.com>
Wed, 25 Nov 2015 01:28:26 +0000 (10:28 +0900)
commitfa399150ea0130986781e79d90f058289f96a1f0
tree4758b09a337e38fccadcf1a8a58697a8da34376c
parent07241bb829d6e304515b599a627044d94661fb75
Fix & Refactor internal unit tests

Change-Id: Ib273d952c21042b9fafb900cc6d3d36e6af69e8a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
93 files changed:
CMakeLists.txt
packaging/cert-svc.spec
tests/capi/CMakeLists.txt
tests/capi/common-res.cpp
tests/capi/common-res.h
tests/capi/data/root_ca_cert.pem [deleted file]
tests/capi/data/second_ca_cert.pem [deleted file]
tests/capi/test-certificate.cpp
tests/pkcs12/CMakeLists.txt
tests/pkcs12/new_test_cases.cpp
tests/pkcs12/test-common.cpp [new file with mode: 0644]
tests/pkcs12/test-common.h [new file with mode: 0644]
tests/vcore/CMakeLists.txt
tests/vcore/resource/attacked-tpk-with-userdata/author-signature.xml [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/bin/preference [new file with mode: 0755]
tests/vcore/resource/attacked-tpk-with-userdata/data/userdata1 [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/data/userdata2 [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/malfile [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/res/edje/pref_buttons_panel.edj [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/res/edje/pref_edit_panel.edj [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/res/edje/preference.edj [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/res/images/icon_delete.png [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/res/res.xml [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/shared/res/preference.png [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/signature1.xml [new file with mode: 0644]
tests/vcore/resource/attacked-tpk-with-userdata/tizen-manifest.xml [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/author-signature.xml [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/bin/preference [new file with mode: 0755]
tests/vcore/resource/attacked-tpk/malfile [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/res/edje/pref_buttons_panel.edj [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/res/edje/pref_edit_panel.edj [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/res/edje/preference.edj [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/res/images/icon_delete.png [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/res/res.xml [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/shared/res/preference.png [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/signature1.xml [new file with mode: 0644]
tests/vcore/resource/attacked-tpk/tizen-manifest.xml [new file with mode: 0644]
tests/vcore/resource/normal-tpk.tpk [new file with mode: 0644]
tests/vcore/resource/root_cacert0.pem [moved from tests/vcore/test-cases/root_cacert0.pem with 100% similarity]
tests/vcore/resource/tpk-with-userdata/author-signature.xml [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/bin/preference [new file with mode: 0755]
tests/vcore/resource/tpk-with-userdata/data/userdata1 [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/data/userdata2 [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/res/edje/pref_buttons_panel.edj [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/res/edje/pref_edit_panel.edj [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/res/edje/preference.edj [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/res/images/icon_delete.png [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/res/res.xml [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/shared/res/preference.png [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/signature1.xml [new file with mode: 0644]
tests/vcore/resource/tpk-with-userdata/tizen-manifest.xml [new file with mode: 0644]
tests/vcore/resource/tpk/author-signature.xml [new file with mode: 0644]
tests/vcore/resource/tpk/bin/preference [new file with mode: 0755]
tests/vcore/resource/tpk/res/edje/pref_buttons_panel.edj [new file with mode: 0644]
tests/vcore/resource/tpk/res/edje/pref_edit_panel.edj [new file with mode: 0644]
tests/vcore/resource/tpk/res/edje/preference.edj [new file with mode: 0644]
tests/vcore/resource/tpk/res/images/icon_delete.png [new file with mode: 0644]
tests/vcore/resource/tpk/res/res.xml [new file with mode: 0644]
tests/vcore/resource/tpk/shared/res/preference.png [new file with mode: 0644]
tests/vcore/resource/tpk/signature1.xml [new file with mode: 0644]
tests/vcore/resource/tpk/tizen-manifest.xml [new file with mode: 0644]
tests/vcore/resource/wgt/author-signature.xml [moved from tests/vcore/test-cases/widget/author-signature.xml with 100% similarity]
tests/vcore/resource/wgt/config.xml [moved from tests/vcore/test-cases/widget_partner_operator/config.xml with 100% similarity]
tests/vcore/resource/wgt/index.html [moved from tests/vcore/test-cases/widget_partner_operator/index.html with 100% similarity]
tests/vcore/resource/wgt/signature1.xml [moved from tests/vcore/test-cases/widget_negative_signature/signature1.xml with 100% similarity]
tests/vcore/resource/wgt/signature22.xml [moved from tests/vcore/test-cases/widget_negative_signature/signature22.xml with 100% similarity]
tests/vcore/resource/wgt_negative_certificate/author-signature.xml [moved from tests/vcore/test-cases/widget_partner_operator/author-signature.xml with 100% similarity]
tests/vcore/resource/wgt_negative_certificate/config.xml [moved from tests/vcore/test-cases/widget_partner/config.xml with 100% similarity]
tests/vcore/resource/wgt_negative_certificate/index.html [moved from tests/vcore/test-cases/widget_partner/index.html with 100% similarity]
tests/vcore/resource/wgt_negative_certificate/signature1.xml [moved from tests/vcore/test-cases/widget_negative_certificate/signature1.xml with 100% similarity]
tests/vcore/resource/wgt_negative_hash/author-signature.xml [moved from tests/vcore/test-cases/widget_negative_hash/author-signature.xml with 100% similarity]
tests/vcore/resource/wgt_negative_hash/config.xml [moved from tests/vcore/test-cases/widget_negative_signature/config.xml with 100% similarity]
tests/vcore/resource/wgt_negative_hash/index.html [moved from tests/vcore/test-cases/widget_negative_signature/index.html with 100% similarity]
tests/vcore/resource/wgt_negative_hash/signature1.xml [moved from tests/vcore/test-cases/widget_negative_hash/signature1.xml with 100% similarity]
tests/vcore/resource/wgt_negative_hash/signature22.xml [moved from tests/vcore/test-cases/widget_negative_hash/signature22.xml with 100% similarity]
tests/vcore/resource/wgt_negative_signature/author-signature.xml [moved from tests/vcore/test-cases/widget_negative_signature/author-signature.xml with 100% similarity]
tests/vcore/resource/wgt_negative_signature/config.xml [moved from tests/vcore/test-cases/widget_negative_hash/config.xml with 100% similarity]
tests/vcore/resource/wgt_negative_signature/index.html [moved from tests/vcore/test-cases/widget_negative_hash/index.html with 100% similarity]
tests/vcore/resource/wgt_negative_signature/signature1.xml [moved from tests/vcore/test-cases/widget/signature1.xml with 100% similarity]
tests/vcore/resource/wgt_negative_signature/signature22.xml [moved from tests/vcore/test-cases/widget/signature22.xml with 100% similarity]
tests/vcore/resource/wgt_partner/author-signature.xml [moved from tests/vcore/test-cases/widget_partner/author-signature.xml with 100% similarity]
tests/vcore/resource/wgt_partner/config.xml [moved from tests/vcore/test-cases/widget_negative_certificate/config.xml with 100% similarity]
tests/vcore/resource/wgt_partner/index.html [moved from tests/vcore/test-cases/widget_negative_certificate/index.html with 100% similarity]
tests/vcore/resource/wgt_partner/signature1.xml [moved from tests/vcore/test-cases/widget_partner/signature1.xml with 100% similarity]
tests/vcore/resource/wgt_partner_operator/author-signature.xml [moved from tests/vcore/test-cases/widget_negative_certificate/author-signature.xml with 100% similarity]
tests/vcore/resource/wgt_partner_operator/config.xml [moved from tests/vcore/test-cases/widget/config.xml with 100% similarity]
tests/vcore/resource/wgt_partner_operator/index.html [moved from tests/vcore/test-cases/widget/index.html with 100% similarity]
tests/vcore/resource/wgt_partner_operator/signature1.xml [moved from tests/vcore/test-cases/widget_partner_operator/signature1.xml with 100% similarity]
tests/vcore/test-cases/reference/encoding test.empty [deleted file]
tests/vcore/test-certificate.cpp [new file with mode: 0644]
tests/vcore/test-common.cpp
tests/vcore/test-common.h
tests/vcore/test-signature-validator.cpp