summaryrefslogtreecommitdiffstats
path: root/pki/base/common/test
Commit message (Collapse)AuthorAgeFilesLines
* Replaced daemon threads with executor service.Endi Sukma Dewata2012-03-121-0/+3
| | | | | | | | | | | | The certificate status update and retrieving modifications tasks have been modified to use the executor service. Unlike daemon threads, the service will allow existing task to exit gracefully before shutting down. An abandon operation is used terminate the persistent search used for retrieving modifications. Some methods have been moved to CertificateRepository class to simplify synchronizations. Ticket #73
* Fixed DRM REST interface to use BigInteger.Endi Sukma Dewata2012-03-052-2/+2
| | | | | | | | The DRM REST interface previously uses strings for key ID and request ID. It has been modified to use KeyId and RequestId classes which can accept decimal or hex numbers and internally store it as BigInteger. Ticket #94
* Removed dependency on OSUtil.Endi Sukma Dewata2012-02-291-3/+3
| | | | | | | The OSUtil is no longer used by the code. It has been removed from build scripts and tools. Ticket #90
* Removed OS subsystem.Endi Sukma Dewata2012-02-281-1/+1
| | | | | | | | | | The OS subsystem was previously used to get the PID and to handle shutdown signals using the OSUtil. It has been removed because the functionalities can be obtained without using native code. The PID will now be read from an external PID file created by the wrapper script. The shutdown signals will now be handled by shutdown hook. Ticket #90
* Replaced BtoA/AtoB with Apache codec.Endi Sukma Dewata2012-02-231-2/+2
| | | | | | | | The OSUtil's BtoA() and AtoB() have been replaced by Base64 codec from Apache Commons library. The codec is configured to use 64-byte line width as defined in RFC 1421. Ticket #90
* Added generics (part 4).Endi Sukma Dewata2012-02-143-9/+10
| | | | | | This patch brings down the warnings from 3427 to 2917. Ticket #2
* Added generics (part 3).Endi Sukma Dewata2012-02-063-4/+4
| | | | | | This patch brings down the warnings from 3992 to 3500. Ticket #2
* Added generics (part 2).Endi Sukma Dewata2012-01-183-3/+3
| | | | | | This patch brings down the warnings from 4648 to 3992. Ticket #2
* Added generics (part 1).Endi Sukma Dewata2012-01-185-76/+100
| | | | | | | This patch is based on Adam's patch. It brings down the warnings from 6139 to 4648. Ticket #2
* Formatting - line wrap > 120 in codeAde Lee2012-01-115-14/+28
|
* Formatting (no line wrap in comments or code)Ade Lee2012-01-1114-237/+224
|
* typesafety certserv and cmscoreAdam Young2012-01-041-3/+3
| | | | Using interface instead of implementing class
* type safety for certserv.baseAdam Young2011-12-221-12/+10
| | | | more type safety
* Added unit tests for pki-util.Endi Sukma Dewata2011-12-193-275/+5
| | | | | | | | | | | 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
* Revert "Formatting"Ade Lee2011-12-0819-463/+425
| | | | This reverts commit 32150d3ee32f8ac27118af7c792794b538c78a2f.
* FormattingAde Lee2011-12-0719-425/+463
| | | | Formatted project according to eclipse project settings
* Fixed stack trace in test report.Endi Sukma Dewata2011-12-051-4/+19
| | | | | | | The report generator has been fixed to show the stack trace from the test source code. Ticket #36
* Added JUnit report generator.Endi Sukma Dewata2011-12-053-1/+266
| | | | | | | A custom JUnit test runner has been added to capture test results and generate XML reports. Ticket #36
* SerialVersionIDAdam Young2011-12-024-0/+22
| | | | Autogenerated SerialVersionID for all serializable classes
* Added support for JUnit in CMake.Endi Sukma Dewata2011-11-281-0/+93
| | | | | | | | A new function add_junit_test() has been added to execute JUnit tests in CMake. The function is used to execute the unit tests in the common package. Ticket #36
* Cleanup importsadmiyo2011-11-0418-137/+168
| | | | | | | | | | Automated changes done by Eclipse Minor tweak to one file where Eclipse was tring to find an import for Any Due to finding it in an annotated comment. https://bugzilla.redhat.com/show_bug.cgi?id=728303 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2292 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* stub unimplemented abstract methodsadmiyo2011-11-022-0/+121
| | | | | | | | | | the test code has mock objects that implement abstract interfaces, but did not implement all of the methods, causing the compiler to complain. Required as a part of the cleanup for https://bugzilla.redhat.com/show_bug.cgi?id=728303 git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2280 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
* Initial open source version based upon proprietary Red Hat Certificate ↵PKI Team2008-03-1821-0/+3267
System (RHCS) 7.3. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@2 c9f7a03b-bd48-0410-a16d-cbbf54688b0b