summaryrefslogtreecommitdiff
path: root/runtime/common_runtime_test.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-12-18 01:49:38 +0000
committer android-build-merger <android-build-merger@google.com> 2015-12-18 01:49:38 +0000
commitf1e91bfa95d04c94d82baea605533fa3f9e0268f (patch)
tree498ca5e4627971e033f7855f2e5cf186c8ce60c2 /runtime/common_runtime_test.h
parente38c254052b3f2f4f4b283079f070c024d86dc63 (diff)
parentdb2980ae9eca19a577df27b1f05912ed482fb88c (diff)
Merge "ART: Refactor CommonRuntimeTest::SetUp" am: fae1db92d8
am: db2980ae9e * commit 'db2980ae9eca19a577df27b1f05912ed482fb88c': ART: Refactor CommonRuntimeTest::SetUp
Diffstat (limited to 'runtime/common_runtime_test.h')
-rw-r--r--runtime/common_runtime_test.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h
index 672bd7173d..8d9e6281c0 100644
--- a/runtime/common_runtime_test.h
+++ b/runtime/common_runtime_test.h
@@ -114,6 +114,10 @@ class CommonRuntimeTest : public testing::Test {
// Called after the runtime is created.
virtual void PostRuntimeCreate() {}
+ // Called to finish up runtime creation and filling test fields. By default runs root
+ // initializers, initialize well-known classes, and creates the heap thread pool.
+ virtual void FinalizeSetup();
+
// Gets the path of the specified dex file for host or target.
static std::string GetDexFileName(const std::string& jar_prefix);