Ensure test coverage of JPA entities

This commit is contained in:
jamesagnew 2019-07-02 08:37:48 -04:00
parent 491776a7b8
commit 7b7136e3ab
1 changed files with 3 additions and 4 deletions

View File

@ -1,15 +1,14 @@
package ca.uhn.fhir.jpa.config; package ca.uhn.fhir.jpa.config;
import org.junit.Test;
import ca.uhn.fhir.jpa.model.entity.ResourceTable;
import ca.uhn.fhir.jpa.util.TestUtil; import ca.uhn.fhir.jpa.util.TestUtil;
import org.junit.Test;
public class IdentifierLengthTest { public class IdentifierLengthTest {
@Test @Test
public void testIdentifierLength() throws Exception { public void testIdentifierLength() throws Exception {
TestUtil.scanEntities(ResourceTable.class.getPackage().getName()); TestUtil.scanEntities(ca.uhn.fhir.jpa.model.entity.ResourceTable.class.getPackage().getName());
TestUtil.scanEntities(ca.uhn.fhir.jpa.entity.TermConcept.class.getPackage().getName());
} }