From 0b15f3bf60162a62505593186737bca98bd4349c Mon Sep 17 00:00:00 2001 From: liamfallon Date: Mon, 8 Apr 2019 17:30:54 +0000 Subject: Add lists and tests for PDP filters The policy type and policy filters for PDP groups are added in this review. Also filter tests for PDP group filter is completed. Issue-ID: POLICY-1095 Change-Id: Ia28776c809f2ab879af4007b3480621637a83f69 Signed-off-by: liamfallon --- models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'models-dao/src/test') diff --git a/models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java b/models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java index bab28c487..4bf39a059 100644 --- a/models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java +++ b/models-dao/src/test/java/org/onap/policy/models/dao/EntityTest.java @@ -328,6 +328,8 @@ public class EntityTest { pfDao.create(keyInfo5); assertEquals(3, pfDao.getAllVersions(DummyConceptEntity.class, "AAA0").size()); + assertEquals(0, pfDao.getAllVersions(null, "AAA0").size()); + assertEquals(0, pfDao.getAllVersions(DummyConceptEntity.class, null).size()); } private void testgetFilteredOps() { -- cgit 1.2.3-korg