xenadmin/XenAdminTests
Danilo Del Busso 86fa2f6abf
CA-375900: Prepend \\?\ to file paths when creating streams for archive generation (#3184)
* CA-375900: Prepend `//?/` to file paths when creating streams for archive generation
The string works to enable creation of files with paths larger than 260 characters.
* CA-375900: Add directory support and rename utility method
* Fix whitespace in `ArchiveWriterTest`
* CA-375900: Explicitly enumerate files and directories in `ArchiveWriter`
`Directory.GetFiles` and `Directory.GetDirectories` do not enumerate if paths are longer than 260, even when prepended with `//?/`.
* CA-375900: Add long path tests to `ArchiveWriter`
* CA-375900: Add long path tests to `ArchiveIterator`
* CA-375900: Ensure files are added to folders in archive
* Use a recursive method to add directories and files to archive in `ArchiveIterator`
Also improves progress reporting by basing it on directory count
* Fix typos
* Expand `ArchiveWriterTests` to cover all combinations of directory and path lengths
* Ensure that directories used in recursive `Directory.Delete` calls are using long path format
If files in the directory exceed the 260 character limit, the calls will fail
* Expand `ArchiveIteratorTests` to cover all combinations of directory and path lengths
* Ensure relative path name removes `rootPath`
* Fix typo
* Do not use long paths when importing OVFs
The import uses `DiscUtils` which cannot handle paths prepended with `//?/`
* Remove use of `ToLongWindowsPath` within appliance export
This partially reverts commit 819425855c56c14b937849714b359003465bd2f4.
* Refactoring and some corrections.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
Co-authored-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-09-22 15:41:54 +01:00
..
ArchiveTests CA-375900: Prepend \\?\ to file paths when creating streams for archive generation (#3184) 2023-09-22 15:41:54 +01:00
CodeTests CP-45071: Convert XenCenter build scripts to PowerShell. (#3219) 2023-09-06 15:48:12 +01:00
CommandTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
CompressionTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Controls Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Diagnostics Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
DialogTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
FolderTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
LicensingTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MainWindowWrapper Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MiscTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
PluginTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
Properties Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
SearchTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
StringExtensionsTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
TabsAndMenus Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
TestResources Renamed placeholders so they are easier to understand. 2023-01-25 12:50:49 +00:00
TreeTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
UnitTests CP-40407: Removed fakeAPI and usage of XmlRpcProxy classes in the application. 2023-03-31 14:17:55 +01:00
WizardTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
XenModelTests Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
XenOvf Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ClassVerifiers.cs CP-40842: Remove CIS upload from Server Status Report wizard (#3087) 2023-02-13 13:47:21 +00:00
DatabaseTester.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MainWindowLauncher.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MainWindowTester.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
ManagedTester.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
MockConnectionManager.cs CP-40407: Removed fakeAPI and usage of XmlRpcProxy classes in the application. 2023-03-31 14:17:55 +01:00
TestCategories.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
TestDatabaseManager.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
TestObjectProvider.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
TestUtils.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
UnitTester.cs Updated copyright notice on files. 2023-01-30 16:24:16 +00:00
XenAdminTests.csproj CP-40739: Build with VS 2022. 2023-08-24 14:19:07 +01:00