提交 b2afe151 编写于 作者: Z zyyang

change

上级 20cd227e
...@@ -50,24 +50,27 @@ public class TSDBDatabaseMetaDataTest { ...@@ -50,24 +50,27 @@ public class TSDBDatabaseMetaDataTest {
@Test @Test
public void getURL() throws SQLException { public void getURL() throws SQLException {
String url = metaData.getURL(); Assert.assertEquals("jdbc:TAOS://localhost:6030/?user=root&password=taosdata", metaData.getURL());
System.out.println(url);
} }
@Test @Test
public void getUserName() { public void getUserName() throws SQLException {
Assert.assertEquals("root", metaData.getUserName());
} }
@Test @Test
public void isReadOnly() { public void isReadOnly() throws SQLException {
Assert.assertFalse(metaData.isReadOnly());
} }
@Test @Test
public void nullsAreSortedHigh() { public void nullsAreSortedHigh() throws SQLException {
Assert.assertFalse(metaData.nullsAreSortedHigh());
} }
@Test @Test
public void nullsAreSortedLow() { public void nullsAreSortedLow() throws SQLException {
Assert.assertTrue(metaData.nullsAreSortedLow());
} }
@Test @Test
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册