change
This commit is contained in:
parent
20cd227e76
commit
b2afe151f3
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue