diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2011-12-13 14:10:03 -0600 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2011-12-19 10:38:34 -0500 |
commit | 6e4b6268b40d5994eb43dd1b5702c5465c974ca1 (patch) | |
tree | 49cc61e2b8ff949bd61e98f4aead9d75e290efd4 /pki/base/common/test/CMakeLists.txt | |
parent | 171aaece4f23709d33d180cf36eb3af5e454b0c9 (diff) | |
download | pki-6e4b6268b40d5994eb43dd1b5702c5465c974ca1.tar.gz pki-6e4b6268b40d5994eb43dd1b5702c5465c974ca1.tar.xz pki-6e4b6268b40d5994eb43dd1b5702c5465c974ca1.zip |
Added unit tests for pki-util.
New unit tests have been added to test string converters indirectly.
This is to allow replacing the converters with charset encoder and
decoder without changing the test cases.
The TestRunner has been moved into a separate package such that it
can be reused by other packages.
Ticket #3
Diffstat (limited to 'pki/base/common/test/CMakeLists.txt')
-rw-r--r-- | pki/base/common/test/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pki/base/common/test/CMakeLists.txt b/pki/base/common/test/CMakeLists.txt index 8618bd023..7ded236f0 100644 --- a/pki/base/common/test/CMakeLists.txt +++ b/pki/base/common/test/CMakeLists.txt @@ -51,15 +51,14 @@ set(pki-common-test_SRCS com/netscape/cmscore/request/RequestTest.java com/netscape/cmscore/test/CMSBaseTestCase.java com/netscape/cmscore/test/TestHelper.java - com/netscape/test/TestListener.java - com/netscape/test/TestRunner.java ) set(CMAKE_JAVA_INCLUDE_PATH ${PKI_NSUTIL_JAR} ${PKI_CMSUTIL_JAR} ${PKI_CERTSRV_JAR} ${PKI_CMS_JAR} ${PKI_CMSCORE_JAR} ${PKI_CMSBUNDLE_JAR} ${LDAPJDK_JAR} ${SERVLET_JAR} ${VELOCITY_JAR} ${XALAN_JAR} ${XERCES_JAR} - ${JSS_JAR} ${OSUTIL_JAR} ${SYMKEY_JAR} ${JUNIT_JAR} + ${JSS_JAR} ${OSUTIL_JAR} ${SYMKEY_JAR} + ${PKI_TEST_JAR} ${JUNIT_JAR} ) set(CMAKE_JAVA_TARGET_VERSION ${APPLICATION_VERSION}) @@ -72,6 +71,7 @@ add_jar(pki-common-test ${pki-common-test_SRCS}) add_dependencies(pki-common-test osutil pki-nsutil pki-cmsutil pki-certsrv pki-cms pki-cmscore pki-cmsbundle + pki-test ) # create test target @@ -83,7 +83,8 @@ add_junit_test(test-pki-common ${PKI_NSUTIL_JAR} ${PKI_CMSUTIL_JAR} ${PKI_CERTSRV_JAR} ${PKI_CMS_JAR} ${PKI_CMSCORE_JAR} ${PKI_CMSBUNDLE_JAR} ${LDAPJDK_JAR} ${SERVLET_JAR} ${VELOCITY_JAR} - ${JSS_JAR} ${OSUTIL_JAR} ${SYMKEY_JAR} ${JUNIT_JAR} + ${JSS_JAR} ${OSUTIL_JAR} ${SYMKEY_JAR} + ${PKI_TEST_JAR} ${JUNIT_JAR} TESTS com.netscape.certsrv.authentication.AuthTokenTest com.netscape.certsrv.request.AgentApprovalsTest |