Skip to content

Bump com.gradle.enterprise from 3.16 to 3.16.1 (#68) #52

Bump com.gradle.enterprise from 3.16 to 3.16.1 (#68)

Bump com.gradle.enterprise from 3.16 to 3.16.1 (#68) #52

GitHub Actions / JUnit Tests (dorny/test-reporter, Java 8) succeeded Dec 15, 2023 in 0s

JUnit Tests (dorny/test-reporter, Java 8) ✅

Tests passed successfully

Report Passed Failed Skipped Time
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.CompilationCommandTest.xml 3✅ 110ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.compiler.CompilerCommandParserTest.xml 35✅ 421ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.mappers.MSysPathMapperTest.xml 11⚪ 17ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.parsers.PosixShellCommandLineParserTest.xml 9✅ 24ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.parsers.WindowsCommandLineParserTest.xml 7✅ 16ms
kompiledb-gson/build/test-results/test/TEST-com.saveourtool.kompiledb.gson.CompilationCommandGsonTest.xml 10✅ 136ms
kompiledb-gson/build/test-results/test/TEST-com.saveourtool.kompiledb.gson.CompilationDatabaseGsonTest.xml 7✅ 36ms

✅ kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.CompilationCommandTest.xml

3 tests were completed in 110ms with 3 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.kompiledb.core.CompilationCommandTest 3✅ 110ms

✅ com.saveourtool.kompiledb.core.CompilationCommandTest

✅ should fail if arguments are empty()
✅ should fail if file is empty()
✅ should fail if command is empty()

✅ kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.compiler.CompilerCommandParserTest.xml

35 tests were completed in 421ms with 35 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.kompiledb.core.compiler.CompilerCommandParserTest 35✅ 421ms

✅ com.saveourtool.kompiledb.core.compiler.CompilerCommandParserTest

✅ include directories (quoted)(Path)
✅ language standard should be parsed()
✅ undefined macros(Path)
✅ the last language standard should take precedence()
✅ language should get inferred from the extension if unspecified (C)()
✅ nostdlibinc and nobuiltininc combined()
✅ language should be unknown if no extension()
✅ nostdinc (Clang, C++)()
✅ nobuiltininc (C++)()
✅ empty quoted include directory should be preserved(Path)
✅ dash-x none should be ignored (C++)()
✅ dash-x switch should get parsed (C++)()
✅ nostdinc (GCC, C)()
✅ defined macros(Path)
✅ language should get inferred from the extension if unspecified (C++)()
✅ nobuiltininc (C)()
✅ response file should get expanded (arguments)(Path)
✅ response file should get expanded (command)(Path)
✅ nostdlibinc()
✅ dash-x switch should get parsed (custom)()
✅ nostdinc++ (C)()
✅ nostdinc and nostdinc++ combined()
✅ language should get inferred from the extension if unspecified (custom)()
✅ dash-x switch should get parsed, the last occurrence taking precedence (C)()
✅ default standard include paths (C++)()
✅ include directories(Path)
✅ include files(Path)
✅ dash-x switch should get parsed (C)()
✅ dash-x none should be ignored (C)()
✅ nostdinc++ (C++)()
✅ dash-x switch should get parsed, the last occurrence taking precedence (C++)()
✅ default standard include paths (C)()
✅ nostdinc (Clang, C)()
✅ nostdinc (GCC, C++)()
✅ response file missing(Path)

✅ kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.mappers.MSysPathMapperTest.xml

11 tests were completed in 17ms with 0 passed, 0 failed and 11 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.kompiledb.core.io.mappers.MSysPathMapperTest 11⚪ 17ms

✅ com.saveourtool.kompiledb.core.io.mappers.MSysPathMapperTest

⚪ windows path without drive letter()
⚪ relative path should remain relative when mapped to environment()
⚪ msys root mapped to environment()
⚪ windows path()
⚪ parent of msys root mapped to environment()
⚪ root should be absolute()
⚪ unc path should be absolute()
⚪ relative path should remain relative when mapped to local()
⚪ unc path mapped to environment()
⚪ child of msys root mapped to environment()
⚪ root should be an existing directory()

✅ kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.parsers.PosixShellCommandLineParserTest.xml

9 tests were completed in 24ms with 9 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.kompiledb.core.io.parsers.PosixShellCommandLineParserTest 9✅ 24ms

✅ com.saveourtool.kompiledb.core.io.parsers.PosixShellCommandLineParserTest

✅ double-quoted arguments should be handled correctly()
✅ command should be split on whitespace()
✅ single quotation marks inside double-quoted arguments()
✅ adjacent quoted fragments glued together (no whitespace)()
✅ single-quoted arguments should be handled correctly()
✅ leading and trailing whitespace should be trimmed()
✅ double quotation marks inside single-quoted arguments()
✅ zero-length quoted arguments should be preserved()
✅ adjacent quoted and non-quoted fragments glued together (no whitespace)()

✅ kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.parsers.WindowsCommandLineParserTest.xml

7 tests were completed in 16ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.kompiledb.core.io.parsers.WindowsCommandLineParserTest 7✅ 16ms

✅ com.saveourtool.kompiledb.core.io.parsers.WindowsCommandLineParserTest

✅ double-quoted arguments should be handled correctly()
✅ command should be split on whitespace()
✅ single quotation marks inside double-quoted arguments()
✅ adjacent quoted fragments glued together (no whitespace)()
✅ leading and trailing whitespace should be trimmed()
✅ zero-length quoted arguments should be preserved()
✅ adjacent quoted and non-quoted fragments glued together (no whitespace)()

✅ kompiledb-gson/build/test-results/test/TEST-com.saveourtool.kompiledb.gson.CompilationCommandGsonTest.xml

10 tests were completed in 136ms with 10 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.kompiledb.gson.CompilationCommandGsonTest 10✅ 136ms

✅ com.saveourtool.kompiledb.gson.CompilationCommandGsonTest

✅ single command should be read successfully()
✅ non-string argument entries when reading()
✅ extra fields when reading()
✅ empty object when reading()
✅ single command should serialize successfully()
✅ single command with arguments should be read successfully()
✅ not an object when reading()
✅ null fields should be read successfully()
✅ null directory when reading()
✅ null argument entries when reading()

✅ kompiledb-gson/build/test-results/test/TEST-com.saveourtool.kompiledb.gson.CompilationDatabaseGsonTest.xml

7 tests were completed in 36ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.saveourtool.kompiledb.gson.CompilationDatabaseGsonTest 7✅ 36ms

✅ com.saveourtool.kompiledb.gson.CompilationDatabaseGsonTest

✅ empty database should serialize successfully()
✅ i-o error when reading a missing file(Path)
✅ empty database should be read successfully()
✅ simple database should serialize successfully()
✅ mixed database should be read partially()
✅ i-o error when reading a non-regular file(Path)
✅ not an array when reading a database()