curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CURATOR-102) org.apache.curator.framework.recipes.cache.ChildData should have public constructor
Date Sun, 13 Apr 2014 14:13:30 GMT

    [ https://issues.apache.org/jira/browse/CURATOR-102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13967837#comment-13967837
] 

ASF GitHub Bot commented on CURATOR-102:
----------------------------------------

Github user Randgalt commented on the pull request:

    https://github.com/apache/curator/pull/4#issuecomment-40308473
  
    See https://issues.apache.org/jira/browse/CURATOR-102


> org.apache.curator.framework.recipes.cache.ChildData should have public constructor
> -----------------------------------------------------------------------------------
>
>                 Key: CURATOR-102
>                 URL: https://issues.apache.org/jira/browse/CURATOR-102
>             Project: Apache Curator
>          Issue Type: Improvement
>          Components: Recipes
>    Affects Versions: 2.4.1
>            Reporter: Ted Pearson
>            Priority: Minor
>             Fix For: TBD
>
>   Original Estimate: 1m
>  Remaining Estimate: 1m
>
> See https://github.com/apache/curator/pull/4
> When unit testing an application making use of PathChildrenCache, I wanted to make some
PathChildrenCacheEvents to pass to my PathChildrenCacheListener-implementing class. However
I found that PathChildrenCacheEvent contains ChildData, which has only a no-modifier constructor,
meaning my unit test would have to be in the org.apache.curator.framework.recipies.cache package
in order to perform these tests.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message