Commit Graph

420 Commits

Author SHA1 Message Date
Gabor Apati-Nagy
dbebd7de74 Merge pull request #1435 from kc284/master
Collect all 3rd party components in one place.
2017-02-14 12:34:44 +00:00
Konstantina Chremmou
a04b039870 Collected all third party libraries in one place so it's easier for developers to setup their system.
Added a help script to that purpose.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2017-02-09 20:27:03 +00:00
Sharath Babu
ee4b2818f6 Merge remote-tracking branch 'xenserver/CAR-2205' into xenserver/VMSS
Signed-Off-by: Sharath Babu <Sharath.Babu@citrix.com>
2017-01-25 13:01:54 +05:30
Konstantina Chremmou
489d8684e4 Merge remote-tracking branch 'upstream/master' into CAR-2214
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

# Conflicts:
#	Branding/branding.sh
#	mk/archive-unsigned.sh
#	mk/build.sh
#	mk/bumpBuildNumber.sh
#	mk/copy-build-output.sh
#	mk/declarations.sh
#	mk/tests-checks-cover.sh
#	mk/tests-checks.sh
2017-01-24 14:46:57 +00:00
Konstantina Chremmou
a59e4f4ad3 Merge pull request #1382 from GaborApatiNagy/master_CA-176169
CA-176169: Copyright statement checking
2017-01-19 15:14:25 +00:00
Frederico Mazzone
76fd266913 Merge branch 'master' into CAR-2214
Conflicts:
	XenAdmin/Properties/Settings.Designer.cs
	XenAdmin/Properties/Settings.settings
	XenAdmin/app.config
	XenModel/Actions/Updates/DownloadAndUnzipXenServerPatchAction.cs

Signed-off-by: Frederico Mazzone <frederico.mazzone@citrix.com>
2017-01-19 14:16:51 +00:00
Mihaela Stoica
2ae2bdfdd8 CA-182453: XenCenter does not show an active XenMotion in another session
Added "VM.pool_migrate" to the list of tasks suitable for meddling actions.
Removed the usage of MeddlingActionTitle other_config key, because it wasn't working as intended for two reasons:
- If XenCenter starts an action that does multiple async api calls, so multiple tasks, the action's title is assigned to all tasks as MeddlingActionTitles, so the second XenCenter instance would create multiple meddling actions with the same title.
- When a second XenCenter instance tries to see if a task is suitable for a meddling action, the MeddlingActionTitle is not yet present in the task's other_config, so the task is ignored in most of the cases.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-18 14:25:55 +00:00
Gabor Apati-Nagy
7c0bc50b4a CA-176169: Changed copyright statements to include the comma in Citrix Systems,
Inc.

Signed-off-by: Gabor Apati-Nagy<gabor.apati-nagy@citrix.com>
2017-01-16 19:59:50 +00:00
Mihaela Stoica
b3f6069993 CP-20245: Wording changes for change of feature name to PVS-Accelerator
- fix the tests

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2017-01-04 17:24:52 +00:00
Frederico Mazzone
f964fa88c6 Merge branch 'master' into CAR-2214
Conflicts:
	XenAdmin/Core/Registry.cs
	XenModel/Actions/Updates/DownloadUpdatesXmlAction.cs
2016-12-23 14:10:43 +00:00
Konstantina Chremmou
cbdf7d3742 Merge pull request #1334 from MihaelaStoica/CA-216752
CA-216752: Not all wizards progress through to the next page by press…
2016-12-22 09:14:29 +00:00
Gabor Apati-Nagy
b0ca08ae6d CP-20065: Change "Automatic Update" to "Automated Updates"
made naming more consistent

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-12-10 14:44:15 +00:00
Mihaela Stoica
508f638b3a CA-216752: Not all wizards progress through to the next page by pressing the Enter key
- Added a new method in XenTabPage which the derived classes can implement to select a default control after the page is loaded.
- Added a new wizard test that runs through the wizard by pressing the Enter key and checks if it has landed on the right page.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-08 14:52:21 +00:00
Mihaela Stoica
c395a8ce14 CA-233454: Fix the action test
Added an extra parameter to the CreateVmFastAction constructor, which is used to specify whether to set the VM's property IsBeingCreated. In order to set this property, we need to wait for the newly created VM to appear in the cache. But we cannot do this in the action test, because the cache is not being updated. Therefore the action needs skip this step when running from the tests. The IsBeingCreated property is only used in the UI, to refresh the PVS tab after the VM is created, so the accuracy of the action test (CreateVMFastActionTest) is not affected by this change.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-12-01 12:09:03 +00:00
Mihaela Stoica
1aaa310c50 Merge pull request #1287 from kc284/master
CA-145890: added new Page to the options dialog where the user can co…
2016-12-01 09:39:22 +00:00
Konstantina Chremmou
68b11022a0 CA-145890: updated test.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-11-30 16:42:44 +00:00
Stephen Turner
ebd408a227 CA-218719: Context menu: confusing "(empty)" pool item when there are no connected pools 2016-11-11 17:04:08 +00:00
Mihaela Stoica
d76c450c41 CP-19664: Update RPU hotfixes in XenCenter
Added the RPU hotfix for Dundee

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-11-10 14:59:39 +00:00
Gabor Apati-Nagy
668979c29f Merge remote-tracking branch 'github_xenadmin/master' into CAR-2245_temp
Conflicts:
	XenAdmin/TabPages/GeneralTabPage.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizardModeGuidanceBuilder.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_ModePage.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_SelectServers.cs
	XenAdminTests/WizardTests/PatchingWizard/PatchingWizardModeGuidanceBuilderTests.cs
	XenModel/Network/Cache.cs
	XenModel/XenModel.csproj
2016-10-20 19:12:57 +01:00
Gabor Apati-Nagy
f4a0f3ae40 CP-19303: XenCenter: Use new livepatching codes
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-10-20 17:19:42 +01:00
Mihaela Stoica
045db14381 Merge pull request #1191 from mcintyre94/master_dotnetupgrade
[Dotnet upgrade] Upgrade XenCenter to .net 4.6
2016-10-18 16:57:18 +01:00
Mihaela Stoica
329f084a7e Merge branch 'CAR-2184' to master
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/XenAPI-Extensions/SR.cs
2016-10-18 10:18:47 +01:00
Konstantina Chremmou
5bb7e3bac5 CA-157786: Updated tests.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-18 08:53:23 +01:00
Konstantina Chremmou
cff98908b3 Merge remote-tracking branch 'upstream/CAR-2226' 2016-10-17 11:07:15 +01:00
Konstantina Chremmou
146c467c38 Fixed test issue where the MockConnectionManager was assigning the same opaque_ref
to all objects. Modified the migration related filter tests to reflect recent code
changes.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-11 10:12:12 +01:00
Gabor Apati-Nagy
6296277317 Merge pull request #1188 from kc284/vm_migration
CA-220218, CA-205799, CA-205791 plus one or two other issues and refactoring
2016-10-07 16:18:49 +01:00
Konstantina Chremmou
7793e19462 Updated tests to reflect changes in the VDI migration logic.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-06 15:49:36 +01:00
Konstantina Chremmou
b78f823b17 CA-220218: For halted VMs moving intra-pool, XenCenter does not need to assert migration
is possible, because what it actually does is move. When asserting migration use
an SR other than the VDI's current SR for the check to ensure that both source and
target SRs are checked to see whether they support migration. Also, use the VM's
Home() instead of resident_on to ensure the current server cannot be selected as
target server. Some refactoring.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-10-03 10:30:40 +01:00
Konstantina Chremmou
61a2c12c45 CA-205799: Fixed issue where the user was allowed to select the VM's home server
as move (halted) or migrate (suspended) destination; this was caused by using the
VM's resident_on instead of Home() host. Also, changed the disabled reason to be
a bit more generic and cover cases other than migration.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-09-30 13:45:59 +01:00
Callum McIntyre
1b1c7ae581 [Dotnet Upgrade] Convert all projects to use .net 4.6. All changes autogenerated by VS.
Signed-off-by: Callum McIntyre <callumiandavid.mcintyre@citrix.com>
2016-09-29 10:50:24 +01:00
Konstantina Chremmou
eb3fbe2ac8 Corrections and refactoring on VDI move/migrate:
- Allow move of multiple VDIs
- CA-187659: show better messages when batching move/migration of multiple VDIs.
- Show different tooltips for single vs. multiple VDI move/migration/deletion.
- Refactored the MoveDiskDdialog. Removed the inherited class VDIMigrateDialog and
the batching manager as it was not very different from its parent, it was registering
the events twice, and was batching migration of even single VDIs.
- Tidied up the Move- and MigrateVirtualDisk commands so they're easier to compare.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-09-28 09:50:43 +01:00
Mihaela Stoica
695934d907 CP-16922: Update the menu items and fix the tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-09-26 17:45:28 +01:00
Mihaela Stoica
f2b1443064 Merge branch 'master' into CAR-2184
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

Conflicts:
	XenModel/Messages.Designer.cs
	XenModel/Messages.resx
2016-09-26 13:26:31 +01:00
Callum McIntyre
e28bcc76c9 CP-18417 review changes: Fix the broken test that uses the guidance builder method, and update the messages to be more consistent. 2016-09-16 13:36:03 +01:00
Gabor Apati-Nagy
7d4524196b CA-220040: Fix for unit tests
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-09-05 13:32:33 +01:00
Gabor Apati-Nagy
7680d3160f CP-18014: Fixed PatchingWizardModeGuidanceBuilderTests
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-26 18:15:14 +01:00
Gabor Apati-Nagy
0174974c93 Merge branch 'master' of https://github.com/xenserver/xenadmin into CP-18014
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Conflicts:
	XenAdmin/Wizards/PatchingWizard/PatchingWizard.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
	XenModel/Messages.Designer.cs
	XenModel/Messages.ja.resx
	XenModel/Messages.resx
	XenModel/Messages.zh-CN.resx
2016-08-26 15:22:03 +01:00
Gabor Apati-Nagy
7ee2e605ee CP-18012: Use extended precheck information in Update Wizard
This commit implements the check for LiveUpdate capability of a patch. If
the patch is completely live-updatable, XenCenter will not restart the
host (but will do further checks once it has finished installing the
update - separate ticket)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-23 18:31:23 +01:00
Konstantina Chremmou
e561f04fb9 Revert "Ignore temporarily this test on branch REQ-156 (broke on trunk and is not relevant for this feature)."
This reverts commit 26009a79f0.
2016-08-19 17:52:16 +01:00
Konstantina Chremmou
26009a79f0 Ignore temporarily this test on branch REQ-156 (broke on trunk and is not relevant for this feature).
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-08-19 12:56:15 +01:00
Gabor Apati-Nagy
53619c775d Merge remote-tracking branch 'github_xenadmin/master' into REQ-156_github_master
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Conflicts:
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_PrecheckPage.cs
	XenAdmin/Wizards/PatchingWizard/PatchingWizard_SelectServers.cs
	XenModel/Actions/ParallelAction.cs
	XenModel/FriendlyNames.resx
	XenModel/Messages.Designer.cs
	XenModel/Messages.resx
2016-08-18 12:22:40 +01:00
Gabor Apati-Nagy
2d02f806fd Update BatchUpdatesTests.cs
CA-217862: Fixed unit test, removed unneeded Assert
2016-08-11 14:40:48 +01:00
Gabor Apati-Nagy
0ae3f6e2c4 CA-217862: Unit test fix
to reflect that NULL is expected in this case

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-08-10 14:01:36 +01:00
Mihaela Stoica
72be4e1141 CP-16935: Configure Control domain memory for a host
- Added Control Domain memory entry in the host memory control on Memory tab.
- Control domain memory is editable for Ely and greater hosts.
- Can be changed from a dialog that requires host to be in maintenance mode and triggers a host reboot after the memory is changed.
- This dialog is available from Server main menu and from the host memory tab.
- Also removed unused unit controls on host and VM memory bars.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-08-09 14:50:04 +01:00
Mihaela Stoica
529e921e24 Merge pull request #1078 from kc284/CA-147657
CA-147657 plus some refactoring
2016-08-08 13:47:59 +01:00
Konstantina Chremmou
d32b7a967b Added overload for the SelectedItemCollection constructor taking one item - it seems to be needed as often as the other constructors.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-07-25 01:00:44 +01:00
Konstantina Chremmou
b9b00ca4cd CA-149814: Added short description to fill in the redundant space on the top of the
FolderBrowser dialogs. Fixed text which caused label to look unaligned. Prevent
crash when attempting to launch the DownloadAppliance dialog with "http://" as URI.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2016-07-22 08:31:58 +01:00
Gabor Apati-Nagy
994f5b4811 Merge remote-tracking branch 'github_xenadmin/master' into master_batch_new2 2016-06-29 16:52:13 +01:00
Gabor Apati-Nagy
54257ebaea CP-17282: Unit tests to validate the Update Sequence logic
Added tests to csproj

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 14:01:19 +01:00
Gabor Apati-Nagy
eb5b01bc83 CP-17282: Unit tests to validate the Update Sequence logic
More tests following the code review

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 13:45:36 +01:00
Gabor Apati-Nagy
9337663adb CP-17282: Unit tests to validate the Update Sequence logic
Unit tests to test GetUpdateSequence

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-29 12:49:53 +01:00
Konstantina Chremmou
877081d3e8 Merge pull request #1031 from Frezzle/proxy-auth
CP-17231: Implement proxy authentication setting in XenCenter
2016-06-27 11:38:09 +01:00
Gabor Apati-Nagy
5494c19da4 CP-17282: Unit tests to validate the Update Sequence logic
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-24 10:11:59 +01:00
Gabor Apati-Nagy
1ef1a6615a CP-17282: Unit tests to validate the Update Sequence logic
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-06-23 15:33:18 +01:00
Frederico Mazzone
46c15efe57 [CP-17231] Implement proxy authentication setting in XenCenter
Added 2 textboxes for proxy username and password; encrypted when saved and decrypted when loaded.
Added 2 checkboxes; one for bypassing proxy for xenserver connections, one for providing proxy credentials.
Removed checkbox for bypassing proxy for local addresses.
Controls are no longer enabled/disabled when the related proxy option is selected/deselected.
Making changes to a control (e.g. username, bypass checkbox, etc) selects the 'Use this proxy server' option automatically.
Removed "Bypass proxy server for local addresses" option.
Basic and Digest authentication implemented. Tested with FreeProxy (Basic+Digest), CCProxy (Basic) and AnalogX Proxy (no authentication); each were tested with correct credentials, incorrect credentials and missing credentials; all gave expected results.

Signed-off-by: Frederico Mazzone <fredericom@citrite.net>
2016-06-20 17:15:00 +01:00
Sharath Babu
2eec0a130c Updating constructor name for NewPolicyWizardTest class 2016-06-14 16:31:11 +00:00
Sharath Babu
93e3c05216 Incoporating review comments by Mihaela.
Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2016-06-14 15:22:15 +00:00
Sharath Babu
2ad62fd48e CP-17752: make unit tests use a generic class of policy wizard and
added support for New Policy Wizard help document.

Signed-off-by: Sharath Babu <Sharath.Babu@citrix.com>
2016-06-14 13:20:04 +00:00
Mihaela Stoica
fcee4d8876 CA-77990: Report required actions for all VMs at once in the hotfix wizard / RPUW (#951)
* CA-77990: Report required actions for all VMs at once in the hotfix wizard / RPUW

* CA-77990: Resolve precheck problems in parallel in the Patching wizard

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-77990: Resolve precheck problems in parallel in the Patching wizard

Changes following code review: Made the ParallelAction work across connections and removed CrossConnectionParallelAction

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>

* CA-77990: Modified ParallelAction to create queue on RunSubActions only, with the correct queue size

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-06-07 17:40:59 +01:00
Gabor Apati-Nagy
235ebe9b33 Merge branch 'master' of https://github.com/xenserver/xenadmin into master_batchupdate_new 2016-05-05 13:59:28 +01:00
Mihaela Stoica
8f63854b96 CA-206761: Health Check shows "No issues found" when the report analysis is not yet available
Changes following code review

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-11 15:57:32 +01:00
Mihaela Stoica
7e832494c1 CA-206761: Health Check shows "No issues found" when the report analysis is not yet available
- Try to get the analysis progress from cis (as an integer value representing percentage 0 - 100). If this function returns a valid progress less than 100, then we don't try to get the report analysis and continue to display "Analysis not yet available"
- If the progress is 100 then we get the analysis result and display it
- If the progress cannot be obtained, then we try to get the analysis result; If an empty result is obtained within 10 minutes from the upload completion, then we assume that the analysis is still in progress and continue to display "Analysis not yet available"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-04-08 14:26:52 +01:00
Gabor Apati-Nagy
25e83b72bf CP-15712: Add Automatic mode (internal parameter)
Removed Contained

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-03-16 13:41:10 +00:00
Gabor Apati-Nagy
578f0c4ca3 CA-202068: License Manager wizard showing "Activate Free XenServer" button even no host selected for editing license
Unit tests

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-03-08 17:30:26 +00:00
Mihaela Stoica
70187718da CP-15699: Re-enable the ExpectedResults test
Also, changed the build script to skip the tests execution if a variable is defined (SKIP_TESTS)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-25 11:26:34 +00:00
Koushik Chakravarty
6889e15872 CAR-2146: Isolated type specific checks in VMGroup helper class
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Koushik Chakravarty
cf5040e9a9 CAR-2146: SDK Integration for VMSS and Testing
Signed-off-by: Koushik Chakravarty <Koushik.Chakravarty@citrix.com>
2016-02-18 16:27:17 +05:30
Gabor Apati-Nagy
8a0a149f14 CP-16097: Fix unit test 2016-02-18 10:44:17 +00:00
Gabor Apati-Nagy
6f2fdb2ac2 CP-16097: Hide Thin Provosioning in XenCenter
Unit tests

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2016-02-17 14:02:25 +00:00
Mihaela Stoica
7a46698141 CP-16068: Pick up new RPU hotfixes
- XenCenter build system picks up the RPU hotfixes from Artifactory
- RPU001 and RPU002 replace XS62E006 and XS65ESP1006
- Removed hotfixes from the solution, moved  XS60E001 to Branding folder
- also cleaned up code in the HotfixFactory class, removing MNR and Cowley hotfixes (not supported anymore)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-11 22:18:06 +00:00
Mihaela Stoica
9f99c37f83 CP-16012: Rename branding variables
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-10 11:52:30 +00:00
Mihaela Stoica
8e1493209d CP-15399: Improvements to the way we handle rebranding of update file
- InvisibleMessages.resx contains the default value for the update file extension (xsupdate), which can be overwritten in Branding.cs

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-02-04 10:55:18 +00:00
Mihaela Stoica
3ccfcc7e3a Merge pull request #782 from cheng--zhang/CP-15398
CP-15398: Make version, xsupdate and xensearch rebrandable
2016-01-22 13:16:03 +00:00
Cheng Zhang
1485a056e9 CP-15399: Make xsupdate rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-22 13:50:12 +08:00
Gabor Apati-Nagy
e5545b3011 Merge pull request #781 from MihaelaStoica/CP-15408
CP-15408: Add license restrictions
2016-01-20 14:04:08 +00:00
Cheng Zhang
992ee9e62f CP-15400: Make xensearch rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-20 11:33:54 +08:00
Cheng Zhang
b794112536 CP-15398: Fix test failures
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:55 +08:00
Cheng Zhang
15ef3410a3 CP-15398: Make file name and dir rebrandablei
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:40:55 +08:00
Cheng Zhang
010ff919c1 CP-15398: Make texture XenServer product rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-19 18:36:21 +08:00
Mihaela Stoica
0bf44398df CP-15408: Add license restriction for VM migration
Cherry picked from cream-indigo:
CP-14848: Add license restriction key to the another test database
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-18 15:47:32 +00:00
Mihaela Stoica
63ee0f4110 CP-15408: Add license restriction for VM migration
Cherry picked from cream-indigo:
CP-14848: Add license restriction key to the test database
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2016-01-18 15:46:40 +00:00
Cheng Zhang
a33d10bade CP-15398: Make texture XenCenter rebrandable
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2016-01-14 18:52:53 +08:00
Stephen Turner
c94cf3104c CP-190904: Remove removed menu items from the unit tests too 2015-11-30 13:58:42 +00:00
Stephen Turner
bf1bbd8475 Merge pull request #742 from GaborApatiNagy/master_CP-185888
CA-185888: "Forget" in XenCenter is unclear
2015-11-16 16:20:05 +00:00
Gabor Apati-Nagy
57cea2564c CA-185888: "Forget" in XenCenter is unclear
Capitalized.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-16 16:11:40 +00:00
Gabor Apati-Nagy
db4737b5ec CA-185888: "Forget" in XenCenter is unclear
Renamed "Forget" to "Forget password" and updated unit tests accordingly.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-11-13 20:00:25 +00:00
Mihaela Stoica
3c956f28ac CP-14780: Revert Windows Update changes (part2)
Revert "Merge pull request #708 from GaborApatiNagy/master_windows_update"

This reverts commit fe03f1382f, reversing
changes made to 423065a2c8.

Conflicts:
	XenAdminTests/TabsAndMenus/MainMenuGeorge.cs
2015-11-10 13:13:23 +00:00
Stephen Turner
8f6531c1cb CP-14647: Remove deleted files from .csproj 2015-11-08 11:40:24 +00:00
Stephen Turner
524d6eea8e CP-14647: Intermediate check-in #8
All tests now pass, via a combination of
a) Use more up to date databases
b) Delete obsolete tests
c) Edit the version number in the databases (these should be fixed later)
2015-11-08 11:28:06 +00:00
Stephen Turner
9dc3efbd9b CP-14647: Intermediate check-in #7
Delete old TabsAndMenus tests, and fix up newer ones.
2015-11-08 11:28:05 +00:00
Stephen Turner
8ea7e73b55 CP-14647: Intermediate check-in #5
This should cover everything except updating the tests to use more recent
servers.
2015-11-08 11:28:02 +00:00
Stephen Turner
ce609e31ff CP-14647: Intermediate check-in #4 2015-11-08 11:28:01 +00:00
Stephen Turner
cf6534275e CP-14647: Intermediate check-in #2 2015-11-08 11:27:57 +00:00
Stephen Turner
b587ab832e CP-14647: Intermediate check-in #1 2015-11-08 11:27:56 +00:00
Mihaela Stoica
40a634d324 CP-14641: Changes following code review
- vendor check is not needed in the functions where we check whether to warn the users about different feature levels, as the pool join is not allowed if the vendors are different
- renamed some of the functions
- feature comparison is now done eight characters at a time, converted into a 32-bit integer

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-11-04 16:33:23 +00:00
Mihaela Stoica
d650befbdc CP-14641: Add warnings on pool join if the pool and the joining host have different CPU features
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-30 15:52:24 +00:00
Mihaela Stoica
2f1e5c38bb Merge pull request #721 from GaborApatiNagy/master_CP-12617
CP-12617: Port CP-12191 to trunk:
2015-10-29 11:57:45 +00:00
Gabor Apati-Nagy
e42a0233e5 CP-12617: Port CP-12191 to trunk:
Updated test case

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-29 11:54:24 +00:00
Mihaela Stoica
f13086bf56 CA-180128: Fix the tests after adding a call to task.remove_from_other_config in the async action
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-23 12:02:21 +01:00
Stephen Turner
20076d6f49 Remove two more failing tests that test dead code 2015-10-22 18:20:37 +01:00
Stephen Turner
aef3e6511b Remove failing test that is testing dead code 2015-10-22 16:35:37 +01:00
Stephen Turner
a1fac213d4 Merge pull request #712 from MihaelaStoica/CA-178235
CA-178235: Fix for Command TestMultipleSelectAddTag failing with timeout
2015-10-22 13:42:17 +01:00
Stephen Turner
e877faf32b Merge pull request #704 from MihaelaStoica/CA-184563
CA-184563: Do not show Provisioning method for SRs other than iSCSI and LVM
2015-10-21 17:36:38 +01:00
Mihaela Stoica
b74966274b CA-178235: Re-enabled test in VMLifecycleCommandTestMidnightRide
- believed fixed with the previous commit that added lock for updating eventsList

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 11:27:54 +01:00
Mihaela Stoica
a0662164e5 CA-178235: Fix for Command TestMultipleSelectAddTag failing with timeout
- added a lock for updating the eventList
- re-enabled the test

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-21 10:41:23 +01:00
Mihaela Stoica
fe03f1382f Merge pull request #708 from GaborApatiNagy/master_windows_update
Upgrade VMs
2015-10-19 16:29:52 +01:00
Gabor Apati-Nagy
4c321b0b6f CP-14573: UI: Improvements on Upgrade VM UI
Changed unit tests

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-10-19 13:47:00 +01:00
Mihaela Stoica
1ade8b90af Increased timeout of checkUploadLock test, as it usually takes more than a minute to run 2015-10-14 14:51:11 +01:00
Mihaela Stoica
cd4466e9f2 CA-184563: Do not show Provisioning method for SRs other than iSCSI and LVM
- display the Provisioning entries in the General Tab only for iSCSI and LVM SRs
- also changed the checks in the ConvertToThinSRCommand to use SR.IsThinProvisioned property instead of SR.Provisioning

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-13 16:24:51 +01:00
Cheng Zhang
491e6318ee CP-13080: Run Health Check Tests as part of xenadmin build
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
2015-10-09 12:17:12 +08:00
Mihaela Stoica
926439b1ae CP-14048: Fixed the tests after the changes in Search for Virtualization Status
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-10-05 10:16:14 +01:00
Mihaela Stoica
260e36ec4e Revert "Temporarily hide "Convert SR""
This reverts commit 127b60871c.
2015-09-29 14:44:13 +01:00
Mihaela Stoica
6f08458766 CA-183321: Fix unit tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-24 09:56:18 +01:00
Stephen Turner
0bf66a113c Merge pull request #666 from GaborApatiNagy/master_CP-13786-4
CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
2015-09-23 11:51:19 +01:00
Gabor Apati-Nagy
acbc21597a CP-13786: GetVirtualisationStatus
More small fixes

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-21 16:09:12 +01:00
Gabor Apati-Nagy
f4cd9bd97c CP-13786: GetVirtualisationStatus: Refactoring, bugfixes
Removed PV_DRIVERS_NOT_INSTALLED=0 from the VirtualisationStatus [Flags]enum - 0 will mean the same (to avoid bugs with enum.HasFlag(0) is always true)
Extracted common code to VMLifeCycleCommand.GetCantExecuteNoToolsOrDriversReasonCore() method (instead of defining overridden GetCantExecuteReasonCore() method at this level, because not all child classes need this...)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-18 15:48:59 +01:00
Mihaela Stoica
71db9ec577 Fix test failure introduced by previous commit
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-17 16:48:52 +01:00
Mihaela Stoica
127b60871c Temporarily hide "Convert SR"
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-09-17 15:08:21 +01:00
Gabor Apati-Nagy
371f6bdb00 CP-13786: VM.VirtualisationStatus: Changes following the code review
Removed Optimized state and using I/O & Management instead (even for old VMs)
Changed messages to be different for old and new VMs instead of saying Tools or I/O drivers for instance
Removed the extra enum property from the VM class that had been added for search
Fixed code in GroupingTypes class (possible KeyNotFoundException)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-14 17:08:23 +01:00
Carmen Agimof
4fadf796ad CA-179502: Reviewed all use of MemorySizeStringMB and came to the conclusion that all its usages must be replaced with MemorySizeStringSuitableUnits. 2015-09-10 14:36:46 +01:00
Gabor Apati-Nagy
463d3e79df CP-13786: PV drivers onto Windows update: Check all uses of GetVirtualisationStatus
Extended the enum, aimed for minimal changes, also using Flags on the enum now

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-09-09 13:56:44 +01:00
Mihaela Stoica
291d4ceb91 Merge pull request #644 from GaborApatiNagy/CP-13100
CP-13100: Fixed unit tests and fixed a bug in code
2015-08-28 12:11:58 +01:00
Gabor Apati-Nagy
181b16cae6 CP-13100: Fixed unit tests and fixed a bug in code
Fixing the unit tests pointed me at the command's CanExecuteCore where the check for Dundee or higher was missing. Fixed that as well.

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2015-08-28 12:01:46 +01:00
Mihaela Stoica
7c42abb17f Disable one test in VMLifecycleCommandTestMidnightRide 2015-08-27 16:59:03 +01:00
Mihaela Stoica
cf83d28e64 Disable VMLifecycleCommandTestMidnightRide test 2015-08-27 16:57:36 +01:00
Carmen Agimof
4da67c0590 CA-147944: Use GB for VM Memory if large values
- Memory Tab uses GB units for values greater or equal to 1 GB, otherwise show in MB;
- Search Tab displays values in GB or MB in the same as the Memory Tab (e.g. 512 MB of 1 GB, 256 MB of 512 MB, 2.5 GB of 16 GB).
- The shiny bar present in the Memory Tab and in Memory Settings dialog shows the scaling in the following way: If smaller than 1 GB, then show as before, else show only labels with values multiples of half a GB.
- The units used in Memory Setting Dialog are set depending on the static_max. If it is greater or equal to 1 GB, then the units are GB, else MB. The user does not have the possibility of changing them.
2015-08-20 12:41:39 +01:00
Stephen Turner
09c495552f CP-13389: Convert all projects to .NET 4.5. (All changes autogenerated except for one case of broken XML in XenOvfApi/app.config). 2015-07-30 12:40:59 +01:00
Mihaela Stoica
83bda3717d Fix XenServerPatchAlert and XenServerUpdateAlert tests
- setup mock connections for the unit tests with a non-null Cache property
2015-07-27 18:06:34 +01:00
Mihaela Stoica
107d00f325 Temporarily ignore some tests 2015-07-27 16:23:19 +01:00
Mihaela Stoica
173a5877dd Fix an error in the tests where the tests can select a default template which is not shown in the tree
(e.g. XenSource P2V Server, which is an internal template, not displayed in the tree)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-24 16:28:23 +01:00
Mihaela Stoica
cef47b797d CP-13034: Fix Update wizard tests, after changes to the Select Update page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-07-16 13:11:59 +01:00
Mihaela Stoica
cddc03fb6e CP-12476: Include dom0 disk space hotfix in XenCenter RPU pre-requisites
- Added hotfix XS65ESP1006 required for RPU from Creedence (and Cream)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-06-24 17:22:08 +01:00
Mihaela Stoica
7cfe5a7d9e CP-12155: Fix tests (as new menu item has been added into Tools)
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-05-21 11:45:28 +01:00
Mihaela Stoica
b7b71c786c CP-11292: Remove storage motion constraints: Fixing tests and some more wording changes
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-04-22 13:21:31 +01:00
Mihaela Stoica
d616009824 CP-11032: Remove storage motion constraints: Allow cross-pool move of stopped and suspended VMs
- With these changes, a stopped or suspended VM can be moved across pools; this is performed as a vm migrate operation.
- The intra pool move will continue to be a vdi.copy + destroy operation for stopped VMs, but for suspended VMs we need to do it a as vm migrate operation.
- We use the Cross Pool migrate wizard for both intra and cross pool move operations, but introduced a wizard mode parameter in order to adapt the wizard to the specific operation we want to perform (migrate, move or copy)

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-03-17 16:35:12 +00:00
Mihaela Stoica
e6784d1837 CP-10799: Ensuring sufficient disk space for service pack installation: Display hotfix installation size on the Updates page
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-02-06 12:32:29 +00:00
Gabor Apati-Nagy
fddb5a032b Merge remote-tracking branch 'creedence-docker/master' into docker
Conflicts:
	XenAdmin/Wizards/NewVMWizard/NewVMWizard.cs
	XenModel/Messages.resx
2015-02-04 16:23:20 +00:00
Mihaela Stoica
11d86f1c90 CP-10621: Supp Pack installation through XenCenter: Select and upload a supp pack in the hotfix wizard
- Select a supp pack in the hotfix wizard
- Recognise that it's a supp pack not a hotfix
- Check if there's enough space on a SR to contain it: (1) default SR if shared or (2) any shared SR or (3) local SR on each host in pool
- Create a VDI to contain it
- Upload the supp pack to the VDI

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-23 12:31:44 +00:00
Gabor Apati-Nagy
d50f8a7d94 Merge branch 'master' into master_github
Conflicts:
	XenModel/Messages.resx
	XenModel/XenAPI-Extensions/Host.cs
	mk/xenadmin-build.sh
2015-01-19 15:22:59 +00:00
Mihaela Stoica
7fe521faa5 CA-147163: Make new form localizable and fix tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2015-01-14 17:01:50 +00:00
Gabor Apati-Nagy
ae39940966 Update NetworkTabTests.cs 2014-12-12 16:15:18 +00:00
Mihaela Stoica
1f4341147c CA-153178: Fix tests 2014-12-05 14:29:40 +00:00
Mihaela Stoica
c801994927 CP-10079: Implement new licensing requirements in XenCenter
- fixed tests

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-10-29 09:49:09 +00:00
Stephen Turner
a29a298ad4 Merge branch 'master' into xs64bit 2014-10-01 17:27:38 +01:00
Stephen Turner
64bd0614cc Update test timeout value to match xs64bit branch 2014-10-01 17:24:55 +01:00
Stephen Turner
0ea93a8b4e CA-146810 Problems in AddALotOfVIFsThenRemoveThemShouldNotThrowAnException test 2014-09-19 11:39:59 +01:00
Stephen Turner
444e401e3a Merge pull request #177 from xenserver/xs64bit
Bring master up to date with xs64bit branch
2014-08-15 11:23:44 +01:00
Mihaela Stoica
164a223ef8 CP-8868: : Fixed unit tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-15 08:32:04 +01:00
Mihaela Stoica
7551cf641d CP-8866: Fixed TabsAndMenus tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-15 07:10:45 +01:00
Stephen Turner
9101c4cab6 Merge branch 'xs64bit' into detailedreports 2014-08-13 15:44:24 +01:00
Mihaela Stoica
83bb33b3a6 CA-141868: Boot options are deleted by New VM Wizard if Installation Media page skipped - Fixed
- Fixed tests

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-11 17:58:21 +01:00
Cheng Zhang
5eb82ae6de CP-8866:Development for Resource Statistic Feature on XenCenter 2014-08-01 11:34:37 +08:00
Mihaela Stoica
7ab3243980 CA-140336: Hide the Windows menu item at all times
- cannot remove completely because of the plugin specification, but it is not be visible even if they were plugins trying to use it

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-22 13:20:21 +01:00
Gabor Apati-Nagy
e3c2b66feb CA-116005: validation of the SN mask doesn't appear to be working correctly on the last two values of the mask.
-Unit tests added for Subnetwork mask validation (31 tests)

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2014-07-11 12:37:32 +01:00
Gabor Apati-Nagy
a0d31920c5 Merge pull request #118 from xenserver/xs64bit
Xs64bit
2014-07-10 11:17:13 +01:00
Gabor Apati-Nagy
bc3b23af4f Merge pull request #109 from MihaelaStoica/xs64bit
CA-137485: Updated XenModel with the new API bindings with serializable ...
2014-07-04 17:13:01 +01:00
Mihaela Stoica
220311829b CA-137485: Improvements to the Exception serialization unit tests
As per code review, wherever there is an 'if' in the unit tests there should be an assertion for the 'else' branch as well

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-04 14:44:38 +01:00
Mihaela Stoica
042f7f2927 CA-138928: Added "reclaim freed space" option to the main menu
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-04 13:36:41 +01:00
Mihaela Stoica
35877640e0 CA-137485: Updated XenModel with the new API bindings with serializable exceptions
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-03 10:00:05 +01:00
Mihaela Stoica
4e99f6a830 CP-8667: Update RPU hotfixes in XenCenter
- XS60E009 has been replaced by XS62E006 and that the latter applies to all 6.x releases;
- 5.x hotfixes have changed, even though the version numbers are unchanged.

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-10 10:36:50 +01:00
Mihaela Stoica
b657b7dab0 CA-136023 Performance graphs: rename "cps" units
Renamed to "/sec"

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-06-02 10:09:47 +01:00
Gabor Apati-Nagy
0c613d3125 Merge pull request #77 from xenserver/xs64bit
Merge branch xs64bit
2014-05-27 19:19:12 +01:00
Stephen Turner
b2eb688f81 Fix tests after fix for [CA-135078] 2014-05-16 14:15:46 +01:00
Stephen Turner
533857e6c2 Merge pull request #60 from xenserver/xs64bit
Merge all changes from xs64bit to master
2014-04-30 18:22:45 +01:00
Konstantina Chremmou
9731f3f196 [CA-126770],[CA-123737]: Updated further test cases.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-04-30 11:23:23 +01:00
Konstantina Chremmou
49471b11b7 [CA-126770],[CA-123737]: Updated test cases.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-04-29 14:27:08 +01:00
Mikhail Filippov
db5194107d Fixes simultaneous run of WizardTest and TreeTests. 2014-04-29 12:20:20 +04:00
Mikhail Filippov
c8ae317c9b Remove unused references. 2014-04-28 16:26:08 +04:00
Mikhail Filippov
af13e2cd03 Fix test for run on machine without local UTC time. 2014-04-28 15:23:24 +04:00
Mikhail Filippov
0868b441cf Fix TestResource path for support ran test from Resharper. 2014-04-28 15:22:17 +04:00
Stephen Turner
75d1af3a04 Fix PluginTabsAndMenus tests after check-in for [CA-95967] 2014-04-15 11:40:01 +01:00
Konstantina Chremmou
f0cf20ec43 CA-127510: Reworked the logic of differentiating between tasks started by this instance
of XenCenter and tasks started from outside and cancelling the former when exiting
or disconnecting from the pool.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-03-11 14:30:01 +00:00
Konstantina Chremmou
f5bee7102c Refactored MainWindow to derive from IMainWindow rather than implement a field deriving
from this interface.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-22 12:39:32 +00:00
Konstantina Chremmou
0eaf776399 CA-67866: Step 1 - renamed XenServerUpdateAlert to XenServerVersionAlert to avoid
confusion (patch alerts and version alerts are both considered as server update alerts).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-03 08:37:45 +00:00
Konstantina Chremmou
7db2026776 Cleanup main windows leftover from previous tests which failed during setup.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-02 14:27:44 +00:00
Konstantina Chremmou
4f450e161f CA-123572: Updated test case.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2014-01-02 10:00:32 +00:00
Konstantina Chremmou
d335372575 CA-85971: Removed method selecting tab by index.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-12-22 15:28:00 +00:00
Gabor Apati-Nagy
60cd994a71 [CA-123967] Ignore test attribute set (TabsAndMenus.TabsAndMenusTampa.ContextMenu_VMWithTools unit test needs a fix )
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-17 11:49:51 +00:00
Gabor Apati-Nagy
a16e0a8ae0 CAR-100: Upgrade to .NET 4.0 instead of 3.5 -- Upgrading projects to target .Net 4.0 & updating to VS2010 format where needed
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
2013-12-05 14:44:59 +00:00
Konstantina Chremmou
406a555a1c Clear selected nodes at the beginning of each of the MainWindowTreeTests to prevent
test failures due to artifacts leftover from a previous test.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 14:34:49 +00:00
Konstantina Chremmou
22ec1d9ac5 CP-6093: Redesign of the CloseXenCenterWarningDialog to use the same controls as
the events page. This renders the old custom history controls obsolete, hence
removed them. Moved ActionBase extension methods to XenAdmin.Core namespace.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-23 11:59:49 +00:00
Konstantina Chremmou
ccdf0fe7ce CA-107358: Updated tests to reflect button text change. Also, request refreshing
the main treeview from within a Program.Invoke.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-20 13:09:17 +00:00
Konstantina Chremmou
9917801cc3 CP-6093: Implemented "GoTo..." and "Dismiss Selected" actions on the Events page.
Preserve last selected node when switching between views. Added labelling to the
unit tests run post-build. Minor tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-18 14:31:00 +00:00
Konstantina Chremmou
4289972b1b Corrected test code selecting a node on the main treeview.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-15 15:37:01 +00:00
Konstantina Chremmou
d269e6f1f2 CP-6511: Updated test.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1384262163 0
#      Tue Nov 12 13:16:03 2013 +0000
# Node ID 1622e7d2ba0130dbf61a9c7bb230cfd8852582d7
# Parent  6a09fea2d90b8e8aadbd2ec61da22ab029eddca1

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-11-14 12:33:54 +00:00
Konstantina Chremmou
fb74297cbb CP-6093: Updated test to reflect changes in the View menu. Ignore temporarily flaky
test. Fixed broken action cancellability.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-09 13:33:06 +01:00
Konstantina Chremmou
bbe13a192d CP-6093: Implemented changes to the View menu. Disabled again flaky tests that had
been enabled in a previous commit.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-09 09:13:47 +01:00
Konstantina Chremmou
64e14bbc63 CP-6267: Stop jumping to the Events window when an action has started.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-10-08 11:03:29 +01:00
Konstantina Chremmou
aa8ccd0bfb CP-6095: Ensure the different views have a single root node with the appropriate
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>
2013-10-08 10:17:57 +01:00
Konstantina Chremmou
d5486aaa1d CP-6317: Importing from branch clearwater-ln.
# HG changeset patch
# User Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
# Date 1377079306 -3600
# Node ID 170c7cbbbaefee729774ae21a3c417205708abee
# Parent  5bd4ebbd0553c160917192dd4546bb19a2a5a64d
CA-112226: Updated unit tests to reflect the changes in string measurement. Minor code tidy.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-26 14:40:35 +01:00
Konstantina Chremmou
2a21608e13 CP-6094: Moved the New Search button outside the Search panel and the Default search
under the saved Searches drop down. Also minor layout tweaks and test update.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-24 15:58:53 +01:00
Konstantina Chremmou
6e9e053dea CA-115431: Disable the "apply activation key" MenuItem and show a reason if there
are more than one hosts selected.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-24 15:58:33 +01:00
Konstantina Chremmou
89fa1950a4 CP-6083: Updated test. Prevent potential NullReferenceException.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-20 14:33:23 +01:00
Konstantina Chremmou
cab8dca36b CP-6083: Added vGPUs to the VM's property page.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-18 13:06:47 +01:00
Konstantina Chremmou
5e3c786b2b Ignore temporarily 2 of the Searcher tests (they pass when run in isolation, but
fail when run after other tests; will revisit when PR-1537 is finished).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-12 09:22:31 +01:00
Konstantina Chremmou
dbf44fff21 Small modification to the way the treeview is updated when the View settings change.
Fixed some memory leaks in the wizard and dialog tests. Updated broken Searcher tests.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-11 23:12:08 +01:00
Mihaela Stoica
b1ae24d64c Update DeleteVMCommandTest to use the correct command.
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-09-05 12:32:54 +01:00
Konstantina Chremmou
2dd3c3fb12 CP-5751: Updated tests to reflect GUI changes.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-09-02 17:00:47 +01:00
Konstantina Chremmou
e9c5804b0e CP-5751: Converted the Alerts dialog to a user control and changed slightly the
layout to make it more similar to the logs page.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-30 12:46:28 +01:00
Konstantina Chremmou
e397d8bee7 CP-5749: Updated tests to reflect GUI changes. Some code corrections after the first run.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-28 14:44:46 +01:00
Konstantina Chremmou
a3dbc137d9 CP-5749: First drop of new outlook style buttons.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-26 11:42:32 +01:00
Konstantina Chremmou
e2c4811aa8 Moved some object/node selection methods from the MainWindow to the FlickerFreeTreView class.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-23 16:26:05 +01:00
Konstantina Chremmou
6a9d87c6f1 MainWindow tidy up: use existing method to launch the AboutBox rather than reimplementing
the same code. Use a CommandToolStripItem to launch the BugToolWizard like we do
for other wizards. Added overload for the MainWindowCommandInterface.ShowForm
method which allows to pass arguments to a wizard constructor.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-21 17:13:23 +01:00
Konstantina Chremmou
b2ddebef49 CP-5750: Updated existing LogTab tests to reflect gui changes.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-16 12:57:39 +01:00
Konstantina Chremmou
62586ef89c CP-5750: Removed ActionType; the actions should be categorised by status (in progress,
succeeded, failed; cancelled at the moment counts as failed, we may need to distinguish
in future). As a consequence the filter checkboxes from the top of the Log tab
were removed and some temporary changes were made to the drawing of action rows
(the controls will change completely in a subsequent commit).

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:38 +01:00
Konstantina Chremmou
38ab6b8ffa CP-5750: When a License warning is generated, create an alert rather than an Action.
Removed ActionType.Alert. Removed Alerts checkbox from the Log tab.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:36 +01:00
Konstantina Chremmou
077cb17deb CP-5750: Changed the declaration for the ActionBase events Completed, Changed and
NewAction to use the Action<ActionBase> delegate instead of EventHandler. Thus
there is no need to fire them with Empty or null EventArgs and on several occasions
we avoid casting objects in the event handlers.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2013-08-09 17:20:33 +01:00
Adrian Jachacy
16429b4707 CA-108795: Fix TestDelay tests.
Removed TestDelays tests from UpdateManagerTests.cs

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-26 14:36:18 +01:00
Adrian Jachacy
edce7529f6 CA-109273: [DELL-194] Throws exception if Download & Install used on host in maintenance mode.
1. Added additional check to DownloadAndInstall method in ManageUpdatesDialog.cs: will proceed to the prechecks page in the Install Update Wizard only when there are selected servers on the previous page.
2. Modified code to allow hotfix installation when the host is in maintenance mode; however the host cannot be upgraded when in maintenance mode.
3. Modified test to reflect changes described above.

Signed-off-by: Adrian Jachacy <Adrian.Jachacy@citrix.com>
2013-07-25 09:44:52 +01:00
Adrian Jachacy
d89d04a33d CA-76329: SR destroy option is missing from XenCenter (even SR doesn't contains any VDI and SR is detached)
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>
2013-07-23 13:42:27 +01:00
Konstantina Chremmou
6576f515f2 CP-5604: Updated unit tests.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-18 15:04:47 +01:00
Chris Harding
8580544a1a CA-109237: Removing AddHostCommand test from the smoke tests 2013-07-12 09:22:50 +01:00
Chris
6acbcae6b7 CA-109237 Remove tampa tabs and menus from smoke test 2013-07-11 09:28:29 +01:00
Chris
9e756cecf3 Merge ../xenadmin_github 2013-07-09 16:58:35 +01:00
Chris Harding
06daa96ed4 CA-109237: Add a smoke test category for the xenadmin tests
Added a smoke test category and assigned a selection of tests to this category
to get a broad coverage of XenCenter functionality which can be used to quickly
test XenCenter works on a given platform
2013-07-09 16:03:49 +01:00
Konstantina Chremmou
7a72dfd390 PR-1537: Further corrections to tests required by the separation of the Objects and Organization views.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-03 17:53:40 +01:00
Konstantina Chremmou
c65ab4b42c CP-5448: Removed tab page TagCloud.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:40 +01:00
Konstantina Chremmou
ce56d4e337 PR-1537: Separated Objects View (Types) from Organization Views (Tags, Folders, Custom Fields and vApps). Updated tests to reflect change.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:36 +01:00
Konstantina Chremmou
37be1cdb58 PR-1537: Separated the Search textbox from the Searches dropdown button on the main window. Updated tests to reflect change.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@citrix.com>
2013-07-02 18:31:32 +01:00
Mihaela Stoica
bd36a85bff CP-4816: Initial commit to git repo
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2013-06-24 12:41:48 +01:00