X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=applications%2Fcommon%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fpolicy%2Fpdp%2Fxacml%2Fapplication%2Fcommon%2FToscaPolicyTranslatorUtilsTest.java;fp=applications%2Fcommon%2Fsrc%2Ftest%2Fjava%2Forg%2Fonap%2Fpolicy%2Fpdp%2Fxacml%2Fapplication%2Fcommon%2FToscaPolicyTranslatorUtilsTest.java;h=ef74beae0c67f9430f60abb0d9405fa423c7eefe;hb=1e82ff4b693e2920dfde67cdfc30bf0648f1b097;hp=e684cde4343d72c425503b2aa5871fc9a000e0ed;hpb=f1aed94b6821c9a5246023490e6a6d772ba09452;p=policy%2Fxacml-pdp.git diff --git a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyTranslatorUtilsTest.java b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyTranslatorUtilsTest.java index e684cde4..ef74beae 100644 --- a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyTranslatorUtilsTest.java +++ b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyTranslatorUtilsTest.java @@ -3,6 +3,7 @@ * ONAP * ================================================================================ * Copyright (C) 2019-2021 AT&T Intellectual Property. All rights reserved. + * Modifications Copyright (C) 2023 Nordix Foundation. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -116,6 +117,7 @@ public class ToscaPolicyTranslatorUtilsTest { assertThat(((ApplyType) obj).getExpression()).hasSize(2); } + @SuppressWarnings("deprecation") @Test public void testDecodeProperties() throws ToscaPolicyConversionException { Data data = ToscaPolicyTranslatorUtils.decodeProperties(Map.of("value", 20), Data.class);