fixed testcase.

This commit is contained in:
wenshao
2017-08-09 13:25:57 +08:00
parent 5ea4ac8009
commit 85db17a907
3 changed files with 9 additions and 31 deletions
@@ -1,22 +0,0 @@
package com.alibaba.druid.bvt.utils;
import junit.framework.TestCase;
import org.junit.Assert;
import com.alibaba.druid.util.PGUtils;
public class PGUtilsTest extends TestCase {
public void test_error() throws Exception {
new PGUtils();
Exception error = null;
try {
PGUtils.createXAConnection(null);
} catch (Exception e) {
error = e;
}
Assert.assertNotNull(error);
}
}