brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdowner <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Make binary files optional
Date Wed, 26 Nov 2014 17:22:13 GMT
GitHub user rdowner opened a pull request:

    https://github.com/apache/incubator-brooklyn/pull/365

    Make binary files optional

    We are unable, by Apache convention, to include binary files in our source code releases.
But we are allowed to make a source release that is a subset of our Git repository. Therefore,
we are able to make a source release that simply excludes binary files.
    
    These changes modify tests that rely on binary files to gracefully handle the lack of
binary test resources. This is done by throwing a derivative of SkipException, which causes
TestNG to mark the test as "skipped" (neither failed, nor passed)

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

    $ git pull https://github.com/rdowner/incubator-brooklyn binary-files-optional

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

    https://github.com/apache/incubator-brooklyn/pull/365.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 #365
    
----
commit b0bf899f30459b2b105aa0c82648b16c4d672eb2
Author: Richard Downer <richard@apache.org>
Date:   2014-11-26T13:05:44Z

    Add TestResourceUnavailableException
    
    Provides a way to skip TestNG tests if a test resource is not available (such as in the
source distribution, which does not carry binary test resources)

commit 6339b0ce4404b70604a84d94c98e47c56fce51e8
Author: Richard Downer <richard@apache.org>
Date:   2014-11-26T13:08:09Z

    Make embedded jars optional
    
    Modifies code that relies on jar files as an embedded resource to
    gracefully handle cases where the files are missing. Limited to tests,
    which will cause TestNG to skip the test if the resource is missing.
    Required for our source distribution, as Apache convention is to not
    ship binaries in releases.

commit 74ab16d1291d03bfc203ac36a9f5b267400d7af9
Author: Richard Downer <richard@apache.org>
Date:   2014-11-26T16:22:56Z

    Make embedded wars optional
    
    Modifies code that relies on war files as an embedded resource to
    gracefully handle cases where the files are missing. Limited to tests,
    which will cause TestNG to skip the test if the resource is missing.
    Required for our source distribution, as Apache convention is to not
    ship binaries in releases.

----


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