This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-collections.git
commit c5e5f978dbe89e5e318f861b9638d6b9c3e23984 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Oct 4 10:52:40 2024 -0400 Add BloomFilterExtractorTest --- .../bloomfilter/BloomFilterExtractorTest.java | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/src/test/java/org/apache/commons/collections4/bloomfilter/BloomFilterExtractorTest.java b/src/test/java/org/apache/commons/collections4/bloomfilter/BloomFilterExtractorTest.java new file mode 100644 index 000000000..5a4716c5d --- /dev/null +++ b/src/test/java/org/apache/commons/collections4/bloomfilter/BloomFilterExtractorTest.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.commons.collections4.bloomfilter; + +import static org.junit.jupiter.api.Assertions.assertNotNull; + +import org.junit.jupiter.api.Disabled; +import org.junit.jupiter.api.Test; + +/** + * Tests {@link BloomFilterExtractor}. + */ +public class BloomFilterExtractorTest { + + @Test + @Disabled + public void testFlattenEmpty() { + // TODO ? + assertNotNull(BloomFilterExtractor.fromBloomFilterArray(new BloomFilter[0]).flatten()); + } + + +}