proper fix: use Path to TestDirectory
https://github.com/nunit/docs/wiki/Breaking-Changes
CurrentDirectory:
No longer set to the directory containing the test assembly. Use TestContext.CurrentContext.TestDirectory to locate that directory.
fix Test CertificateDialogTests
Path to the Cert was build as:
xenadmin\TestResources\TestDevCertificate.cer
but should be:
xenadmin\XenAdminTests\TestResources\TestDevCertificate.cer
fix Test TestFailingReaderGeneration
Ionic.BZip2 is throwing an IOException:
System.IO.IOException: 'Not a valid BZip2 stream. byte 0, expected '66', got '-1''
use update.xml in master brach on github (as a first solution)
https://github.com/xcp-ng/xenadmin/issues/29
Do not check for ContainerCapability on XCP-ng, just belive in it :-)
If server is in not licenced, don't show alert icon
Changed SetUp to OneTimeSetup in SetUpFixture
https://github.com/xcp-ng/xenadmin/issues/24
abort, if BUILD_NUMBER environment variable is not set
build automation
Ignore ".vs" folder
splash buildable with Visual Studio Community 2018
https://github.com/xcp-ng/xenadmin/issues/24 Get Tests running
https://github.com/xcp-ng/xenadmin/issues/24 Get Tests running
real world: edition "platinum" has changed to "desktop-plus"
https://github.com/xcp-ng/xenadmin/issues/24 Get Tests running
set culture to "en-EN" to ensure correct parsing
https://github.com/xcp-ng/xenadmin/issues/24 Get Tests running
correct adaption to nunit 3
adapt to nunit 3
adapt path
real world: edition "platinum" has changed to "desktop-plus"
Use Nunit and Moq from NuGet; Adapt tests to Nunit 3
https://github.com/xcp-ng/xenadmin/issues/24 Get Tests running
Fill AssemblyFileVersion
Idea from https://github.com/xcp-ng/xenadmin/issues/17 Show Version in Title
Tidy up Branding/Trademarks/License
https://github.com/xcp-ng/xenadmin/issues/18
Comment unreachable code to be buildable (https://github.com/xcp-ng/xenadmin/issues/14#issuecomment-380041068)
XCP-ng Console should connect to any flavor of XenServer
(cherry picked from commit 7e2342534d75193685139226fcaf89bb365fc706)
of the hosts to be upgraded and not only on the first one in the list.
For this purpose, the test has been moved to the prechecks, and the
failures are now shown as a non-fixable problem.
Further, specification of the network location of the installer files
has moved closer to the upgrade mode selection.
Also, moved the hotfix and upgrade related checks immediately after the
host liveness check.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
Moved these errors to the FriendlyNames, which is reserved for resources with
keys coming verbatim from the server.
Some code efficiency corrections to the page's workflow.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
because it only manages friendly names; moved it closer to the relevant resource files.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
* CP-30335: Fix RPU wizard tests
* CP-30335: Add abstract class WarningWithMoreInfo and use it for two of the existing Warnings
* CP-30335: Add a new precheck which produces a warning if the Dom0 memory after the upgrade will be increased.
- if the Dom0 memory after the upgrade is known, then a warning is shown if this is higher than the current memory, regardless of the version of the upgrade
- if the Dom0 memory after the upgrade is not known (e.g. because the rpu plugin does not have the function that returns this), then a warning is shown if upgrading from a pre-Naples version
* CP-30335: Add a more detailed error message if the host evacuation fails due to not enough memory in the RPU and Patching wizards
* CP-30335: Add branding variable for version 8.0
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
- Moved Install Location (RollingUpgradeWizard_SelectInstallMethod) page immediatelly after the Upgrade Mode page (and before the Prechecks page)
- Added a new page, called Extras, which contains the updates and supp pack installation options. These options have been moved here from the "Upgrade Mode" and "Ready To Upgrade" pages. This page is also inserted before the Prechecks
- There is no "Ready To Upgrade" page anymore. So the wizard pages are:
- when automatic mode is selected: Before You Start, Select Pools, Upgrade Mode, Installer Location, Extras, Prechecks, Apply Upgrade.
- when manual mode is selected: Before You Start, Select Pools, Upgrade Mode, Extras, Prechecks, Apply Upgrade.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>