You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance path handling and testing for directory and file combinations
This commit introduces several improvements to the path handling API and increases test coverage:
- Added operators for combining `AbsoluteDirectoryPath`, `RelativeDirectoryPath`, and `DirectoryPath` with `FileName`, allowing for seamless path construction.
- Implemented comprehensive unit tests to validate the new operators and ensure correct behavior across various path types.
- Enhanced existing tests for path conversion methods, including edge cases and null argument handling.
- Introduced new test classes for path utility functions, ensuring robust coverage for path-related functionalities.
These changes aim to improve the usability and reliability of the path handling features in the library.
* **Redundant Interface Conversions**: The interface conversion methods like `AsAbsoluteDirectoryPath()` are redundant given the consolidated `As*()` API and direct casting, and should be removed.
317
+
* **Path Combination Operators:**
318
+
* `AbsoluteDirectoryPath` now has an operator for combining with `FileName`.
319
+
* `RelativeDirectoryPath` also has an operator for `FileName`.
320
+
* The generic `DirectoryPath` type has an operator for `FileName` as well for consistency.
322
321
323
322
## DEBUGGING
324
323
@@ -366,4 +365,5 @@ When adding XML documentation comments:
* **Winget Manifest Generation:** Ensure the winget manifest generation script gracefully exits and reports errors clearly. Check that artifact name patterns in the script match the release files.
369
-
* **Winget Manifest Generation - Library Project Handling:** The winget manifest generation script should correctly identify library-only projects and exit gracefully, avoiding attempts to download artifacts. The script should recognize projects using custom SDK files that contain `.Lib` or `Library` in their name (like `ktsu.Sdk.Lib`) as library projects. The script should also exclude projects using custom SDK files that contain `.Test`, `.Lib`, `Test`, or `Library` from being considered as applications.
368
+
* **Winget Manifest Generation - Library Project Handling:** The winget manifest generation script should correctly identify library-only projects and exit gracefully, avoiding attempts to download artifacts. The script should recognize projects using custom SDK files that contain `.Lib` or `Library` in their name (like `ktsu.Sdk.Lib`) as library projects. The script should also exclude projects using custom SDK files that contain `.Test`, `.Lib`, `Test`, or `Library` from being considered as applications.
369
+
* Investigate whether test coverage can be increased in the string or path files.
0 commit comments