HHH-12011 HHH 12612 - Remove unnecessary output from test case.

(cherry picked from commit 895b0bb)
This commit is contained in:
Chris Cranford 2018-05-22 09:04:22 -04:00
parent 09d26967f7
commit f4f2880127
1 changed files with 2 additions and 4 deletions

View File

@ -7,13 +7,12 @@
package org.hibernate.jpamodelgen.test.arraytype;
import org.hibernate.jpamodelgen.test.util.CompilationTest;
import org.hibernate.jpamodelgen.test.util.IgnoreCompilationErrors;
import org.hibernate.jpamodelgen.test.util.TestForIssue;
import org.hibernate.jpamodelgen.test.util.TestUtil;
import org.hibernate.jpamodelgen.test.util.WithClasses;
import org.junit.Test;
import static org.hibernate.jpamodelgen.test.util.TestUtil.assertAttributeTypeInMetaModelFor;
import static org.hibernate.jpamodelgen.test.util.TestUtil.assertMetamodelClassGeneratedFor;
/**
* @author Chris Cranford
@ -22,9 +21,8 @@ public class ArrayTestWithTypeUseTest extends CompilationTest {
@Test
@TestForIssue(jiraKey = "HHH-12011")
@WithClasses(TestEntity.class)
@IgnoreCompilationErrors
public void testArrayWithBeanValidation() {
System.out.println( TestUtil.getMetaModelSourceAsString( TestEntity.class ) );
assertMetamodelClassGeneratedFor( TestEntity.class );
// Primitive Arrays
assertAttributeTypeInMetaModelFor( TestEntity.class, "primitiveAnnotatedArray", byte[].class, "Wrong type for field." );