summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Hair <allenhair@google.com>2014-05-22 12:07:22 -0700
committerAllen Hair <allenhair@google.com>2014-05-22 12:07:22 -0700
commit022c4b8bd20c654405470a72443fafaa08838adb (patch)
tree41313bca4da89c665630adfb73b25e1f51d5239f
parentd3aa98805e7e2a8803b427f6a79113cc8c3d79a2 (diff)
downloadjanktesthelper-022c4b8bd20c654405470a72443fafaa08838adb.tar.gz
Add throws to default test hooks.
Change-Id: Id4e5e9b93abdb862cb0dc77d484f581ebe71c80d
-rw-r--r--src/android/support/test/jank/JankTestBase.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/android/support/test/jank/JankTestBase.java b/src/android/support/test/jank/JankTestBase.java
index f6f1462..789bffc 100644
--- a/src/android/support/test/jank/JankTestBase.java
+++ b/src/android/support/test/jank/JankTestBase.java
@@ -58,22 +58,22 @@ public class JankTestBase extends InstrumentationTestCase {
/** Called once before executing a test method. */
- public void beforeTest() {
+ public void beforeTest() throws Exception {
// Default implementation. Do nothing.
}
/** Called before each iteration of the test method. */
- public void beforeLoop() {
+ public void beforeLoop() throws Exception {
// Default implementation. Do nothing.
}
/** Called after each iteration of the test method. */
- public void afterLoop() {
+ public void afterLoop() throws Exception {
// Default implementation. Do nothing.
}
/** Called once after all iterations have completed. */
- public void afterTest() {
+ public void afterTest() throws Exception {
// Default implementation. Do nothing.
}