remove unused code

This commit is contained in:
wenshao
2013-06-15 11:00:02 +08:00
parent b1ea268f43
commit 8f8c99cb9f
9 changed files with 20 additions and 361 deletions
@@ -0,0 +1,20 @@
package com.alibaba.druid.bvt.pool;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.druid.pool.DruidDataSourceFactory;
public class DruidDataSourceFactoryTest0 extends TestCase {
public void test_factory_null() throws Exception {
DruidDataSourceFactory factory = new DruidDataSourceFactory();
Assert.assertNull(factory.getObjectInstance(null, null, null, null));
}
public void test_factory_null_1() throws Exception {
DruidDataSourceFactory factory = new DruidDataSourceFactory();
Assert.assertNull(factory.getObjectInstance(new Object(), null, null, null));
}
}