Lines Matching refs:ElfStatus
67 ElfStatus status; in TEST()
69 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST()
70 ASSERT_EQ(ElfStatus::NO_ERROR, elf->GetBuildId(&build_id)); in TEST()
76 ElfStatus status; in TEST()
79 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST()
80 ASSERT_EQ(ElfStatus::NO_ERROR, elf->GetBuildId(&build_id)); in TEST()
108 ElfStatus status; in TEST()
110 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
111 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
118 ElfStatus status; in TEST()
121 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
122 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
130 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
131 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
139 ElfStatus status; in TEST()
141 ASSERT_EQ(ElfStatus::BUILD_ID_MISMATCH, status); in TEST()
146 ElfStatus status; in TEST()
149 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST()
150 ASSERT_EQ(ElfStatus::NO_SYMBOL_TABLE, in TEST()
157 ElfStatus status; in TEST()
159 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
160 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
174 ElfStatus status; in TEST()
178 ASSERT_NE(ElfStatus::NO_ERROR, IsValidElfPath("/dev/zero")); in TEST()
180 ASSERT_EQ(ElfStatus::READ_FAILED, IsValidElfPath(tmp_file.path)); in TEST()
182 ASSERT_EQ(ElfStatus::FILE_MALFORMED, IsValidElfPath(tmp_file.path)); in TEST()
183 ASSERT_EQ(ElfStatus::NO_ERROR, IsValidElfPath(GetTestData(ELF_FILE))); in TEST()
188 ElfStatus status; in TEST()
190 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
191 ASSERT_EQ(ElfStatus::NO_ERROR, in TEST()
199 ElfStatus status; in TEST()
201 ASSERT_EQ(ElfStatus::NO_ERROR, status); in TEST()
202 ASSERT_EQ(ElfStatus::NO_SYMBOL_TABLE, in TEST()
206 ASSERT_EQ(ElfStatus::NO_BUILD_ID, elf->GetBuildId(&build_id)); in TEST()
215 ElfStatus status; in TEST()
217 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST()
233 ElfStatus status; in TEST()
235 ASSERT_EQ(status, ElfStatus::NO_ERROR); in TEST()
236 ASSERT_EQ(ElfStatus::NO_ERROR, elf->ParseSymbols(parse_symbol)); in TEST()