commit | e94247c339652d028f5223524ecea56eac168a77 | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Fri May 17 10:58:03 2019 +0200 |
committer | David Ostrovsky <david@ostrovsky.org> | Tue Sep 10 00:27:38 2019 +0200 |
tree | 1ba055b4bf69f67ae11fef0806ac9e7f3a77c45e | |
parent | 833889d327a159b5ccea7064f4fcff3f94d4b26e [diff] |
Add test for CorePluginsRepository Using dependency on release.war in Bazel junit_tests rule, using data attribute, we can depend on release.war content in the tests: [1]. Then we can retrieve the TEST_SRCDIR passed through environment variable to the test and retrieve the content of the release.war from within the tests. The only disadvantage of this approach, is that the test in this form wouldn't work from within IDE. But in this case release.war could be built manually and passed in the test by other means. [1] https://docs.bazel.build/versions/master/build-ref.html#data Change-Id: I17128017e2ec0287baf34e84b35eed1683f3f422
Gerrit web-based plugin manager.
To enable this plugin, please look at the configuration guide