summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-netconf-adapter/appc-netconf-adapter-bundle/src/test
AgeCommit message (Collapse)AuthorFilesLines
2019-02-06Test coverage for AppcNetconfAdapterActivatorJoss Armstrong2-5/+47
Added 100% coverage for untested class. Moved other test file to correct package. Issue-ID: APPC-1389 Change-Id: I73e768f21d5cda8865f891c63b9ad3f3ea2cce80 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06Improve testing and coverage of netconf classJoss Armstrong1-18/+6
Test now covers main success flows and increased coverage Issue-ID: APPC-1390 Change-Id: I951d5ac3426ae6d6aa3567c80aef5a5bb95fa1c7 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-06add test file for VNFOperationalStateValidatorImplSandeep J1-0/+52
to increase code coverage Issue-ID: APPC-1086 Change-Id: I65861398bb166baa8689934a23ecb7da248bbca6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2019-02-05Test coverage in netconf-oldconnectorJoss Armstrong4-11/+221
Increased coverage from 0% to 92% for package Issue-ID: APPC-1388 Change-Id: I9f332f799f67937a40c09bdf724701ef80bbad89 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2019-02-05added test file to cover VnfType.javaSandeep J1-0/+42
to increase code coverage Issue-ID: APPC-1086 Change-Id: Ia85fd2a0fab0de8b5fbf770ce58b4f308a1e5d74 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-13Fix for APPC-1271Joss Armstrong1-31/+127
Replaced slow running tests which wait for timeout Testing time reduced from 22 seconds to 0.5 seconds Improved tests and line coverage increased from 26% to 96% Issue-ID: APPC-1271 Change-Id: I88713e5c819e5ce1bf695f6de3834db7c3007285 Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
2018-09-11Test cases configure and disconnect JschClientGanesh Chandrasekaran1-0/+18
Issue-ID: APPC-1182 Change-Id: I49db6487f48a214ccd061be323fde09546bbd228 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-11Test cases for Jsch clientGanesh Chandrasekaran4-0/+143
Issue-ID: APPC-1182 Change-Id: I67d04500b36c794bc8afb1db0b404b41bf0576a7 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-10Netconf adaptor logger coverGanesh Chandrasekaran2-1821/+40
Issue-ID: APPC-1182 Change-Id: Iff5c5c1bc54d7b767a89f6b6b98aafffa21e7a12 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-10Mocked test cases for NetconfDataAccessServiceImplGanesh Chandrasekaran1-0/+1943
Issue-ID: APPC-1182 Change-Id: I43075937348c666b87d3962b71b5def7a57e08c6 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-09-05covered cases for NetconfAdaptor2Ganesh Chandrasekaran1-0/+83
Issue-ID: APPC-1182 Change-Id: Ib3e96b5869ce95299cf6e83a6f25ad04f7373382 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-06-01junits for NetconfClientFactoryTomasz Gwozdecki1-0/+47
-Added new test class NetconfClientFactoryTest Change-Id: Ifb8fd7ab07ad1aa9bd2ea9c6d56e708748da3217 Issue-ID: APPC-913 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2018-06-01Update license header in appc-netconf-adapter fileJohn McClung8-15/+7
Modify license header in appc-netconf-adapter files to reflect 2018 updates. Change-Id: I9fb8827dd010ae0d21e04dd8cfacba4112d8115b Issue-ID: APPC-960 Signed-off-by: John McClung <jm1364@att.com>
2018-03-26Coverage testamshegokar2-0/+156
Unit Test Coverage for: 1) NetconfConnectionDetails.java 2) NetconfClientType.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-netconf-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fnetconf Change-Id: I161d7bfe5e780c7c686ae014d87208e3da36b3cd Issue-ID: APPC-780 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-26Test Coverageamshegokar2-0/+128
Unit test for:org/onap/appc/adapter/netconf/exception classes 1. DataAccessException.java 2. NetconfDAOException.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.appc%3Aappc&selected=org.onap.appc%3Aappc-netconf-adapter-bundle%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fappc%2Fadapter%2Fnetconf%2Fexception Change-Id: I9b02c0ddc01b4327135ccc754a6466105b1e18ff Issue-ID: APPC-779 Signed-off-by: amshegokar <AS00500801@techmahindra.com>
2018-03-15Add Junit for ConnectionDetails classNeha Sood1-0/+47
Change-Id: Ie0c7348583d6e99397374602c0b2cb804cda8d85 Issue-ID: APPC-734 Signed-off-by: Neha Sood <ns189k@att.com>
2018-02-01Sonar fixes in "appc-netconf-adapter-bundle"wejs6-26/+15
Change-Id: Ib5842a5f43c9437fee464e9a35e3120a11d1c6b1 Issue-ID: APPC-494 Signed-off-by: wejs <maciej.wejs@nokia.com>
2017-12-13Second part of onap renamePatrick Brady6-0/+0
This is the second commit of the rename. The folder structure is renamed for appc-adapters and appc-config in this commit. Change-Id: Iaa2b8c937ff1ca1b5d1178128961fb115ee65d9b Signed-off-by: Patrick Brady <pb071s@att.com> Issue-ID: APPC-13
2017-12-13First part of onap renamePatrick Brady7-40/+40
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-07-20Applying license changes to all filesPatrick Brady7-21/+35
[APPC-87] Fix Maven License Plugin Change-Id: I23a95b6c1020618d05f17c63c72152cf86e4d4a0 Signed-off-by: Patrick Brady <pb071s@att.com>
2017-06-06Updating licenses in all filesPatrick Brady7-21/+28
Change-Id: Ic229be3cc3e4751b9bfbd3c5c08db84ec8e7e0cb Signed-off-by: Patrick Brady <pb071s@att.com>
2017-02-15Moving all files to root directoryPatrick Brady7-0/+709
Change-Id: Ica5535fd6ec85f350fe1640b42137b49f83f10f0 Signed-off-by: Patrick Brady <pb071s@att.com>