Skip to content

add tests

add tests #83

Triggered via push December 13, 2023 21:15
Status Failure
Total duration 3m 12s
Artifacts

CI.yml

on: push
Matrix: gradle
Fit to window
Zoom out
Zoom in

Annotations

3 errors, 18 warnings, and 5 notices
gradle (ubuntu-latest)
Process completed with exit code 1.
gradle (windows-latest)
The job was canceled because "ubuntu-latest" failed.
gradle (windows-latest)
The operation was canceled.
gradle (windows-latest)
Failed to save cache entry with path 'C:\Users\runneradmin\.gradle\caches\jars-*\*' and key: instrumented-jars-bcd8f77ecf4ea8ccf2918d6fa78569fe: Error: "C:\Program failed with error: The process 'C:\Program Files\Git\usr\bin\tar.exe' failed with exit code 2
gradle (windows-latest)
Failed to save cache entry with path 'C:\Users\runneradmin\.gradle\caches,C:\Users\runneradmin\.gradle\notifications,C:\Users\runneradmin\.gradle\.gradle-build-action' and key: v8-gradle|Windows|ci-gradle[6601884659888c253676213bdb2a7a58]-137bf5a748230f9af32b56e4f88d8e83ed8e8b57: Error: "C:\Program failed with error: The process 'C:\Program Files\Git\usr\bin\tar.exe' failed with exit code 2
gradle (windows-latest)
Failed to delete C:\Users\runneradmin\.gradle\caches\8.5\generated-gradle-jars\gradle-api-8.5.jar, which will impact caching. It is likely locked by another process. Output of 'jps -ml': 4976 jdk.jcmd/sun.tools.jps.Jps -lm 2268 org.gradle.launcher.daemon.bootstrap.GradleDaemon 8.5
gradle (windows-latest)
Unhandled error in Gradle post-action - job will continue: Error: EBUSY: resource busy or locked, unlink 'C:\Users\runneradmin\.gradle\caches\8.5\generated-gradle-jars\gradle-api-8.5.jar'
gradle (windows-latest)
Failed to delete C:\Users\runneradmin\.gradle\caches\jars-9\jars-9.lock, which will impact caching. It is likely locked by another process. Output of 'jps -ml': 2360 jdk.jcmd/sun.tools.jps.Jps -lm 2268 org.gradle.launcher.daemon.bootstrap.GradleDaemon 8.5
gradle (windows-latest)
Unhandled error in Gradle post-action - job will continue: Error: EBUSY: resource busy or locked, unlink 'C:\Users\runneradmin\.gradle\caches\jars-9\jars-9.lock'
Class is exposed outside of its visibility scope: utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java#L11
Class `Path2fImpl` is not exported from module 'com.dua3.utility'
Class is exposed outside of its visibility scope: utility/src/main/java/com/dua3/utility/math/geometry/Segment2f.java#L9
Class `Path2fImpl` is not exported from module 'com.dua3.utility'
Class is exposed outside of its visibility scope: utility/src/main/java/com/dua3/utility/text/AnsiConverter.java#L95
Class `AnsiConverterImpl` is exposed outside its defined visibility scope
Collection added to itself: utility-swing/src/main/java/com/dua3/utility/swing/StyledDocumentConverter.java#L85
'putAll()' called on collection `attributes` with itself as argument
Suspicious 'System.arraycopy()' call: utility/src/main/java/com/dua3/utility/lang/RingBuffer.java#L206
Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'
Suspicious 'System.arraycopy()' call: utility/src/main/java/com/dua3/utility/lang/RingBuffer.java#L207
Source parameter type 'java.lang.Object\[\]' is not assignable to destination parameter `a` of type 'T\[\]'
Unstable API Usage: settings.gradle.kts#L66
'FAIL_ON_PROJECT_REPOS' is declared in unstable enum 'org.gradle.api.initialization.resolve.RepositoriesMode' marked with @Incubating
Unstable API Usage: settings.gradle.kts#L66
'org.gradle.api.initialization.resolve.RepositoriesMode' is marked unstable with @Incubating
Unstable API Usage: settings.gradle.kts#L66
'getRepositoriesMode()' is marked unstable with @Incubating
Unstable API Usage: settings.gradle.kts#L67
'repositories(org.gradle.api.Action)' is marked unstable with @Incubating
Constant values: utility/src/main/java/com/dua3/utility/text/Style.java#L143
Value `TEXT_DECORATION_UNDERLINE_VALUE_NO_LINE` is always 'false'
Constant values: utility/src/main/java/com/dua3/utility/text/Style.java#L148
Value `TEXT_DECORATION_LINE_THROUGH_VALUE_LINE` is always 'true'
Constant values: utility/src/main/java/com/dua3/utility/text/Style.java#L139
Value `TEXT_DECORATION_UNDERLINE_VALUE_LINE` is always 'true'
Constant values: utility/src/main/java/com/dua3/utility/text/Style.java#L152
Value `TEXT_DECORATION_LINE_THROUGH_VALUE_NO_LINE` is always 'false'
'if' statement with identical branches: utility/src/main/java/com/dua3/utility/math/MathUtil.java#L282
Common parts with variables can be extracted from 'if'