Gradle Dependencies Check

Specification run results

View on GitHub
Total Runs Success Rate Failures Errors Skipped Total time (ms)
4 100.0% 0 0 0 0.011 seconds

Features


removeLeadingPrefixes should return /test/test.txt when invoked with /test/test.txt

Result: PASS Time: 0.001 seconds

FileUtilities.removeLeadingPrefixes(path) == expectedResult
path                        || expectedResult
"/test/test.txt"            || "/test/test.txt"
"file:/test/test.txt"       || "/test/test.txt"
"jar:/test/test.txt!/"      || "/test/test.txt"
"file:jar:/test/test.txt!/" || "/test/test.txt"
path expectedResult    
/test/test.txt /test/test.txt 0.001 seconds (PASS)

removeLeadingPrefixes should return /test/test.txt when invoked with file:/test/test.txt

Result: PASS Time: 0

FileUtilities.removeLeadingPrefixes(path) == expectedResult
path                        || expectedResult
"/test/test.txt"            || "/test/test.txt"
"file:/test/test.txt"       || "/test/test.txt"
"jar:/test/test.txt!/"      || "/test/test.txt"
"file:jar:/test/test.txt!/" || "/test/test.txt"
path expectedResult    
file:/test/test.txt /test/test.txt 0 (PASS)

removeLeadingPrefixes should return /test/test.txt when invoked with jar:/test/test.txt!/

Result: PASS Time: 0

FileUtilities.removeLeadingPrefixes(path) == expectedResult
path                        || expectedResult
"/test/test.txt"            || "/test/test.txt"
"file:/test/test.txt"       || "/test/test.txt"
"jar:/test/test.txt!/"      || "/test/test.txt"
"file:jar:/test/test.txt!/" || "/test/test.txt"
path expectedResult    
jar:/test/test.txt!/ /test/test.txt 0 (PASS)

removeLeadingPrefixes should return /test/test.txt when invoked with file:jar:/test/test.txt!/

Result: PASS Time: 0

FileUtilities.removeLeadingPrefixes(path) == expectedResult
path                        || expectedResult
"/test/test.txt"            || "/test/test.txt"
"file:/test/test.txt"       || "/test/test.txt"
"jar:/test/test.txt!/"      || "/test/test.txt"
"file:jar:/test/test.txt!/" || "/test/test.txt"
path expectedResult    
file:jar:/test/test.txt!/ /test/test.txt 0 (PASS)