diff options
Diffstat (limited to 'model')
-rw-r--r-- | model/pom.xml | 5 | ||||
-rw-r--r-- | model/src/test/java/org/onap/policy/distribution/model/TestModels.java | 9 |
2 files changed, 7 insertions, 7 deletions
diff --git a/model/pom.xml b/model/pom.xml index a9635de8..3a7f0c64 100644 --- a/model/pom.xml +++ b/model/pom.xml @@ -18,12 +18,13 @@ SPDX-License-Identifier: Apache-2.0 ============LICENSE_END========================================================= --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.onap.policy.distribution</groupId> <artifactId>policy-distribution</artifactId> - <version>3.0.0-SNAPSHOT</version> + <version>3.0.1-SNAPSHOT</version> </parent> <artifactId>distribution-model</artifactId> diff --git a/model/src/test/java/org/onap/policy/distribution/model/TestModels.java b/model/src/test/java/org/onap/policy/distribution/model/TestModels.java index e5733022..3aea3efe 100644 --- a/model/src/test/java/org/onap/policy/distribution/model/TestModels.java +++ b/model/src/test/java/org/onap/policy/distribution/model/TestModels.java @@ -21,22 +21,21 @@ package org.onap.policy.distribution.model; import com.openpojo.reflection.filters.FilterPackageInfo; -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.junit.jupiter.api.Test; /** * Class to perform unit testing of all policy models. * * @author Ram Krishna Verma (ram.krishna.verma@ericsson.com) */ -public class TestModels { +class TestModels { @Test - public void testAllModels() { - final Validator validator = ValidatorBuilder.create().with(new SetterTester()).with(new GetterTester()).build(); + void testAllModels() { + final var validator = ValidatorBuilder.create().with(new SetterTester()).with(new GetterTester()).build(); validator.validate(PolicyInput.class.getPackage().getName(), new FilterPackageInfo()); } } |