本文整理了Java中org.fest.assertions.ListAssert.isNullOrEmpty()
方法的一些代码示例,展示了ListAssert.isNullOrEmpty()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ListAssert.isNullOrEmpty()
方法的具体详情如下:
包路径:org.fest.assertions.ListAssert
类名称:ListAssert
方法名:isNullOrEmpty
暂无
代码示例来源:origin: debezium/debezium
assertThat(actualRecords.recordsForTopic(topicName("s2.a"))).isNullOrEmpty();
assertThat(actualRecords.recordsForTopic(topicName("s1.b"))).isNullOrEmpty();
List<SourceRecord> recordsForS1a = actualRecords.recordsForTopic(topicName("s1.a"));
assertThat(recordsForS1a.size()).isEqualTo(3);
代码示例来源:origin: debezium/debezium
final List<SourceRecord> deleteTableA = deleteRecords.recordsForTopic("server1.dbo.tablea");
final List<SourceRecord> deleteTableB = deleteRecords.recordsForTopic("server1.dbo.tableb");
Assertions.assertThat(deleteTableA).isNullOrEmpty();
Assertions.assertThat(deleteTableB).hasSize(2 * RECORDS_PER_TABLE);
代码示例来源:origin: debezium/debezium
Assertions.assertThat(records.recordsForTopic("server1.dbo.tableb")).isNullOrEmpty();
代码示例来源:origin: io.debezium/debezium-connector-postgres
assertThat(actualRecords.recordsForTopic(topicName("s2.a"))).isNullOrEmpty();
assertThat(actualRecords.recordsForTopic(topicName("s1.b"))).isNullOrEmpty();
List<SourceRecord> recordsForS1a = actualRecords.recordsForTopic(topicName("s1.a"));
assertThat(recordsForS1a.size()).isEqualTo(3);
内容来源于网络,如有侵权,请联系作者删除!