reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
225 ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded()); 226 EXPECT_EQ(makeArrayRef(InputData).slice(2, 1), Buffer); 229 ASSERT_THAT_ERROR(Ref.readLongestContiguousChunk(2, Buffer), Succeeded()); 231 EXPECT_EQ(makeArrayRef(InputData).slice(2), Buffer); 233 EXPECT_FALSE(Buffer.empty()); 236 EXPECT_THAT_ERROR(Ref.readBytes(0, 6, Buffer), Failed()); 237 EXPECT_THAT_ERROR(Ref.readLongestContiguousChunk(6, Buffer), Failed()); 242 ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded()); 244 EXPECT_EQ(makeArrayRef(InputData).slice(3, 1), Buffer); 246 EXPECT_FALSE(Buffer.empty()); 249 ASSERT_THAT_ERROR(Ref.readLongestContiguousChunk(2, Buffer), Succeeded()); 251 EXPECT_EQ(makeArrayRef(InputData).slice(3), Buffer); 253 EXPECT_FALSE(Buffer.empty()); 258 EXPECT_THAT_ERROR(Ref.readBytes(2, 2, Buffer), Failed()); 262 ASSERT_THAT_ERROR(Ref.readLongestContiguousChunk(2, Buffer), Succeeded()); 263 EXPECT_EQ(makeArrayRef(InputData).take_back(), Buffer);