| include_defs('//gerrit-acceptance-tests/tests.defs') |
| |
| acceptance_tests( |
| srcs = ['DraftChangeBlockedIT.java', 'SubmitOnPushIT.java'], |
| deps = [':util'], |
| ) |
| |
| acceptance_tests( |
| srcs = ['HttpPushForReviewIT.java', 'SshPushForReviewIT.java'], |
| deps = [':push_for_review'], |
| ) |
| |
| java_library( |
| name = 'push_for_review', |
| srcs = ['AbstractPushForReview.java'], |
| deps = [ |
| ':util', |
| '//gerrit-acceptance-tests:lib', |
| ], |
| ) |
| |
| java_library( |
| name = 'util', |
| srcs = [ |
| 'GitUtil.java', |
| 'PushOneCommit.java', |
| ], |
| deps = [ |
| '//gerrit-acceptance-tests:lib', |
| '//gerrit-reviewdb:server', |
| '//lib:guava', |
| '//lib:gwtorm', |
| '//lib:jsch', |
| '//lib/jgit:jgit', |
| '//lib:junit', |
| ], |
| visibility = ['//gerrit-acceptance-tests/...'], |
| ) |