diff options
| author | 2015-10-29 22:30:46 +0000 | |
|---|---|---|
| committer | 2015-10-29 22:30:46 +0000 | |
| commit | 8cb0bc28b1161dad0d2c2c1e75318b7e504faa46 (patch) | |
| tree | f8facbd68dabc781cc4f8e76353a418ef633896e /runtime/dex_file_test.cc | |
| parent | c65d1f3d26a47e2fce3c3f8872e7942fec23f9b9 (diff) | |
| parent | 9507fa2c9545156747a5eb248bc1af3159bfd8c8 (diff) | |
Merge "Change a few places to use string version of GetTypeId"
Diffstat (limited to 'runtime/dex_file_test.cc')
| -rw-r--r-- | runtime/dex_file_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/dex_file_test.cc b/runtime/dex_file_test.cc index 90b35a3e04..0a167bb8f7 100644 --- a/runtime/dex_file_test.cc +++ b/runtime/dex_file_test.cc @@ -297,6 +297,7 @@ TEST_F(DexFileTest, FindTypeId) { ASSERT_TRUE(type_str_id != nullptr); uint32_t type_str_idx = java_lang_dex_file_->GetIndexForStringId(*type_str_id); const DexFile::TypeId* type_id = java_lang_dex_file_->FindTypeId(type_str_idx); + ASSERT_EQ(type_id, java_lang_dex_file_->FindTypeId(type_str)); ASSERT_TRUE(type_id != nullptr); EXPECT_EQ(java_lang_dex_file_->GetIndexForTypeId(*type_id), i); } |