Commit Graph

47 Commits

Author SHA1 Message Date
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