Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump gradle/gradle-build-action from 2 to 3 #75

Merged

Bump gradle/gradle-build-action from 2 to 3

8a5070b
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Bump gradle/gradle-build-action from 2 to 3 #75

Bump gradle/gradle-build-action from 2 to 3
8a5070b
Select commit
Loading
Failed to load commit list.
GitHub Actions / JUnit Tests (dorny/test-reporter, Java 8) succeeded Feb 1, 2024 in 1s

71 passed, 0 failed and 11 skipped

Tests passed successfully

Report Passed Failed Skipped Time
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.CompilationCommandTest.xml 3✅ 80ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.compiler.CompilerCommandParserTest.xml 35✅ 371ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.mappers.MSysPathMapperTest.xml 11⚪ 36ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.parsers.PosixShellCommandLineParserTest.xml 9✅ 34ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.parsers.WindowsCommandLineParserTest.xml 7✅ 21ms
kompiledb-gson/build/test-results/test/TEST-com.saveourtool.kompiledb.gson.CompilationCommandGsonTest.xml 10✅ 128ms
kompiledb-gson/build/test-results/test/TEST-com.saveourtool.kompiledb.gson.CompilationDatabaseGsonTest.xml 7✅ 35ms

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

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

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

✅ 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 371ms with 35 passed, 0 failed and 0 skipped.

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

✅ 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 36ms with 0 passed, 0 failed and 11 skipped.

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

✅ 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 34ms with 9 passed, 0 failed and 0 skipped.

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

✅ 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 21ms with 7 passed, 0 failed and 0 skipped.

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

✅ 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 128ms with 10 passed, 0 failed and 0 skipped.

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

✅ 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 35ms with 7 passed, 0 failed and 0 skipped.

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

✅ 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()