提交 7fd3b410 authored 作者: Thomas Mueller's avatar Thomas Mueller

Formatting, use words that are in the dictionary.txt

上级 4feff806
...@@ -13,8 +13,11 @@ import java.sql.ResultSet; ...@@ -13,8 +13,11 @@ import java.sql.ResultSet;
import java.sql.SQLException; import java.sql.SQLException;
import java.sql.Statement; import java.sql.Statement;
/** Test of compatability for the SHOW statement */ /**
* Test of compatibility for the SHOW statement
*/
public class TestShow extends TestBase { public class TestShow extends TestBase {
/** /**
* Run just this test. * Run just this test.
* *
...@@ -26,12 +29,12 @@ public class TestShow extends TestBase { ...@@ -26,12 +29,12 @@ public class TestShow extends TestBase {
@Override @Override
public void test() throws SQLException { public void test() throws SQLException {
testPgCompat(); testPgCompatibility();
testMysqlCompat(); testMysqlCompatibility();
} }
private void testPgCompat() throws SQLException { private void testPgCompatibility() throws SQLException {
Connection conn = getConnection("mem:showtest"); Connection conn = getConnection("mem:pg");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
assertResult("UNICODE", stat, "SHOW CLIENT_ENCODING"); assertResult("UNICODE", stat, "SHOW CLIENT_ENCODING");
...@@ -42,8 +45,8 @@ public class TestShow extends TestBase { ...@@ -42,8 +45,8 @@ public class TestShow extends TestBase {
assertResult("UTF8", stat, "SHOW SERVER_ENCODING"); assertResult("UTF8", stat, "SHOW SERVER_ENCODING");
} }
private void testMysqlCompat() throws SQLException { private void testMysqlCompatibility() throws SQLException {
Connection conn = getConnection("mem:showtest"); Connection conn = getConnection("mem:pg");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
ResultSet rs; ResultSet rs;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论