Commit Graph
53 Commits
Author SHA1 Message Date
Riyyi be74d89fea Test: Add string formatting tests 2022-07-22 12:06:42 +02:00
Riyyi a1bb1b93c9 Test: Hide JSON stderr output 2022-07-15 13:10:06 +02:00
Riyyi aa283f8c75 Test: Add Json test cases 2022-07-12 02:28:22 +02:00
Riyyi 4cac25b5b3 Manager: Change match() path argument type
Changed the path argument from directory_iterator to string, as nothing
in this function relied on the functionality.
2022-03-08 00:18:04 +01:00
Riyyi db22cc9f06 Manager: Add new pattern logic to system config files 2022-03-08 00:06:01 +01:00
Riyyi 3b4ea3f42d Manager: Rename filter() -> match()
The function returns true on a pattern match, so reflect this in the
name.
2022-03-08 00:06:01 +01:00
Riyyi ed13b1f6b5 Manager: Add new pattern logic to pulling/pushing targets 2022-03-08 00:05:54 +01:00
Riyyi 4110680cc6 Test: Run clang-format 2022-03-06 17:22:21 +01:00
Riyyi 6f1f1c3fe7 Everywhere: Rename "excludePath" to "ignorePattern" 2022-03-06 17:21:16 +01:00
Riyyi b37a8087e9 Everywhere: Change exclude path configuration formatting 2022-03-06 17:10:08 +01:00
Riyyi 832816a87e Test: Add exclude path test cases for the new /.gitignore*/ logic 2022-03-06 16:35:57 +01:00
Riyyi 57d50a6dbb Test: Add argument to not delete test files in the home directory 2022-03-06 16:33:18 +01:00
Riyyi 7f1558bc64 Manager: Change exclude path logic to /.gitignore*/ style 2022-03-06 14:48:38 +01:00
Riyyi e00ff4ba6a Test: Change expect macros to support optional parameters 2022-03-05 17:19:25 +01:00
Riyyi fa1e0abc00 Test: Add test cases for symbolic link add/pull/push actions 2022-03-02 15:43:35 +01:00
Riyyi cf27699c00 Test: Also delete symbolic links that point to non-existent files 2022-03-01 22:38:46 +01:00
Riyyi 59fe52202b Test: Update selectively commenting test to include C-style comments 2022-02-11 21:48:21 +01:00
Riyyi 16947b93e2 Manager+Test: Move exclude paths and system directories to config 2022-02-08 23:39:12 +01:00
Riyyi 12c11cff9e Manager: Move working directory to the config class 2022-02-07 21:26:50 +01:00
Riyyi 9656760ef8 Test: Move unit tests into separate directory 2022-01-31 15:56:28 +01:00
Riyyi c4019cde11 Test: Add test case for selectively commenting 2022-01-25 14:18:32 +01:00
Riyyi 91f8253ed5 Test: Update verify macro to support a custom result behavior 2022-01-25 13:58:44 +01:00
Riyyi b9aff29293 Test: Convert homeDirectory std::string => std::filesystem::path 2022-01-24 19:52:23 +01:00
Riyyi 1a9b0d870a Test: Properly test adding non-existing dotfiles 2022-01-24 19:46:41 +01:00
Riyyi c61aefa2e3 Test: Add dotfile test case for path exclusion 2022-01-24 19:39:51 +01:00
Riyyi 4fd90cfa43 Test: Only compute process ID once 2022-01-24 17:47:50 +01:00
Riyyi e2f9ed1176 Test: Fix file permissions for system file tests 2022-01-24 17:27:40 +01:00
Riyyi 422f71f19e Test: Add system file test cases 2022-01-24 15:02:15 +01:00
Riyyi ff92522b8c Test: Add stderr stream pointer to the test suite 2022-01-24 14:58:48 +01:00
Riyyi b961e17b50 Test: Set ownership of created dotfile test files to the current user 2022-01-24 14:45:40 +01:00
Riyyi eb4822b44b Test: Add macro that bails function if the condition fails 2022-01-24 14:44:04 +01:00
Riyyi 7856e9017c Test: Add dotfile test cases 2022-01-24 01:03:30 +01:00
Riyyi 817b898b28 Test: Fix memory leak when adding a test case 2022-01-24 00:29:50 +01:00
Riyyi 875a49332c Test: Add Shell and System test cases 2021-09-18 10:33:22 +02:00
Riyyi cf1da45b78 Test: Update macro output formatting 2021-09-18 09:57:25 +02:00
Riyyi 8ce4643518 Test: Add optional argument test cases 2021-09-12 21:13:44 +02:00
Riyyi 9796bc9e86 Test: Add argument test cases 2021-09-08 23:48:26 +02:00
Riyyi 952ba588f7 Test: Check non existent arguments 2021-09-08 21:54:51 +02:00
Riyyi dc4fcc10ce Util+Test: Implement exit on first error in main ArgParser loop 2021-09-07 18:14:14 +02:00
Riyyi 1c887bbaf7 Test: Print expect macros to stderr
Also now properly reporting test case failure.
2021-09-06 20:37:39 +02:00
Riyyi f92b75a463 Util+Test: Add setting to stop parsing on first non-option 2021-09-06 20:37:39 +02:00
Riyyi 072d805344 Util+Test: Add more ArgParser option types 2021-09-06 12:22:30 +02:00
Riyyi 1366bf14b1 Util+Test: Change size_type to size_t
The specialized size_type type is just an alias for size_t.
2021-09-06 01:59:08 +02:00
Riyyi 68cdd625b4 Util+Test: Add parsing of multi-value options 2021-09-06 00:08:04 +02:00
Riyyi a5c422a2cc Util+Test: Add support for '--' to enable non-option mode 2021-09-05 23:39:08 +02:00
Riyyi e813ab0f73 Test: Add test cases for string options 2021-09-05 22:56:20 +02:00
Riyyi d423fec3c5 Test: Add "not equal" macro 2021-09-05 21:13:16 +02:00
Riyyi a932079f21 Test: Improve suite print formatting 2021-09-05 21:06:10 +02:00
Riyyi 93b5ac609e Test: Capitalize function type 2021-09-05 19:08:52 +02:00
Riyyi 422224bf1c Test: Implement timer 2021-09-05 19:08:28 +02:00