From b359a4b56b4527b3215b89e7d637da9fbcb022af Mon Sep 17 00:00:00 2001 From: ramverma Date: Thu, 27 Jun 2019 11:11:24 +0000 Subject: Use ToStringTester from utils-test Changing ToStringTester from utils to utils-test Bump up common to 1.5.1-SNAPSHOT Change-Id: I7427673c73bd1cc52d5f24a0542e89eb33a39ae8 Issue-ID: POLICY-1746 Signed-off-by: ramverma --- .../java/org/onap/policy/models/pdp/concepts/ModelsTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'models-pdp/src') diff --git a/models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/ModelsTest.java b/models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/ModelsTest.java index 743839362..dbe163efe 100644 --- a/models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/ModelsTest.java +++ b/models-pdp/src/test/java/org/onap/policy/models/pdp/concepts/ModelsTest.java @@ -27,8 +27,9 @@ import com.openpojo.validation.Validator; import com.openpojo.validation.ValidatorBuilder; import com.openpojo.validation.test.impl.GetterTester; import com.openpojo.validation.test.impl.SetterTester; + import org.junit.Test; -import org.onap.policy.common.utils.validation.ToStringTester; +import org.onap.policy.common.utils.test.ToStringTester; /** * Class to perform unit testing of models. @@ -41,11 +42,10 @@ public class ModelsTest { @Test public void testPdpModels() { final Validator validator = ValidatorBuilder.create().with(new ToStringTester()).with(new SetterTester()) - .with(new GetterTester()).build(); + .with(new GetterTester()).build(); // exclude Test classes and PdpMessage - validator.validate(POJO_PACKAGE, new FilterPackageInfo(), - new FilterClassName("^((?!Test$).)*$"), - new FilterClassName("^((?!" + PdpMessage.class.getName() + ").)*$")); + validator.validate(POJO_PACKAGE, new FilterPackageInfo(), new FilterClassName("^((?!Test$).)*$"), + new FilterClassName("^((?!" + PdpMessage.class.getName() + ").)*$")); } } -- cgit 1.2.3-korg