summaryrefslogtreecommitdiff
path: root/runtime/oat_file_assistant_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2018-04-09 17:13:42 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-04-09 17:13:42 +0000
commit65b49cd274dec0ff4f22d872948612e1afc4724c (patch)
tree2dc9c2da5df548dbe9156292be6918f5a7a1817e /runtime/oat_file_assistant_test.cc
parent2981bd597b1172aeb92da71085ad152612edb23d (diff)
parentc83e7fe38da1e94fa98f05454d96c38f5de639a4 (diff)
Merge "Fix oat_file_assistant_test."
Diffstat (limited to 'runtime/oat_file_assistant_test.cc')
-rw-r--r--runtime/oat_file_assistant_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/oat_file_assistant_test.cc b/runtime/oat_file_assistant_test.cc
index 676071b247..99bc0b2c6e 100644
--- a/runtime/oat_file_assistant_test.cc
+++ b/runtime/oat_file_assistant_test.cc
@@ -1487,7 +1487,7 @@ TEST_F(OatFileAssistantTest, SystemOdex) {
true,
false);
int status = oat_file_assistant.MakeUpToDate(false, kSpecialSharedLibraryContext, &error_msg);
- EXPECT_EQ(OatFileAssistant::kUpdateSucceeded, status) << error_msg;
+ ASSERT_EQ(OatFileAssistant::kUpdateSucceeded, status) << error_msg;
EXPECT_TRUE(oat_file_assistant.GetBestOatFile()->IsExecutable());
}
@@ -1497,7 +1497,7 @@ TEST_F(OatFileAssistantTest, SystemOdex) {
true,
true);
int status = oat_file_assistant.MakeUpToDate(false, kSpecialSharedLibraryContext, &error_msg);
- EXPECT_EQ(OatFileAssistant::kUpdateSucceeded, status) << error_msg;
+ ASSERT_EQ(OatFileAssistant::kUpdateSucceeded, status) << error_msg;
EXPECT_FALSE(oat_file_assistant.GetBestOatFile()->IsExecutable());
}
@@ -1510,7 +1510,7 @@ TEST_F(OatFileAssistantTest, SystemOdex) {
true,
false);
int status = oat_file_assistant.MakeUpToDate(false, kSpecialSharedLibraryContext, &error_msg);
- EXPECT_EQ(OatFileAssistant::kUpdateSucceeded, status) << error_msg;
+ ASSERT_EQ(OatFileAssistant::kUpdateSucceeded, status) << error_msg;
EXPECT_TRUE(oat_file_assistant.GetBestOatFile()->IsExecutable());
}
@@ -1520,7 +1520,7 @@ TEST_F(OatFileAssistantTest, SystemOdex) {
true,
true);
int status = oat_file_assistant.MakeUpToDate(false, kSpecialSharedLibraryContext, &error_msg);
- EXPECT_EQ(OatFileAssistant::kUpdateSucceeded, status) << error_msg;
+ ASSERT_EQ(OatFileAssistant::kUpdateSucceeded, status) << error_msg;
EXPECT_TRUE(oat_file_assistant.GetBestOatFile()->IsExecutable());
}
}