// Path: src/main/java/com/chncwang/easy2db/log/LogUtil.java
// public class LogUtil {
//     private static final String FILE_NAME_A = "log4j.properties";
//     private static final String FILE_NAME_B = "target/log4j.properties";
// 
//     public static void init() {
//         final String fileName = new File(FILE_NAME_A).exists() ? FILE_NAME_A
//                 : FILE_NAME_B;
//         PropertyConfigurator.configure(fileName);
//     }
// }


import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import org.apache.log4j.Logger;
import org.junit.Before;
import org.junit.Test;
import com.chncwang.easy2db.log.LogUtil;
package com.chncwang.easy2db;




public class DefaultEngineIntegrationTests {
    private static final Logger LOG = Logger
            .getLogger(DefaultEngineIntegrationTests.class);

    private DefaultEngine mEngine;

    @Before
    public void setUp() throws Exception {
// Path: src/main/java/com/chncwang/easy2db/log/LogUtil.java
// public class LogUtil {
//     private static final String FILE_NAME_A = "log4j.properties";
//     private static final String FILE_NAME_B = "target/log4j.properties";
// 
//     public static void init() {
//         final String fileName = new File(FILE_NAME_A).exists() ? FILE_NAME_A
//                 : FILE_NAME_B;
//         PropertyConfigurator.configure(fileName);
//     }
// }


// Path: src/test/java/com/chncwang/easy2db/DefaultEngineIntegrationTests.java
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import org.apache.log4j.Logger;
import org.junit.Before;
import org.junit.Test;
import com.chncwang.easy2db.log.LogUtil;

package com.chncwang.easy2db;




public class DefaultEngineIntegrationTests {
    private static final Logger LOG = Logger
            .getLogger(DefaultEngineIntegrationTests.class);

    private DefaultEngine mEngine;

    @Before
    public void setUp() throws Exception {
        LogUtil.init();