From 956a7b52188918f0f2d301a06bf0a2e31249168f Mon Sep 17 00:00:00 2001 From: "Hockla, Ali (ah999m)" Date: Mon, 13 Jan 2020 14:11:46 -0600 Subject: policy/drools-pdp jdk11 upgrades Issue-ID: POLICY-1589 Change-Id: I0ed05c6e471a7da6658e02a4ba3115d3a117cedd Signed-off-by: Hockla, Ali (ah999m) --- .../java/org/onap/policy/drools/utils/PairTripleTest.java | 6 +++--- .../org/onap/policy/drools/utils/ReflectionUtilTest.java | 4 ++-- .../onap/policy/drools/utils/logging/MdcTransactionTest.java | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) (limited to 'policy-utils/src/test') diff --git a/policy-utils/src/test/java/org/onap/policy/drools/utils/PairTripleTest.java b/policy-utils/src/test/java/org/onap/policy/drools/utils/PairTripleTest.java index fa8a62c8..ee376ba8 100644 --- a/policy-utils/src/test/java/org/onap/policy/drools/utils/PairTripleTest.java +++ b/policy-utils/src/test/java/org/onap/policy/drools/utils/PairTripleTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * policy-utils * ================================================================================ - * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2018, 2020 AT&T Intellectual Property. 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. @@ -28,7 +28,7 @@ import org.junit.Test; public class PairTripleTest { @Test - public void pairTest() { + public void testPair() { Pair pair = new Pair("foo", "bar"); assertEquals("foo", pair.first()); @@ -49,7 +49,7 @@ public class PairTripleTest { } @Test - public void tripleTest() { + public void testTriple() { Triple triple = new Triple("foo", "bar", "fiz"); assertEquals("foo", triple.first()); diff --git a/policy-utils/src/test/java/org/onap/policy/drools/utils/ReflectionUtilTest.java b/policy-utils/src/test/java/org/onap/policy/drools/utils/ReflectionUtilTest.java index 706c5f24..efcef272 100644 --- a/policy-utils/src/test/java/org/onap/policy/drools/utils/ReflectionUtilTest.java +++ b/policy-utils/src/test/java/org/onap/policy/drools/utils/ReflectionUtilTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * policy-utils * ================================================================================ - * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2017-2018, 2020 AT&T Intellectual Property. 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. @@ -39,7 +39,7 @@ public class ReflectionUtilTest { } @Test - public void reflectionTest() { + public void testReflection() { try { diff --git a/policy-utils/src/test/java/org/onap/policy/drools/utils/logging/MdcTransactionTest.java b/policy-utils/src/test/java/org/onap/policy/drools/utils/logging/MdcTransactionTest.java index 76fee77a..4a7da81c 100644 --- a/policy-utils/src/test/java/org/onap/policy/drools/utils/logging/MdcTransactionTest.java +++ b/policy-utils/src/test/java/org/onap/policy/drools/utils/logging/MdcTransactionTest.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * policy-utils * ================================================================================ - * Copyright (C) 2018-2019 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2018-2020 AT&T Intellectual Property. 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. @@ -32,7 +32,7 @@ import org.slf4j.MDC; public class MdcTransactionTest { @Test - public void resetSubTransaction() { + public void testResetSubTransaction() { MdcTransaction trans = MdcTransaction.newTransaction(null, null).resetSubTransaction(); @@ -115,7 +115,7 @@ public class MdcTransactionTest { } @Test - public void flush() { + public void testFlush() { MdcTransaction trans = MdcTransaction.newTransaction() .setRequestId(null) @@ -194,7 +194,7 @@ public class MdcTransactionTest { } @Test - public void metric() { + public void testMetric() { MdcTransaction trans = MdcTransaction.newTransaction(null, null).metric(); @@ -202,7 +202,7 @@ public class MdcTransactionTest { } @Test - public void transaction() { + public void testTransaction() { MdcTransaction trans = MdcTransaction.newTransaction(null, null).transaction(); @@ -210,7 +210,7 @@ public class MdcTransactionTest { } @Test - public void subTransaction() { + public void testSubTransaction() { MdcTransaction trans = MdcTransaction.newTransaction(null, "partner"); -- cgit 1.2.3-korg