Lines Matching refs:ASSERT_EQ
83 ASSERT_EQ(m_pInput->context()->numOfSections(), 13u); in TEST_F()
86 ASSERT_EQ(".text", (*iter)->name()); in TEST_F()
87 ASSERT_EQ(llvm::ELF::SHT_PROGBITS, (*iter)->type()); in TEST_F()
88 ASSERT_EQ(0x40u, (*iter)->offset()); in TEST_F()
89 ASSERT_EQ(0x15u, (*iter)->size()); in TEST_F()
91 ASSERT_EQ(0x4u, (*iter)->align()); in TEST_F()
92 ASSERT_EQ(NULL, (*iter)->getLink()); in TEST_F()
93 ASSERT_EQ(0u, (*iter)->getInfo()); in TEST_F()
117 ASSERT_EQ("hello.c", std::string(m_pInput->context()->getSymbol(1)->name())); in TEST_F()
118 ASSERT_EQ("puts", std::string(m_pInput->context()->getSymbol(10)->name())); in TEST_F()
125 ASSERT_EQ(".rela.text", (*rs)->name()); in TEST_F()
132 ASSERT_EQ(llvm::ELF::SHT_RELA, (*rs)->type()); in TEST_F()
138 ASSERT_EQ(2u, rRelocs.size()); in TEST_F()
141 ASSERT_EQ("puts", std::string(rReloc->symInfo()->name())); in TEST_F()
142 ASSERT_EQ(llvm::ELF::R_X86_64_PC32, rReloc->type()); in TEST_F()
143 ASSERT_EQ(0x0u, rReloc->symValue()); in TEST_F()
144 ASSERT_EQ(static_cast<mcld::Relocation::Address>(-0x4), rReloc->addend()); in TEST_F()