cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaanHoogland <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Removed unnecessary code from getGuestOsT...
Date Sun, 10 Apr 2016 20:29:14 GMT
Github user DaanHoogland commented on the pull request:

    https://github.com/apache/cloudstack/pull/1262#issuecomment-208063842
  
    Well @rafaelweingartner you can make a test class for each of the child classes of the
abstract class, as done now or you can make a CitrixResourceTest-class child of the abstract
class and test with that one. You could even make it an anonymous class in the test. I am
not sure but maybe you can even mock/spy an abstract class and have the testable method be
called without any child. Does that explain?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message