mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#543 - Tidy up test logging - adjust test LoggedSqlCollector - remove logging noise when running tests
This commit is contained in:
@@ -61,7 +61,10 @@ public class TestQueryFindIterate extends BaseTestCase {
|
||||
Order order = queryIterator.next();
|
||||
Customer customer = order.getCustomer();
|
||||
// invoke lazy loading on customer, order details and order shipments
|
||||
System.out.println("order: " + order.getId() + " customerName:" + customer.getName()+" details:"+order.getDetails().size()+" shipments:"+order.getShipments().size());
|
||||
order.getId();
|
||||
customer.getName();
|
||||
order.getDetails().size();
|
||||
order.getShipments().size();
|
||||
}
|
||||
|
||||
} finally {
|
||||
|
||||
@@ -22,7 +22,6 @@ public class TestQueryJoinMulipleMany extends BaseTestCase {
|
||||
.gt("id", 0).findList();
|
||||
|
||||
Assert.assertNotNull(list);
|
||||
System.out.println(list);
|
||||
|
||||
for (Order order : list) {
|
||||
List<Contact> contacts = order.getCustomer().getContacts();
|
||||
|
||||
@@ -17,11 +17,9 @@ public class TestWhereLikeWithSlash extends BaseTestCase {
|
||||
basic.setName("slash\\monkey");
|
||||
|
||||
Ebean.save(basic);
|
||||
|
||||
|
||||
|
||||
Query<EBasic> query = Ebean.find(EBasic.class).where().like("name", "slash\\mon%").query();
|
||||
|
||||
List<EBasic> list = query.findList();
|
||||
query.findList();
|
||||
|
||||
// This doesn't work in the latest version of H2 so disable for now.
|
||||
// Still good on Postgres which was the original issue
|
||||
|
||||
Reference in New Issue
Block a user