Mock open and refit function for gr-overlay

* Checks is importing gr-overlay and instead of mocking the entire
element, mock only the necessary open and refit function so that
the dialog can be properly rendered.
When mocking gr-overlay as a whole, the dialog was not being rendered.

Change-Id: Ia919a38ec3b96f3e37531f8d03ee545b38a6bd9e
1 file changed
tree: 8667863847fd0d6ab982579ffc8f34376bda376c
  1. gr-checks/
  2. java/
  3. javatests/
  4. proto/
  5. resources/
  6. test/
  7. .eslintrc.json
  8. .gitignore
  9. .gitreview
  10. bower.json
  11. BUILD
  12. LICENSE
  13. package.json
  14. README.md
README.md

Gerrit Code Review Checks Plugin

This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.

This plugin uses polymer-cli to test.

After bower install, running polymer test -l chrome will run all tests in Chrome, and running polymer serve and navigating to http://127.0.0.1:8081/components/checks/gr-checks/gr-checks-view_test.html allows for manual debugging.

When upgrading the plugin, please use init:

java -jar gerrit.war init -d site_path

More details about “init” in https://gerrit-review.googlesource.com/Documentation/pgm-init.html