• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

leeonky / test-charm-java / 227

21 Apr 2025 03:32PM UTC coverage: 71.06% (-3.0%) from 74.052%
227

push

circleci

leeonky
Refactor UI test

6 of 15 new or added lines in 5 files covered. (40.0%)

42 existing lines in 11 files now uncovered.

6858 of 9651 relevant lines covered (71.06%)

0.71 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/DAL-java/src/main/java/com/github/leeonky/dal/runtime/InfiniteDALCollection.java
1
package com.github.leeonky.dal.runtime;
2

3
import java.util.Iterator;
4
import java.util.function.Supplier;
5

6
public class InfiniteDALCollection<E> extends IterableDALCollection<E> {
7
    public InfiniteDALCollection(Supplier<E> supplier) {
8
        super(() -> new Iterator<E>() {
1✔
9
            @Override
10
            public boolean hasNext() {
11
                return true;
1✔
12
            }
13

14
            @Override
15
            public E next() {
16
                return supplier.get();
1✔
17
            }
18
        });
19
    }
1✔
20

21
    @Override
22
    public boolean infinite() {
23
        return true;
1✔
24
    }
25

26
    @Override
27
    public boolean isEmpty() {
UNCOV
28
        return false;
×
29
    }
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc