summaryrefslogtreecommitdiff
path: root/runtime/common_runtime_test.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2015-12-17 19:02:47 +0000
committer android-build-merger <android-build-merger@google.com> 2015-12-17 19:02:47 +0000
commitdb2980ae9eca19a577df27b1f05912ed482fb88c (patch)
treef34df405cf1a6762ea2326edfc8d6d0128439969 /runtime/common_runtime_test.h
parentbb88f60af2260cca9f5433a02b30bc0f6edea076 (diff)
parentfae1db92d8433d0f75258c190bcf2c940731f036 (diff)
Merge "ART: Refactor CommonRuntimeTest::SetUp"
am: fae1db92d8 * commit 'fae1db92d8433d0f75258c190bcf2c940731f036': 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 6da2bef214..f3184578b6 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);