• 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

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

3
import java.util.Collection;
4
import java.util.List;
5
import java.util.function.Supplier;
6

7
public interface AdaptiveList<T> {
8
    DALCollection<T> list();
9

10
    List<T> soloList();
11

12
    default T single() {
UNCOV
13
        return soloList().get(0);
×
14
    }
15

16
    static <T> AdaptiveList<T> staticList(Collection<T> list) {
17
        return new StaticAdaptiveList<>(new CollectionDALCollection<>(list));
1✔
18
    }
19

20
    static <T> AdaptiveList<T> staticList(Supplier<T> supplier) {
21
        return new StaticAdaptiveList<>(new InfiniteDALCollection<>(supplier));
1✔
22
    }
23
}
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