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

box / box-java-sdk-gen / #194

12 Jun 2025 08:30AM UTC coverage: 35.732% (+0.1%) from 35.619%
#194

push

github

web-flow
test: Remove predefined dates from events integration test (box/box-codegen#740) (#329)

1 of 2 new or added lines in 1 file covered. (50.0%)

1156 existing lines in 311 files now uncovered.

16212 of 45371 relevant lines covered (35.73%)

0.36 hits per line

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

29.41
/src/main/java/com/box/sdkgen/managers/files/UpdateFileByIdHeaders.java
1
package com.box.sdkgen.managers.uploads;
2

3
import static com.box.sdkgen.internal.utils.UtilsManager.mapOf;
4

5
import java.util.Map;
6

7
public class UploadFileHeaders {
8

9
  public String contentMd5;
10

11
  public Map<String, String> extraHeaders;
12

13
  public UploadFileHeaders() {
1✔
14
    this.extraHeaders = mapOf();
1✔
15
  }
1✔
16

17
  protected UploadFileHeaders(UploadFileHeadersBuilder builder) {
×
18
    this.contentMd5 = builder.contentMd5;
×
19
    this.extraHeaders = builder.extraHeaders;
×
20
  }
×
21

22
  public String getContentMd5() {
23
    return contentMd5;
1✔
24
  }
25

26
  public Map<String, String> getExtraHeaders() {
27
    return extraHeaders;
1✔
28
  }
29

30
  public static class UploadFileHeadersBuilder {
31

32
    protected String contentMd5;
33

34
    protected Map<String, String> extraHeaders;
35

UNCOV
36
    public UploadFileHeadersBuilder() {
×
37
      this.extraHeaders = mapOf();
×
38
    }
×
39

40
    public UploadFileHeadersBuilder contentMd5(String contentMd5) {
UNCOV
41
      this.contentMd5 = contentMd5;
×
42
      return this;
×
43
    }
44

45
    public UploadFileHeadersBuilder extraHeaders(Map<String, String> extraHeaders) {
UNCOV
46
      this.extraHeaders = extraHeaders;
×
47
      return this;
×
48
    }
49

50
    public UploadFileHeaders build() {
UNCOV
51
      return new UploadFileHeaders(this);
×
52
    }
53
  }
54
}
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