Commit Graph

44 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Gabor Apati-Nagy
ae39940966 Update NetworkTabTests.cs 2014-12-12 16:15:18 +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
7551cf641d CP-8866: Fixed TabsAndMenus tests
Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-08-15 07:10:45 +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
a0d31920c5 Merge pull request #118 from xenserver/xs64bit
Xs64bit
2014-07-10 11:17:13 +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
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
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
Stephen Turner
75d1af3a04 Fix PluginTabsAndMenus tests after check-in for [CA-95967] 2014-04-15 11:40:01 +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
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
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
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
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
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
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
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
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
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
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