cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From koushik-das <...@git.apache.org>
Subject [GitHub] cloudstack pull request: CLOUDSTACK-8656: tests ignoring exception...
Date Wed, 30 Sep 2015 12:38:04 GMT
Github user koushik-das commented on the pull request:

    https://github.com/apache/cloudstack/pull/850#issuecomment-144384074
  
    @DaanHoogland @borisroman The test needs to invoke a protected method from a class and
so is done using reflection. The test case already asserts for the method not being null.
Now reflection methods throws some standard exceptions which either needs to be handled or
thrown as per Java method contract. Since the null check is already there, the exceptions
can be safely ignored.


---
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