diff options
author | Hockla, Ali (ah999m) <ah999m@att.com> | 2020-01-13 14:11:46 -0600 |
---|---|---|
committer | Hockla, Ali (ah999m) <ah999m@att.com> | 2020-01-13 14:12:07 -0600 |
commit | 956a7b52188918f0f2d301a06bf0a2e31249168f (patch) | |
tree | 26c7afde6ce90c0508393074e640460d26483fa3 /policy-utils/src/test/java/org | |
parent | 7c924cf4c75be8611a88e750b05ebeabda75e182 (diff) |
policy/drools-pdp jdk11 upgrades
Issue-ID: POLICY-1589
Change-Id: I0ed05c6e471a7da6658e02a4ba3115d3a117cedd
Signed-off-by: Hockla, Ali (ah999m) <ah999m@att.com>
Diffstat (limited to 'policy-utils/src/test/java/org')
3 files changed, 11 insertions, 11 deletions
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<String, String> pair = new Pair<String, String>("foo", "bar"); assertEquals("foo", pair.first()); @@ -49,7 +49,7 @@ public class PairTripleTest { } @Test - public void tripleTest() { + public void testTriple() { Triple<String, String, String> triple = new Triple<String, String,String>("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"); |