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

coditory / quark-i18n / #12

pending completion
#12

push

github-actions

ogesaku
Expand localized messages api

22 of 22 new or added lines in 3 files covered. (100.0%)

1596 of 2144 relevant lines covered (74.44%)

0.74 hits per line

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

66.67
/src/main/java/com/coditory/quark/i18n/loader/I18nLoader.java
1
package com.coditory.quark.i18n.loader;
2

3
import org.jetbrains.annotations.NotNull;
4

5
import java.nio.file.FileSystem;
6
import java.nio.file.FileSystems;
7
import java.util.List;
8

9
@FunctionalInterface
10
public interface I18nLoader {
11
    static I18nFileLoaderBuilder classPathLoader() {
12
        return classPathLoader(Thread.currentThread().getContextClassLoader());
×
13
    }
14

15
    static I18nFileLoaderBuilder classPathLoader(ClassLoader classLoader) {
16
        return new I18nFileLoaderBuilder()
1✔
17
                .scanClassPath(classLoader);
1✔
18
    }
19

20
    static I18nFileLoaderBuilder fileSystemLoader() {
21
        return fileSystemLoader(FileSystems.getDefault());
×
22
    }
23

24
    static I18nFileLoaderBuilder fileSystemLoader(FileSystem fileSystem) {
25
        return new I18nFileLoaderBuilder()
1✔
26
                .scanFileSystem(fileSystem);
1✔
27
    }
28

29
    @NotNull
30
    List<I18nMessageBundle> load();
31
}
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