cloudstack/plugins/hypervisors
Will Stevens a3371d282f Merge pull request #1262 from rafaelweingartner/lrg-cs-hackday-015
Removed unnecessary code from getGuestOsType in CitrixResourceBaseConsidering that all mapping of Guest OS Names to their respective hypervisor compatible types is made thorugh accessing a database, we've decided to remove a bit of code in the XcpOssResource class which was doing that same thing for 2 different OS's (both of which ARE in the database). That has led us to a bunch of unused parameters in the getGuestOsType method from its superclass, which we've also decided to remove. Test cases were added for four different possibilities for the platformEmulator String: one for a null String, one for a blank String, one for an empy String and one for a random case with a valid String.

* pr/1262:
  Remove test cases duplicated code.
  Removed unnecessary code from getGuestOsType in CitrixResourceBase

Signed-off-by: Will Stevens <williamstevens@gmail.com>
2016-04-18 14:41:35 -04:00
..
baremetal Merge pull request #1287 from DaanHoogland/securityrules-cleanup 2016-04-11 21:49:57 +05:30
hyperv Merge pull request #969 from rafaelweingartner/master-lrg-cs-hackday-002 2016-01-27 16:08:07 +01:00
kvm Merge pull request #1287 from DaanHoogland/securityrules-cleanup 2016-04-11 21:49:57 +05:30
ovm Merge pull request #1287 from DaanHoogland/securityrules-cleanup 2016-04-11 21:49:57 +05:30
ovm3 Updating pom.xml version numbers for release 4.9.0-SNAPSHOT 2016-01-26 15:12:20 +01:00
simulator Merge pull request #1287 from DaanHoogland/securityrules-cleanup 2016-04-11 21:49:57 +05:30
ucs Updating pom.xml version numbers for release 4.9.0-SNAPSHOT 2016-01-26 15:12:20 +01:00
vmware Revert "Merge pull request #780 from maneesha-p/pull-19" due code quality issues and lack of CI results. 2016-03-21 17:38:04 -04:00
xenserver Merge pull request #1262 from rafaelweingartner/lrg-cs-hackday-015 2016-04-18 14:41:35 -04:00