summaryrefslogtreecommitdiffstats
path: root/appc-common/src/test
AgeCommit message (Collapse)AuthorFilesLines
2018-06-13More updates to lic header in appc propertiesJohn McClung4-8/+4
License header fixes to reflect 2018 changes in various appc-adapters, appc-client, appc-common, appc-config, appc-dg and appc-directed-graph java and properties files. Change-Id: Idbe000f175e11ba42f6e83689a2b2d3d353be008 Issue-ID: APPC-996 Signed-off-by: John McClung <jm1364@att.com>
2018-06-05More license header updates to appc-common filesJohn McClung22-43/+21
Modify license header in appc-common files to reflect 2018 changes. Change-Id: Id4183e9f4f8a95263a01f04d41505ce25d81ce07 Issue-ID: APPC-966 Signed-off-by: John McClung <jm1364@att.com>
2018-06-01Continue removing ECOMP trademark from lic header.John McClung4-8/+4
Remove ECOMP trademark license header in miscellaneous files. Change-Id: I76e386462402cb959de377b56997ecf7986ffd6b Issue-ID: APPC-931 Signed-off-by: John McClung <jm1364@att.com>
2018-04-11Add junit coverage to PoolException classMei Su1-0/+73
Introduce junit-tests for PoolException class Issue-ID: APPC-845 Change-Id: Id33a660decb77b0fe8662d29bd7676efd08d8e4b Signed-off-by: Mei Su <ms6523@att.com>
2018-04-10Add junit coverage to PoolExtensionException classMei Su1-0/+36
Introduce junit-tests for PoolExtensionException class Issue-ID: APPC-843 Change-Id: I7155317dc5c060dc08b26d8b87103bcb2a8f19b4 Signed-off-by: Mei Su <ms6523@att.com>
2018-04-10Add junit coverage to PoolDrainedException classMei Su1-0/+36
Introduce junit-tests for PoolDrainedException class Issue-ID: APPC-842 Change-Id: I0c52d20838ad1131603c126a89fd9b6b289d418f Signed-off-by: Mei Su <ms6523@att.com>
2018-04-09Add junit coverage to CmdLine classZihmin Hoover1-0/+42
Introduce junit-tests for CmdLine class Change-Id: I23394ad80882a667dd8189ee9f91441dcf0e31b4 Issue-ID: APPC-838 Signed-off-by: Zihmin Hoover <zh4590@att.com>
2018-04-09Add junit coverage to UnmodifiableProperties classJohn McClung1-5/+173
Introduce junit-tests for EncryptionTool class Change-Id: Ia6a727ae5b224c152d2615a32f1b91aaeeb2eb60 Issue-ID: APPC-836 Signed-off-by: John McClung <jm1364@att.com>
2018-04-02Add junit coverage to UnmodifiableProperties classJohn McClung1-0/+174
Introduce junit-tests for UnmodifiableProperties class Change-Id: I51f44c676a0cd8fef808ca2e33fea8afc7e52453 Issue-ID: APPC-820 Signed-off-by: John McClung <jm1364@att.com>
2018-03-29Add junit coverage to Time classShailendra Borale1-0/+79
Introduce junit-tests for Time class, corrected license Change-Id: If5c3771325d4945f6f1135cfb4df8e923d0a0663 Issue-ID: APPC-809 Signed-off-by: Shailendra Borale <sb8915@att.com>
2018-03-28Add junit coverage to LoggingUtils classDan McMillan1-0/+357
Introduce junit-tests for LoggingUtils class Change-Id: Ieb4a14fb258abbef77e9b67398851317e3f08098 Issue-ID: APPC-802 Signed-off-by: Dan McMillan <dm3821@att.com>
2018-03-15HexHelper unit testsJakub Dudycz1-0/+79
Improved code coverage. Change-Id: Ic3503ae79199767f3162c861f13ff1ecc889e1ec Issue-ID: APPC-742 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-15EncryptionTool unit testsJakub Dudycz1-10/+37
Improved code coverage. Change-Id: I8882a9fd274b4ce03ef784aac89cdfbb786af4fe Issue-ID: APPC-742 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-14MetadataServiceImplTest unit testsJakub Dudycz2-54/+138
Improved code coverage. Change-Id: I20a0af3050bc78b470377486f7493d72f8ba0f78 Issue-ID: APPC-731 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13StringHelper unit testsJakub Dudycz2-107/+367
Improved code coverage + some test class refactor Change-Id: I5211d69369d0d3aff0ebe5ee603545f171dfd07a Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13StreamHelper unit testsJakub Dudycz1-5/+11
Improved code coverage Change-Id: Ie0dcf723e73890aa24b761fb3b46e2739d239040 Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13PathContext unit testsJakub Dudycz1-0/+123
Improved code coverage Change-Id: I8b7d1fe8a033bd1c4df34bdd74efc011dc130a46 Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13MessageFormatter unit testsJakub Dudycz1-6/+66
Improved code coverage Change-Id: I8ef81c6c8efaa796d62d8913e7dfbf160bf3c02d Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-03-13JsonUtil unit testsJakub Dudycz5-83/+148
Improved code coverage + some test class refactor Change-Id: Ie69f4a699f7f924438eda24014c44fe54643e707 Issue-ID: APPC-724 Signed-off-by: Jakub Dudycz <jakub.dudycz@nokia.com>
2018-02-28Extraction of try catch in ConfigurationFactorykjaniak1-0/+15
Try catch block placed in new private method getClonedDefaultConfiguration, minor changes added, UT for class added. Change-Id: Ic908e6d3a8fe179a2a38d922d10e24cff76a21da Issue-ID: APPC-674 Signed-off-by: kjaniak <kornel.janiak@nokia.com>
2017-12-19Platform hardening for common bundleSkip Wonnell13-808/+199
General code clean up code Additional test cases Support for APPC-348, APPC-349 Issue-ID: APPC-305 Change-Id: I341c960bb33794c681aea86f2bd1b415294ec03f Signed-off-by: Skip Wonnell <skip@att.com>
2017-12-13Third part of onap renamePatrick Brady25-0/+0
This part of the commit changes the folder structure on all other folders of appc. Change-Id: I8acfa11cdfcdcd36be0e137245d1dd7324f1abd3 Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady22-51/+51
This is the first commit of the rename. This commit changes refereces to org.openecomp.appc > org.onap.appc that occur within files. The package folder structure is not changed in this commit. Change-Id: Ic95d749eb99d8a6f4f2b9ee9b06eb41c5cfa7e1c Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-09-27Increase sonar coverage for commonbeili.zhou12-2/+1013
Add Junit test in appc-common - cache - cache/impl - configuration - exceptions - i18n - logging Issue-Id: APPC-230 Change-Id: I04c457da4dfa881c1109273b8fd3e16e76ebd68f Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-09-14Update TTL calculation to use millisecondsSkip Wonnell1-0/+764
Code used mix of seconds and milliseconds calculate TTL. Updated to use consistent units. Also added a new test file to increase code coverage. Issue-ID: APPC-207 Issue-ID: APPC-181 Change-Id: I07687ac30fa2e75cedb027ec2bb71f6914d42075 Signed-off-by: Skip Wonnell <skip@att.com>
2017-09-07Change to CCSDK and ODL CarbonPatrick Brady1-1/+1
Change-Id: I49a0f436e366ff4a1b99705fb6bb5e7ba82e6ecc Signed-off-by: Patrick Brady <pb071s@att.com> Issue-Id: [APPC-91] Issue-Id: [APPC-158]
2017-08-02Merging in bug fixesPatrick Brady1-2/+3
Change-Id: I85da90b9ba0d03149f42035a820c76ef0285e413 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-100
2017-07-20Applying license changes to all filesPatrick Brady13-39/+65
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady13-39/+52
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-02Merge of new rebased codePatrick Brady1-0/+51
Change-Id: I9b8d1f69eb3e0af1935ed8304fea4bf54c1aac47 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-05-08Remove unused class StreamHelperGary Wu1-78/+0
Change-Id: I217ef6d42065f029434e55aeed259604ce68689a Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
2017-02-15Moving all files to root directoryPatrick Brady13-0/+1435
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>