aboutsummaryrefslogtreecommitdiffstats
path: root/appc-oam/appc-oam-bundle/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-02-27Fix failing powermock testsPatrick Brady4-0/+1258
The version of javassist coming from opendaylight is not working correctly with powermock. Adding a test scoped dependency for a working version of javassist. Test classes added in this commit are not new, they were temporarily removed as part of https://gerrit.onap.org/r/#/c/79046/ Change-Id: I193873c0d4abd7b11592a95bff9a6b07cf2d7191 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1277
2019-02-25Changes for new odl versionPatrick Brady4-1252/+0
Changes required to update to latest opendaylight version. Some powermock tests have been temporarily removed due to an powermock incompatibility. They will be fixed and re-added. Change-Id: I418d44913fcd42423d2d9bd37b189f6301eaab81 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1370
2018-12-20Test coverage in OAM and OAM message-adapterJoss Armstrong3-31/+265
Increased coverage from 19% to 96% for oam package. Increased coverage from 14% to 93% for oam.message-adapter package. Issue-ID: APPC-1290 Change-Id: I91c313ba42b49718445463a524bf80ac0734b0a9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-19Fix for test coverage in oam.utils packageJoss Armstrong3-15/+144
Removed 'PrepareForTest' annotations which were preventing test coverage of classes in appc.oam.utils package. Added unit tests for untested code. Increased line coverage of the package from 49% to 83%. Issue-ID: APPC-1287 Change-Id: I893de5281f8c46e92269be895ef304bbf87c88b9 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-18Fix for APPC-1286Joss Armstrong7-82/+571
Increased test coverage from 49% to 73% for package. Added coverage for 4 classes that were previously at 0% coverage. Refactored slow running code into a method that can be mocked to speed up execution of unit tests. Issue-ID: APPC-1286 Change-Id: I3ebe5f6bfbc59228b57d20a3c45081e40ee8e31e Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-12-03added test case to ConfigurationHelperTest.javaSandeep J1-0/+9
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ibc9c9eb7ae15b0f3ad8d728d495de4fff4512982 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-06-08Update license header in appc oam and outboundJohn McClung11-22/+11
Modify license header in appc-oam and appc-outbound java files to reflect 2018 changes. Change-Id: Icac084b8dd1e20387a298e568d1c5e44bbe851f6 Issue-ID: APPC-988 Signed-off-by: John McClung <jm1364@att.com>
2018-03-29Coverage for DmaapOutgoingMessage.javaamshegokar1-0/+88
Coverage for DmaapOutgoingMessage.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-oam-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Foam%2Fmessageadapter%2FDmaapOutgoingMessage.java Change-Id: Id7a7d8d76ad4bfce2e79ab9b62f39113dc4a8acb Issue-ID: APPC-797 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-01-08Include impacted changes for APPC-346,APPC-348Anand1-1/+0
Issue-ID: APPC-347 Change-Id: I399bc2a1e0dfd481e103032a373bb80fce5baf41 Signed-off-by: Anand <ac204h@att.com>
2017-12-13Third part of onap renamePatrick Brady11-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 Brady11-89/+89
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-27serializing OAM async taskJoey Sullivan5-139/+653
Change-Id: I0c98636c165a2cc5b9915a3950ab64744e6328c7 Issue-Id: APPC-244 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com>
2017-08-16[APPC-144] OAM operation abort messagesbeili.zhou5-19/+186
Provide abort audit log as well as notification when OAM operation is interrupted by a new OAM operation request. Fix missing ID in audit log for reject message. Issue-Id: APPC-144 Change-Id: Ie87e19949be85c085444c753fdf061f4fc45e48f Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-15[APPC-143] OAM restart operation with stop errorbeili.zhou1-3/+44
Fix OAM restart operation does not report stop failure. And also remove unused LCM OperationStatus and related comments. Issue-Id: APPC-143 Change-Id: Ia2580717ef515856725e3e50c63b17404f123325 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>
2017-08-14OAM operations 3 - JUnit testsbeili.zhou10-0/+1693
OAM operations changes are large, need to be broken down to multiple submission based on size and compilability. This is the third (last) set which covers JUnit test cases. Includes these user stories: APPC-39/41/43/44/45/46/52/77. Issue Id: APPC-38 Change-Id: I2df5e6b371d05030fb18bdd48155e4bb23034997 Signed-off-by: beili.zhou <beili.zhou@amdocs.com>