#543 - Tidy up test logging - adjust test LoggedSqlCollector - remove logging noise when running tests

This commit is contained in:
Robin Bygrave
2016-01-27 19:10:52 +13:00
parent 53dd91416c
commit 424a83fa0a
2 changed files with 5 additions and 7 deletions
@@ -50,7 +50,7 @@ public class TestJsonMap extends BaseTestCase {
options = JsonWriteOptions.parsePath("(id,status,name,shippingAddress(id,line1,city),billingAddress(*),contacts(*))");
` jsonContext.toJson(map, options);
jsonContext.toJson(map, options);
// Assert.assertTrue(jsonString.indexOf("{\"1\":") > -1);
// Assert.assertTrue(jsonString.indexOf("{\"id\":1,\"status\":\"NEW\",\"name\":\"Rob\"},")
@@ -1,15 +1,13 @@
package com.avaje.tests.unitinternal;
import java.sql.Timestamp;
import java.util.Arrays;
import org.junit.Assert;
import org.junit.Test;
import com.avaje.ebean.BaseTestCase;
import com.avaje.ebean.config.EncryptKey;
import com.avaje.ebeaninternal.server.type.SimpleAesEncryptor;
import com.avaje.tests.basic.encrypt.BasicEncryptKey;
import org.junit.Assert;
import org.junit.Test;
import java.sql.Timestamp;
public class TestSimpleEncryptor extends BaseTestCase {