You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by tedpearson <gi...@git.apache.org> on 2014/04/10 20:55:50 UTC

[GitHub] curator pull request: make ChildData constructor public for access...

GitHub user tedpearson opened a pull request:

    https://github.com/apache/curator/pull/4

    make ChildData constructor public for access from unit tests and such

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/tedpearson/curator master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/curator/pull/4.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4
    
----
commit 43d1c23762b9242d2ec31a2b7d34330ec0ef2b9a
Author: Ted Pearson <te...@addthis.com>
Date:   2014-04-10T18:51:15Z

    make ChildData constructor public for access from unit tests and such

----


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

[GitHub] curator pull request: make ChildData constructor public for access...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/curator/pull/4


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

[GitHub] curator pull request: make ChildData constructor public for access...

Posted by Randgalt <gi...@git.apache.org>.
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


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