mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
Fix obvious mistakes like spelling errors
This commit is contained in:
@@ -33,7 +33,7 @@ public class ConnectionTest extends TestCase {
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
driver = new MockDriver();
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ public class ConnectionTest2 extends TestCase {
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
driver = new MockDriver();
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ public class ConnectionTest3 extends TestCase {
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
driver = new MockDriver();
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ public class ConnectionTest4 extends TestCase {
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
driver = new MockDriver();
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public class ConnectionTest5 extends TestCase {
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
driver = new MockDriver();
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ public class DataSourceTest3 extends TestCase {
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
driver = new MockDriver();
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ public class PoolableStatementTest2 extends TestCase {
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
driver = new MockDriver();
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ public class TestCommit extends TestCase {
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
driver = new MockDriver();
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ public class TestDataSourceBasic extends TestCase {
|
||||
private DruidDataSource dataSource;
|
||||
|
||||
protected void setUp() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
driver = new MockDriver();
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ import com.alibaba.druid.stat.DruidDataSourceStatManager;
|
||||
public class TestDataSourceBasic2 extends TestCase {
|
||||
|
||||
public void test_0() throws Exception {
|
||||
DruidDataSourceStatManager.cear();
|
||||
DruidDataSourceStatManager.clear();
|
||||
|
||||
DruidDataSource dataSource = new DruidDataSource();
|
||||
dataSource.setUrl("jdbc:mock:xxx");
|
||||
|
||||
Reference in New Issue
Block a user