diff options
author | 2019-01-11 16:50:12 +0000 | |
---|---|---|
committer | 2019-01-11 18:46:20 +0000 | |
commit | 3b8e95674682403c4e43ca985964ab86226686c0 (patch) | |
tree | f68dc1dafdb4d6e73afe538b7ca146d69ddbe626 /appc-dispatcher/appc-dispatcher-common/appc-data-access-lib/src/main | |
parent | 0278639c0db548c54c81aecd1cce8b05f2c5a6dd (diff) |
Fix for unit tests in appc-data-access-lib
Increased test coverage from 32% to 82%
Removed PrepareForTest annotation from class under test
Issue-ID: APPC-1324
Change-Id: I58f7e495d0405d994132eea20ebae248d8887238
Signed-off-by: Joss Armstrong <joss.armstrong@ericsson.com>
Diffstat (limited to 'appc-dispatcher/appc-dispatcher-common/appc-data-access-lib/src/main')
-rw-r--r-- | appc-dispatcher/appc-dispatcher-common/appc-data-access-lib/src/main/java/org/onap/appc/dao/util/api/DBConnectionPoolService.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/appc-dispatcher/appc-dispatcher-common/appc-data-access-lib/src/main/java/org/onap/appc/dao/util/api/DBConnectionPoolService.java b/appc-dispatcher/appc-dispatcher-common/appc-data-access-lib/src/main/java/org/onap/appc/dao/util/api/DBConnectionPoolService.java index f497c9aa8..6f51fec3c 100644 --- a/appc-dispatcher/appc-dispatcher-common/appc-data-access-lib/src/main/java/org/onap/appc/dao/util/api/DBConnectionPoolService.java +++ b/appc-dispatcher/appc-dispatcher-common/appc-data-access-lib/src/main/java/org/onap/appc/dao/util/api/DBConnectionPoolService.java @@ -5,6 +5,8 @@ * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. * ================================================================================ * Copyright (C) 2017 Amdocs + * ================================================================================ + * Modifications (C) 2019 Ericsson * ============================================================================= * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -24,12 +26,8 @@ package org.onap.appc.dao.util.api; import org.onap.appc.dao.util.exception.DBConnectionPoolException; -import org.onap.appc.dao.util.exception.DataAccessException; import java.sql.Connection; -import java.sql.ResultSet; -import java.sql.SQLException; -import java.sql.Statement; import java.util.Map; /** |