summaryrefslogtreecommitdiffstats
path: root/src/test/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapperTests.java
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2020-06-25 09:06:11 +0200
committerZebek Bogumil <bogumil.zebek@nokia.com>2020-07-02 08:40:33 +0200
commitdfc831bbb63ca3f42dc78135bfcca66b07cd5db2 (patch)
tree025d49791fad181265da02b4cc392879e9a48a02 /src/test/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapperTests.java
parente23d317a7c5ab6f0ce61054750c95748c1f26fef (diff)
Upgrade java from 8 to 113.5.0
Issue-ID: DCAEGEN2-2287 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I1a80ac133798ec6fbd96696aaa292244b1feec05
Diffstat (limited to 'src/test/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapperTests.java')
-rw-r--r--src/test/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapperTests.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapperTests.java b/src/test/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapperTests.java
index 21feaba..0597036 100644
--- a/src/test/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapperTests.java
+++ b/src/test/java/org/onap/dcae/inventory/exceptions/mappers/DBIExceptionMapperTests.java
@@ -3,13 +3,14 @@
* dcae-inventory
* ================================================================================
* Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2020 Nokia. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -30,6 +31,7 @@ import org.junit.runner.RunWith;
import org.mockito.Mockito;
import org.onap.dcae.inventory.daos.InventoryDAOManager;
import org.powermock.api.mockito.PowerMockito;
+import org.powermock.core.classloader.annotations.PowerMockIgnore;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
import org.skife.jdbi.v2.exceptions.UnableToCreateStatementException;
@@ -42,6 +44,7 @@ import io.swagger.api.ApiResponseMessage;
* Created by mhwang on 3/8/17.
*/
@PrepareForTest({InventoryDAOManager.class})
+@PowerMockIgnore("jdk.internal.reflect.*")
@RunWith(PowerMockRunner.class)
public class DBIExceptionMapperTests {