Commit Graph

62 Commits

Author SHA1 Message Date
Martchus e1e979f9f5 Avoid use of `jq`-argument `--argjson` as it has been removed
Apprently `--slurpfile` is supposed to be used instead.
2023-12-29 18:08:25 +01:00
Martchus 6ba93048c6 Apply clang-format 2023-08-20 20:28:53 +02:00
Martchus e1fdfa744c Add test for script processing 2023-08-20 20:26:17 +02:00
Martchus 9a7108fe58 Fix `CliTests::testFileLayoutOptions()` under Windows 2023-08-19 00:10:13 +02:00
Martchus 6f7ee1ea69 Fix `CliTests::testExtraction()` under Windows 2023-08-18 23:56:49 +02:00
Martchus a2fa2e5561 Fix `CliTests::testHandlingAttachments()` under Windows 2023-08-18 23:39:35 +02:00
Martchus 4f2b8904fa Fix `CliTests::testMultipleFiles()` under Windows 2023-08-18 23:34:59 +02:00
Martchus f92d7b39dd Allow running CLI tests under Windows as well
Not all tests pass yet but it is a start
2023-08-18 23:25:57 +02:00
Martchus a18d268ea1 Use `TESTUTILS_ASSERT_EXEC` macro consistently in all CLI tests 2023-05-03 21:04:05 +02:00
Martchus 0e36eec6c7 Suppress "field not supported" for ID3v1 fields if writing ID3v2 as well 2023-05-03 21:00:59 +02:00
Martchus bc73842ae9 Add test for the --no-color, --validate and --pedantic options 2023-04-29 18:31:21 +02:00
Martchus b023c26205 Avoid use of non-standard escape character to avoid MSVC warning about it 2023-03-26 21:59:31 +02:00
Martchus 794afdb01e Print diagnostic messages to stderr
They contain errors and debugging information so stderr fits better. This
also ensures they don't conflict with the output, e.g. when extracting to
stdout.
2022-05-21 13:25:44 +02:00
Martchus 7ba63ad79f cli: Display at least MIME-type if field cannot be displayed as string 2022-03-16 19:38:51 +01:00
Martchus 11702cd35f Adapt to tagparser v11.0.0 2022-02-15 23:23:16 +01:00
Martchus 818b9a60f6 Add test for setting field value from file 2021-05-27 18:31:27 +02:00
Martchus c238900fe3 Add test for modifying cover via CLI 2021-05-10 21:32:00 +02:00
Martchus 49b0cdb1cd Don't print jq invocation when running tests by default as it is very long 2021-04-28 17:49:19 +02:00
Martchus d31fd79e87 Adapt to changes in tagparser library 2021-04-23 22:18:30 +02:00
Martchus 9fbb375924 Adapt to changes in tagparser (without making actually use of the new API) 2021-02-04 23:22:43 +01:00
Martchus 82d0834e75 Adapt to changes in tagparser 2021-02-02 11:02:30 +01:00
Martchus 0398644c8f Adapt tests to changes in tagparser library 2020-10-02 12:52:18 +02:00
Martchus 61e82c6110 Fix JSON export tests by using jq for the comparison 2020-06-10 18:45:13 +02:00
Martchus 252b44242a Adapt tests to changes in tagparser 2020-04-26 23:05:15 +02:00
Martchus 36655c067f Use override in CliTests 2019-10-27 18:50:56 +01:00
Martchus d3f84c4c39 Add conversion from ISO-639-2/B codes to language names 2019-08-17 20:58:14 +02:00
Martchus 66a45f7578 Adapt to changes in c++utilities 2019-06-12 20:47:44 +02:00
Martchus 66c9250246 Adapt to changes in c++utilities 2019-06-10 22:49:46 +02:00
Martchus 1691b9daa2 Adapt to c++utilities v5 2019-05-04 16:05:20 +02:00
Martchus 4e4f7f5b44 Adapt tests to changes in underlying library 2019-04-21 17:08:55 +02:00
Martchus 694217618f Adapt CLI tests to latest changes 2019-03-20 22:29:42 +01:00
Martchus 52a60ccdc1 Let CMake generate code for test application 2019-01-13 22:29:03 +01:00
Martchus 74d05eede9 Fix specifying custom fields
* Fix support for Vorbis comment and add test case
* Consider only fields for the current format
  when displaying tags
2019-01-02 17:12:48 +01:00
Martchus 8ad22faae5 Fix building tests under 32-bit Linux 2018-12-30 22:54:06 +01:00
Martchus 898ee2434e Test multiple strings per ID3v2.4 text frame
See https://github.com/Martchus/tageditor/issues/38
2018-07-12 10:34:38 +02:00
Martchus 52d5c5598d Test more fields 2018-06-02 19:34:35 +02:00
Martchus 0b86408637 Fix specifying track number
The way to specify the track ID for setting meta-data on
track-level conflicted with the way to specify the track
number. The track ID is now specified via 'track-id='.

This breaks the CLI, however I see it as a bug that
'track=' worked for specifying the track ID so it should
be ok.
2018-05-31 00:32:30 +02:00
Martchus c54c4e0188 Test displaying FLAC tags via CLI 2018-04-30 20:14:02 +02:00
Martchus 1f4a79403e Turn most warnings into fatal errors 2018-03-13 19:20:41 +01:00
Martchus 4b7d7a9499 Apply clang-format 2018-03-07 01:18:01 +01:00
Martchus c1a3e53dc9 Move tagparser to namespace TagParser 2018-03-06 23:10:13 +01:00
Martchus c2b2e4ac44 Adapt to new notification handling 2018-03-06 22:43:51 +01:00
Martchus 9c1c038b22 Skip test for JSON export if not enabled 2018-03-04 21:20:13 +01:00
Martchus 8614563019 Assert remove in CLI tests 2018-02-21 17:24:13 +01:00
Martchus 82ccb9b9f3 cli: Allow to set backup path 2018-02-20 21:36:55 +01:00
Martchus 9633d248f5 Test JSON export 2018-02-03 17:41:58 +01:00
Martchus 5ffa9b7d2c Improve CLI
* Use formatting
* Use more consistent format
* Show track summary
2017-09-22 00:19:24 +02:00
Martchus 5c5db1574f Update tests for c++utilities 4.10 2017-09-14 22:10:17 +02:00
Martchus 6fb6d3dcbe Allow setting track meta-data 2017-06-17 00:45:08 +02:00
Martchus 0ad4f31863 Fix compiling tests under 32-bit arch 2017-05-30 23:57:16 +02:00