Add setup action interface

Desktop / Chromium - yolandyan [chromium.org] - 17 April 2017 19:47 EDT

Interface to ensure TestRule that implements it specifies if the rule would run a set-up process before @Before method.

BUG=640116

Review-Url: https://codereview.chromium.org/2770393002 Cr-Commit-Position: refs/heads/master@{#465062}

c236847 Add setup action interface
base/BUILD.gn | 3 +
.../src/org/chromium/base/test/SetUpStatement.java | 35 ++++++++++++
.../src/org/chromium/base/test/SetUpTestRule.java | 35 ++++++++++++
.../org/chromium/base/test/SetUpStatementTest.java | 64 ++++++++++++++++++++++
4 files changed, 137 insertions(+)

Upstream: git.chromium.org


  • Share