commit | d75fb7e45a0f0e6f422c4b6463afad98929fa0d1 | [log] [tgz] |
---|---|---|
author | Thomas Draebing <thomas.draebing@sap.com> | Tue Feb 05 14:09:39 2019 +0100 |
committer | Thomas Dräbing <thomas.draebing@sap.com> | Mon Feb 11 15:18:17 2019 +0000 |
tree | f7d04c4a1d1e8a9c8fc938bb70c977f722647954 | |
parent | 3e081d0e3009cb1030e4d98ed3349b28eaf5b071 [diff] |
Load TestUtils.java as a library instead of a test source file The tests of the cfoauth-plugin failed on master branch with 3 failures. One failure was caused by the TestUtils-class, which did not contain any method annotated with `@Test`, causing Junit to raise `java.lang.Exception: No runnable methods tests`. This change creates a library containing the TestUtils-class, which is loaded as a test-dependency and excludes TestUtils.java from the test-sources. This fixes one of the three observed test failures. The other test failures will be addressed in a dedicated change. Change-Id: I393969b46c39757d8bd4c84cda8d3b8a884b7510
With this plugin Gerrit can use OAuth2 protocol to authenticate users accessing Gerrit's Web UI with a CloudFoundry User Account and Authentication (UAA) server. The Sign In
link will redirect the user to the UAA login screen.
For Git-over-HTTP communication users still need to generate and use an HTTP password.
Apache License 2.0