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

Ekryd / sortpom / 3807

15 Oct 2024 05:03PM CUT coverage: 99.841%. Remained the same
3807

push

circleci

web-flow
chore(deps): update dependency org.mockito:mockito-core to v5.14.2

1256 of 1258 relevant lines covered (99.84%)

1.0 hits per line

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

83.33
/sorter/src/main/java/sortpom/parameter/IndentAttribute.java
1
package sortpom.parameter;
2

3
import sortpom.exception.FailureException;
4

5
public enum IndentAttribute {
1✔
6
  NONE,
1✔
7
  SCHEMA_LOCATION,
1✔
8
  ALL;
1✔
9

10
  static IndentAttribute fromString(String indentAttribute) {
11
    if (indentAttribute == null) {
1✔
12
      return NONE;
1✔
13
    }
14
    if ("schemaLocation".equalsIgnoreCase(indentAttribute)) {
1✔
15
      return SCHEMA_LOCATION;
1✔
16
    }
17
    if ("all".equalsIgnoreCase(indentAttribute)) {
1✔
18
      return ALL;
1✔
19
    }
20
    throw new FailureException(
×
21
        String.format(
×
22
            "verifyFail must be either SCHEMA_LOCATION or ALL. Was: %s", indentAttribute));
23
  }
24
}
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

© 2025 Coveralls, Inc