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)
prevent them from being serialised alongside the API properties. This will also
be useful for moving the API bindings out of XenModel.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
Further changes
* implemented similar logic for the Commands too as those are keep on getting updates so affected
* moved these static fields to a class (at Images)
* used the same casing as in Resources once they have been moved
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
- new image for PVS_site
- added cache size restrictions based on the SR selected
- added button to remove the PVS site on the page
- fixed the error where the subtext for a new PVS sites showed as "Not configured" even after it has been configured
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
icon. Moved class OrganizationalView from XenModel back to XenAdmin as it is more
relevant to the latter. Updated relevant tests. Some code tidy.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
1. Changed definition of IsDetached property in SR.cs: SR is detached when it has no PBDs or when all its PBDs are unplugged.
2. Added bool HasPBDs property in SR.cs (replaced previous IsDetached property definition).
3. Reviewed all usages of sr.IsDetached property.
Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>