diff options
Diffstat (limited to 'applications/common/src/test')
-rw-r--r-- | applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyTranslatorUtilsTest.java (renamed from applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyConverterUtilsTest.java) | 6 | ||||
-rw-r--r-- | applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyConverterUtilsTest.java b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyTranslatorUtilsTest.java index cc1787c3..6fdb8772 100644 --- a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyConverterUtilsTest.java +++ b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/ToscaPolicyTranslatorUtilsTest.java @@ -29,12 +29,12 @@ import java.lang.reflect.Modifier; import org.junit.Test; -public class ToscaPolicyConverterUtilsTest { +public class ToscaPolicyTranslatorUtilsTest { @Test public void test() throws NoSuchMethodException, SecurityException { - final Constructor<ToscaPolicyConverterUtils> constructor - = ToscaPolicyConverterUtils.class.getDeclaredConstructor(); + final Constructor<ToscaPolicyTranslatorUtils> constructor + = ToscaPolicyTranslatorUtils.class.getDeclaredConstructor(); assertTrue(Modifier.isPrivate(constructor.getModifiers())); } diff --git a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java index 57800d9e..fe0f675d 100644 --- a/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java +++ b/applications/common/src/test/java/org/onap/policy/pdp/xacml/application/common/XacmlPolicyUtilsTest.java @@ -162,7 +162,7 @@ public class XacmlPolicyUtilsTest { // // Create The Match // - MatchType matchPolicyId = ToscaPolicyConverterUtils.buildMatchTypeDesignator( + MatchType matchPolicyId = ToscaPolicyTranslatorUtils.buildMatchTypeDesignator( XACML3.ID_FUNCTION_STRING_EQUAL, resource, XACML3.ID_DATATYPE_STRING, @@ -175,7 +175,7 @@ public class XacmlPolicyUtilsTest { // // Create AllOf (AND) of just Policy Id // - anyOf.getAllOf().add(ToscaPolicyConverterUtils.buildAllOf(matchPolicyId)); + anyOf.getAllOf().add(ToscaPolicyTranslatorUtils.buildAllOf(matchPolicyId)); TargetType target = new TargetType(); target.getAnyOf().add(anyOf); policy.setTarget(target); |