fixed testcase, use org.junit.Assert

This commit is contained in:
wenshao
2013-08-03 16:08:46 +08:00
parent 6e5fb2e7df
commit 32b47c9012
515 changed files with 522 additions and 519 deletions
@@ -21,7 +21,7 @@ import java.util.concurrent.CountDownLatch;
import javax.management.ObjectName;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -19,7 +19,7 @@ import java.util.concurrent.CountDownLatch;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
public class TestLockCount extends TestCase {
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -3,7 +3,7 @@ package com.alibaba.druid;
import java.beans.PropertyVetoException;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import org.junit.AfterClass;
import org.junit.Before;
@@ -25,7 +25,7 @@ import java.util.concurrent.atomic.AtomicInteger;
import javax.sql.DataSource;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import org.apache.commons.dbcp.BasicDataSource;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import junit.framework.Assert;
import org.junit.Assert;
import com.alibaba.druid.benckmark.proxy.BenchmarkCase;
import com.alibaba.druid.benckmark.proxy.SQLExecutor;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import junit.framework.Assert;
import org.junit.Assert;
import com.alibaba.druid.benckmark.proxy.BenchmarkCase;
import com.alibaba.druid.benckmark.proxy.SQLExecutor;
@@ -20,7 +20,7 @@ import java.sql.ResultSet;
import java.sql.Statement;
import java.util.Date;
import junit.framework.Assert;
import org.junit.Assert;
import com.alibaba.druid.benckmark.proxy.BenchmarkCase;
import com.alibaba.druid.benckmark.proxy.SQLExecutor;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import junit.framework.Assert;
import org.junit.Assert;
import com.alibaba.druid.benckmark.proxy.BenchmarkCase;
import com.alibaba.druid.benckmark.proxy.SQLExecutor;
@@ -17,7 +17,7 @@ package com.alibaba.druid.bvt.bug;
import java.sql.Driver;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.util.IOUtils;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Statement;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -21,7 +21,7 @@ import java.sql.PreparedStatement;
import java.sql.SQLException;
import java.util.Properties;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockConnection;
@@ -17,7 +17,7 @@ package com.alibaba.druid.bvt.bug;
import java.sql.Connection;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.console;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import org.junit.runner.JUnitCore;
@@ -20,7 +20,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.encoding.EncodingConvertFilter;
@@ -9,7 +9,7 @@ import java.sql.ResultSet;
import java.sql.Statement;
import java.sql.Types;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -5,7 +5,7 @@ import java.sql.Connection;
import java.sql.Types;
import java.util.Collections;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -191,7 +191,7 @@ public class FilterChainImplTest2 extends TestCase {
CallableStatement stmt = conn.prepareCall("select ?");
stmt.registerOutParameter(1, Types.VARCHAR);
Assert.assertEquals(0F, stmt.getFloat(1));
Assert.assertTrue(0F == stmt.getFloat(1));
stmt.close();
conn.close();
@@ -202,7 +202,7 @@ public class FilterChainImplTest2 extends TestCase {
CallableStatement stmt = conn.prepareCall("select ?");
stmt.registerOutParameter(1, Types.VARCHAR);
Assert.assertEquals(0F, stmt.getFloat("1"));
Assert.assertTrue(0F == stmt.getFloat("1"));
stmt.close();
conn.close();
@@ -213,7 +213,7 @@ public class FilterChainImplTest2 extends TestCase {
CallableStatement stmt = conn.prepareCall("select ?");
stmt.registerOutParameter(1, Types.VARCHAR);
Assert.assertEquals(0D, stmt.getDouble(1));
Assert.assertTrue(0D == stmt.getDouble(1));
stmt.close();
conn.close();
@@ -224,7 +224,7 @@ public class FilterChainImplTest2 extends TestCase {
CallableStatement stmt = conn.prepareCall("select ?");
stmt.registerOutParameter(1, Types.VARCHAR);
Assert.assertEquals(0D, stmt.getDouble("1"));
Assert.assertTrue(0D == stmt.getDouble("1"));
stmt.close();
conn.close();
@@ -7,7 +7,7 @@ import java.sql.SQLException;
import java.sql.Statement;
import java.sql.Types;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -21,7 +21,7 @@ import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.atomic.AtomicLong;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.Filter;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockClob;
@@ -20,7 +20,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockConnection;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockConnection;
@@ -6,7 +6,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -6,7 +6,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collections;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -6,7 +6,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -6,7 +6,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Collections;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -6,7 +6,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -6,7 +6,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -5,7 +5,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import org.nutz.lang.stream.StringReader;
@@ -5,7 +5,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -5,7 +5,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.filter.config;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.config.ConfigFilter;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.filter.config;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.config.ConfigFilter;
@@ -4,7 +4,7 @@ import java.io.File;
import java.io.FileOutputStream;
import java.util.Properties;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.config.ConfigFilter;
@@ -4,7 +4,7 @@ import java.io.File;
import java.io.FileOutputStream;
import java.util.Properties;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.config.ConfigFilter;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.filter.config;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.config.ConfigFilter;
@@ -2,7 +2,7 @@ package com.alibaba.druid.bvt.filter.config;
import java.util.Random;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.config.ConfigTools;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.filter.wall;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.sql.SQLUtils;
@@ -15,7 +15,7 @@
*/
package com.alibaba.druid.bvt.filter.wall;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.sql.SQLUtils;
@@ -19,7 +19,7 @@ import java.lang.management.ManagementFactory;
import javax.management.ObjectName;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import org.springframework.context.support.ClassPathXmlApplicationContext;
@@ -20,7 +20,7 @@ import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockCallableStatement;
@@ -20,7 +20,7 @@ import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -18,7 +18,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.util.Properties;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -21,7 +21,7 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -17,7 +17,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DataSourceClosedException;
@@ -18,7 +18,7 @@ package com.alibaba.druid.bvt.pool;
import java.lang.reflect.Field;
import java.sql.Connection;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -18,7 +18,7 @@ package com.alibaba.druid.bvt.pool;
import java.lang.reflect.Field;
import java.sql.Connection;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -17,7 +17,7 @@ package com.alibaba.druid.bvt.pool;
import java.lang.reflect.Field;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DataSourceDisableException;
@@ -7,7 +7,7 @@ import java.sql.Statement;
import java.util.Properties;
import java.util.concurrent.CountDownLatch;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -2,7 +2,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -2,7 +2,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.SQLException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.FilterAdapter;
@@ -3,7 +3,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.util.Properties;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -17,7 +17,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -2,7 +2,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -3,7 +3,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.sql.PreparedStatement;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -2,7 +2,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DataSourceDisableException;
@@ -2,7 +2,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -3,7 +3,7 @@ package com.alibaba.druid.bvt.pool;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicInteger;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -4,7 +4,7 @@ import java.sql.Connection;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicInteger;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -4,7 +4,7 @@ import java.sql.Connection;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -3,7 +3,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.sql.Savepoint;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -20,7 +20,7 @@ import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLFeatureNotSupportedException;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockResultSet;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockResultSet;
@@ -6,7 +6,7 @@ import java.sql.ResultSet;
import java.util.List;
import java.util.Map;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -17,7 +17,7 @@ package com.alibaba.druid.bvt.pool;
import java.util.Properties;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.Constants;
@@ -3,7 +3,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.util.concurrent.locks.ReentrantLock;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -18,7 +18,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.sql.PreparedStatement;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -18,7 +18,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.sql.PreparedStatement;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -18,7 +18,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.sql.PreparedStatement;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -15,7 +15,7 @@
*/
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidConnectionHolder;
@@ -15,7 +15,7 @@
*/
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidConnectionHolder;
@@ -17,7 +17,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -18,7 +18,7 @@ package com.alibaba.druid.bvt.pool;
import java.sql.Connection;
import java.util.Properties;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -1,6 +1,6 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidPooledPreparedStatement.PreparedStatementKey;
@@ -4,7 +4,7 @@ import java.sql.Connection;
import java.sql.Savepoint;
import java.sql.Statement;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockConnection;
@@ -15,7 +15,7 @@
*/
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.stat.StatFilter;
@@ -15,7 +15,7 @@
*/
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.filter.stat.StatFilter;
@@ -15,7 +15,7 @@
*/
package com.alibaba.druid.bvt.pool;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockConnection;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockStatement;
@@ -19,7 +19,7 @@ import java.sql.CallableStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockStatement;
@@ -20,7 +20,7 @@ import java.sql.ResultSet;
import java.sql.Statement;
import java.util.concurrent.CountDownLatch;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -20,7 +20,7 @@ import java.sql.SQLException;
import java.util.Properties;
import java.util.concurrent.atomic.AtomicInteger;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.mock.MockDriver;
@@ -21,7 +21,7 @@ import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.atomic.AtomicLong;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;
@@ -19,7 +19,7 @@ import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import junit.framework.Assert;
import org.junit.Assert;
import junit.framework.TestCase;
import com.alibaba.druid.pool.DruidDataSource;

Some files were not shown because too many files have changed in this diff Show More