test fixed

git-svn-id: http://code.alibabatech.com/svn/druid/trunk@728 b9813039-fb51-4c41-a8b9-e21c2acb5095
This commit is contained in:
wenshao
2011-09-11 03:35:27 +00:00
parent 0c346331ae
commit f5356ece5e
21 changed files with 92 additions and 9 deletions
@@ -31,8 +31,12 @@ import com.alibaba.druid.util.JMXUtils;
* @author admin 2011-5-4 下午02:45:21
*/
public class Case2 extends TestCase {
protected void setUp() throws Exception {
Assert.assertEquals(0, DruidDataSourceStatManager.getInstance().getDataSourceList().size());
}
protected void tearDown() throws Exception {
Assert.assertEquals(0, DruidDataSourceStatManager.getInstance().getDataSourceList().size());
Assert.assertEquals(0, DruidDataSourceStatManager.getInstance().getDataSourceList().size());
}
public void test_singleThread() throws Exception {