• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ProjektAdLer / Autorentool / 13436894106

20 Feb 2025 01:55PM UTC coverage: 94.203% (+0.007%) from 94.196%
13436894106

push

github

web-flow
ZipExtensionWrapper class added with unit tests. (#693)

* ZipExtensionWrapper class added with unit tests.

* ZipExtensionWrapperUt updated

CreateFromDirectoryAsync_NoWritePermission_ThrowsUnauthorizedAccessException updated with NSubstitute.

* Revert "ZipExtensionWrapperUt updated"

This reverts commit 1e59c9129.

* ZipExtensionWrapperUt editted

Fix von CreateFromDirectoryAsync_NoWritePermission_ThrowsUnauthorizedAccessException() test using NSubstitute.

* ZipExtensionsWrapperUt overhauled.

CreateFromDirectoryAsync_SubdirectoriesAreIncluded_CreatesArchiveWithHierarchy problems in converting tests to work with all operating systems.

* Add check for absolut path in ValidatePath.
Adjusted some tests.

* Adjusted test in DataAccessUt, as this fails due to the new validation in ZipExtensions.

* Adjusted another test in DataAccessUt.cs

* Fix test

* Change Path.IsPathRooted to Path.IsPathFullyQualified to get only absolute paths

* Fix testcases for NonAbsolutePaths for notWindows

* add some testcases for nonAbsolutePaths

* Adding method docs and renaming method in the test

---------

Co-authored-by: defnegoncu <goncu.defne@gmail.com>
Co-authored-by: Andreas Weishaupt <andreas-93@web.de>

55 of 58 new or added lines in 2 files covered. (94.83%)

17290 of 18354 relevant lines covered (94.2%)

47.18 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

95.16
/DataAccess/Extensions/ZipExtensions.cs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc