Commit Graph

27 Commits

Author SHA1 Message Date
Konstantina Chremmou
ada6f7dac7 CA-296490: Upload single update to multiple pools in parallel. (#2338)
* Simplification: use auto-properties.

* Removed unnecessary null check. Converted private methods to linq method chain.

* Removed unused file. Added null check.

* Corrected property names as it was difficult to distinguish between the alert,
the patch and the filepath.

* Removed duplicate lock.

* CA-296490: Rewrote the logic uploading single updates so as to facilitate uploading to multiple pools in parallel.

* Corrections as per code review.

* Account for the case of uploading from disk legacy updates that do not correspond to an update alert.
Removed unfriendly error messages (the failure is written out in the logs anyway).

* Wizard test corrections and some modernising:
- Only call cancel on the last page if the test allows us to.
- Do finish the UpdatesWizard test.
- Finish the RunWizardKeyboardTests using key strokes instead of button clicks.
- Ensure the Cancel/Previous buttons do not have focus when sending an Enter stroke.
- Use optional parameters in the WizardTest constructor and string interpolation.

* Renamed badly named property.

* Improved code cloning VMs by assigning new opaque_refs to cloned VBDs.
Compacted test object provider: use optional parameters instead of method overloads.

* Modifications to prevent multiple update of enabled state and ensure the wizard
buttons are updated last.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2019-01-10 13:24:42 +00:00
Aaron Robson
ca1113fbcc CA-287643: Replaced list view with data grid view to resolve column sizing issue and for consistency with the rest of the product. (#2226)
CA-287643: Replaced list view with data grid view to resolve column sizing issue and for consistency with the rest of the product.

Signed-off-by: Aaron Robson <aaron.robson@citrix.com>
2018-10-02 10:18:34 +01:00
Konstantina Chremmou
ae22560ce8 Converted all extension get properties of the API classes to methods in order to
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>
2017-09-03 03:35:30 +01: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
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
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
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
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
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
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
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
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
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
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
Mihaela Stoica
107d00f325 Temporarily ignore some tests 2015-07-27 16:23:19 +01: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
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
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
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
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
Chris Harding
8580544a1a CA-109237: Removing AddHostCommand test from the smoke tests 2013-07-12 09:22:50 +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
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
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