commit | 2e90c2a8b3e1523f928616cec1d603392e86b532 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Tue Aug 20 07:31:11 2024 +0000 |
committer | Edwin Kempin <ekempin@google.com> | Tue Aug 20 07:31:11 2024 +0000 |
tree | 4b990a015fd2f5cb58bd20b2e4238d1752e6fcee | |
parent | 6a6c1a2e123cfa5fb0b1df4a298d433215ca057f [diff] |
Migrate from the deprecated Charsets to StandardCharsets Migrate from the deprecated Charsets constants (in Guava) to the StandardCharsets constants (in the JDK). These changes have been applied internally at Google (cl/658685362), but they may get overridden on the next import. Change-Id: Ib5e403ddeaf5755295c19a9e82dd64bed9b820ef Signed-off-by: Edwin Kempin <ekempin@google.com>
See src/main/resources/documentation.
For running unit tests execute:
bazel test --test_output=all //plugins/automerger/web:karma_test
For checking or fixing eslint formatter problems run:
bazel test //plugins/automerger/web:lint_test bazel run //plugins/automerger/web:lint_bin -- --fix "$(pwd)/plugins/automerger/web"
For testing the plugin with Gerrit FE Dev Helper build the JavaScript bundle and copy it to the plugins/
folder:
bazel build //plugins/automerger/web:automerger cp -f bazel-bin/plugins/automerger/web/automerger.js plugins/
and let the Dev Helper redirect from .+/plugins/automerger/static/automerger.js
to http://localhost:8081/plugins_/automerger.js
.