HHH-7940 - Remove unnecessary test case output.
This commit is contained in:
parent
8db194e8a6
commit
8002595e86
|
@ -38,7 +38,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
@Priority(10)
|
@Priority(10)
|
||||||
public void initData() {
|
public void initData() {
|
||||||
// Revision 1 - Create indexed entries.
|
// Revision 1 - Create indexed entries.
|
||||||
System.out.println( "--- REV 1 ---" );
|
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
Parent p = new Parent( 1 );
|
Parent p = new Parent( 1 );
|
||||||
p.getChildren().add( "child1" );
|
p.getChildren().add( "child1" );
|
||||||
|
@ -46,7 +45,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.persist( p );
|
entityManager.persist( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 2 ---" );
|
|
||||||
// Revision 2 - remove an indexed entry, resetting positions.
|
// Revision 2 - remove an indexed entry, resetting positions.
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -55,7 +53,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 3 ---" );
|
|
||||||
// Revision 3 - add new indexed entity to reset positions
|
// Revision 3 - add new indexed entity to reset positions
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -64,7 +61,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 4 ---" );
|
|
||||||
// Revision 4 - remove all children
|
// Revision 4 - remove all children
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
|
|
@ -38,7 +38,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
@Priority(10)
|
@Priority(10)
|
||||||
public void initData() {
|
public void initData() {
|
||||||
// Revision 1 - Create indexed entries.
|
// Revision 1 - Create indexed entries.
|
||||||
System.out.println( "--- REV 1 ---" );
|
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
Parent p = new Parent( 1 );
|
Parent p = new Parent( 1 );
|
||||||
p.getChildren().add( "child1" );
|
p.getChildren().add( "child1" );
|
||||||
|
@ -46,7 +45,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.persist( p );
|
entityManager.persist( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 2 ---" );
|
|
||||||
// Revision 2 - remove an indexed entry, resetting positions.
|
// Revision 2 - remove an indexed entry, resetting positions.
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -55,7 +53,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 3 ---" );
|
|
||||||
// Revision 3 - add new indexed entity to reset positions
|
// Revision 3 - add new indexed entity to reset positions
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -64,7 +61,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 4 ---" );
|
|
||||||
// Revision 4 - remove all children
|
// Revision 4 - remove all children
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
|
|
@ -38,7 +38,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
@Priority(10)
|
@Priority(10)
|
||||||
public void initData() {
|
public void initData() {
|
||||||
// Revision 1 - Create indexed entries.
|
// Revision 1 - Create indexed entries.
|
||||||
System.out.println( "--- REV 1 ---" );
|
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
Parent p = new Parent( 1 );
|
Parent p = new Parent( 1 );
|
||||||
p.addChild( new Child( 1, "child1" ) );
|
p.addChild( new Child( 1, "child1" ) );
|
||||||
|
@ -47,7 +46,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
p.getChildren().forEach( entityManager::persist );
|
p.getChildren().forEach( entityManager::persist );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 2 ---" );
|
|
||||||
// Revision 2 - remove an indexed entry, resetting positions.
|
// Revision 2 - remove an indexed entry, resetting positions.
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -56,7 +54,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 3 ---" );
|
|
||||||
// Revision 3 - add new indexed entity to reset positions
|
// Revision 3 - add new indexed entity to reset positions
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -68,7 +65,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 4 ---" );
|
|
||||||
// Revision 4 - remove all children
|
// Revision 4 - remove all children
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
|
|
@ -38,7 +38,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
@Priority(10)
|
@Priority(10)
|
||||||
public void initData() {
|
public void initData() {
|
||||||
// Revision 1 - Create indexed entries.
|
// Revision 1 - Create indexed entries.
|
||||||
System.out.println( "--- REV 1 ---" );
|
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
Parent p = new Parent( 1 );
|
Parent p = new Parent( 1 );
|
||||||
p.addChild( new Child( 1, "child1" ) );
|
p.addChild( new Child( 1, "child1" ) );
|
||||||
|
@ -47,7 +46,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
p.getChildren().forEach( entityManager::persist );
|
p.getChildren().forEach( entityManager::persist );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 2 ---" );
|
|
||||||
// Revision 2 - remove an indexed entry, resetting positions.
|
// Revision 2 - remove an indexed entry, resetting positions.
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -56,7 +54,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 3 ---" );
|
|
||||||
// Revision 3 - add new indexed entity to reset positions
|
// Revision 3 - add new indexed entity to reset positions
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -68,7 +65,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 4 ---" );
|
|
||||||
// Revision 4 - remove all children
|
// Revision 4 - remove all children
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
|
|
@ -39,7 +39,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
@Priority(10)
|
@Priority(10)
|
||||||
public void initData() {
|
public void initData() {
|
||||||
// Revision 1 - Create indexed entries.
|
// Revision 1 - Create indexed entries.
|
||||||
System.out.println( "--- REV 1 ---" );
|
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
Parent p = new Parent( 1 );
|
Parent p = new Parent( 1 );
|
||||||
p.addChild( new Child( 1, "child1" ) );
|
p.addChild( new Child( 1, "child1" ) );
|
||||||
|
@ -48,7 +47,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
p.getChildren().forEach( entityManager::persist );
|
p.getChildren().forEach( entityManager::persist );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 2 ---" );
|
|
||||||
// Revision 2 - remove an indexed entry, resetting positions.
|
// Revision 2 - remove an indexed entry, resetting positions.
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -57,7 +55,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 3 ---" );
|
|
||||||
// Revision 3 - add new indexed entity to reset positions
|
// Revision 3 - add new indexed entity to reset positions
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -69,7 +66,6 @@ public class IndexColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 4 ---" );
|
|
||||||
// Revision 4 - remove all children
|
// Revision 4 - remove all children
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
|
|
@ -39,7 +39,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
@Priority(10)
|
@Priority(10)
|
||||||
public void initData() {
|
public void initData() {
|
||||||
// Revision 1 - Create indexed entries.
|
// Revision 1 - Create indexed entries.
|
||||||
System.out.println( "--- REV 1 ---" );
|
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
Parent p = new Parent( 1 );
|
Parent p = new Parent( 1 );
|
||||||
p.addChild( new Child( 1, "child1" ) );
|
p.addChild( new Child( 1, "child1" ) );
|
||||||
|
@ -48,7 +47,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
p.getChildren().forEach( entityManager::persist );
|
p.getChildren().forEach( entityManager::persist );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 2 ---" );
|
|
||||||
// Revision 2 - remove an indexed entry, resetting positions.
|
// Revision 2 - remove an indexed entry, resetting positions.
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -57,7 +55,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 3 ---" );
|
|
||||||
// Revision 3 - add new indexed entity to reset positions
|
// Revision 3 - add new indexed entity to reset positions
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
@ -69,7 +66,6 @@ public class OrderColumnListTest extends BaseEnversJPAFunctionalTestCase {
|
||||||
entityManager.merge( p );
|
entityManager.merge( p );
|
||||||
} );
|
} );
|
||||||
|
|
||||||
System.out.println( "--- REV 4 ---" );
|
|
||||||
// Revision 4 - remove all children
|
// Revision 4 - remove all children
|
||||||
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
TransactionUtil.doInJPA( this::entityManagerFactory, entityManager -> {
|
||||||
final Parent p = entityManager.find( Parent.class, 1 );
|
final Parent p = entityManager.find( Parent.class, 1 );
|
||||||
|
|
Loading…
Reference in New Issue