summaryrefslogtreecommitdiff
path: root/runtime/dexopt_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/dexopt_test.h')
-rw-r--r--runtime/dexopt_test.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/dexopt_test.h b/runtime/dexopt_test.h
index 3203ee526b..5dff379a32 100644
--- a/runtime/dexopt_test.h
+++ b/runtime/dexopt_test.h
@@ -26,11 +26,11 @@ namespace art {
class DexoptTest : public Dex2oatEnvironmentTest {
public:
- virtual void SetUp() OVERRIDE;
+ void SetUp() override;
virtual void PreRuntimeCreate();
- virtual void PostRuntimeCreate() OVERRIDE;
+ void PostRuntimeCreate() override;
// Generate an oat file for the purposes of test.
// The oat file will be generated for dex_location in the given oat_location
@@ -71,6 +71,8 @@ class DexoptTest : public Dex2oatEnvironmentTest {
// Generate a standard oat file in the oat location.
void GenerateOatForTest(const char* dex_location, CompilerFilter::Filter filter);
+ static bool Dex2Oat(const std::vector<std::string>& args, std::string* error_msg);
+
private:
// Pre-Relocate the image to a known non-zero offset so we don't have to
// deal with the runtime randomly relocating the image by 0 and messing up