cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pedro-martins <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Create test cases to getPatchFilePath met...
Date Mon, 23 Nov 2015 12:32:29 GMT
Github user pedro-martins commented on the pull request:

    https://github.com/apache/cloudstack/pull/944#issuecomment-158921322
  
    
    Thanks for your review Daan. 
    The purpose of this test is to check if an exception is thrown. The point is that, we
have several class that we need to run the very same test; therefore, the method “CitrixResourceBaseTest.
testGetPathFilesExeption” is used by methods such as “com.cloud.hypervisor.xenserver.resource.XcpOssResourceTest.testGetFiles()”.
Those methods (that are our actual test case methods) are expecting an exception. That is
why that method does not have an assertion, it is expected an exception there.


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