Skip to content

Add more string constants

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / JUnit Tests (dorny/test-reporter, Java 8) succeeded Jul 10, 2023 in 1s

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✅ 66ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.compiler.CompilerCommandParserTest.xml 35✅ 382ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.mappers.MSysPathMapperTest.xml 11⚪ 29ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.parsers.PosixShellCommandLineParserTest.xml 9✅ 48ms
kompiledb-core/build/test-results/test/TEST-com.saveourtool.kompiledb.core.io.parsers.WindowsCommandLineParserTest.xml 7✅ 20ms
kompiledb-gson/build/test-results/test/TEST-com.saveourtool.kompiledb.gson.CompilationCommandGsonTest.xml 10✅ 479ms
kompiledb-gson/build/test-results/test/TEST-com.saveourtool.kompiledb.gson.CompilationDatabaseGsonTest.xml 7✅ 113ms

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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