GitHub Actions / JUnit Tests (dorny/test-reporter, Java 8)
succeeded
Mar 12, 2024 in 1s
71 passed, 0 failed and 11 skipped
✅ kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.CompilationCommandTest.xml
3 tests were completed in 43ms with 3 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.kompiledb.core.CompilationCommandTest | 3✅ | 43ms |
✅ 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 205ms with 35 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.kompiledb.core.compiler.CompilerCommandParserTest | 35✅ | 205ms |
✅ 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 18ms with 0 passed, 0 failed and 11 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.kompiledb.core.io.mappers.MSysPathMapperTest | 11⚪ | 18ms |
✅ 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 26ms with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.kompiledb.core.io.parsers.PosixShellCommandLineParserTest | 9✅ | 26ms |
✅ 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 9ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.kompiledb.core.io.parsers.WindowsCommandLineParserTest | 7✅ | 9ms |
✅ 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 123ms with 10 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.kompiledb.gson.CompilationCommandGsonTest | 10✅ | 123ms |
✅ 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 34ms with 7 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
com.saveourtool.kompiledb.gson.CompilationDatabaseGsonTest | 7✅ | 34ms |
✅ 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()
Loading