Commit Graph

64 Commits

Author SHA1 Message Date
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
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
Stephen Turner
b2eb688f81 Fix tests after fix for [CA-135078] 2014-05-16 14:15:46 +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
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