UpsertionSteps.java 文件源码

java
阅读 20 收藏 0 点赞 0 评论 0

项目:pugtsdb 作者:
@Then("^no tags are saved$")
public void noTagsAreSaved() throws Throwable {
    try (Connection connection = pugTSDB.getDataSource().getConnection();
         Statement statement = connection.createStatement()) {
        ResultSet resultSet = statement.executeQuery("SELECT * FROM tag");

        assertFalse(resultSet.next());
    }
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号