reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

unittests/Support/BinaryStreamTest.cpp
  224     ASSERT_EQ(InputData.size(), Ref.getLength());
  225     ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded());
  229     ASSERT_THAT_ERROR(Ref.readLongestContiguousChunk(2, Buffer), Succeeded());
  236     EXPECT_THAT_ERROR(Ref.readBytes(0, 6, Buffer), Failed());
  237     EXPECT_THAT_ERROR(Ref.readLongestContiguousChunk(6, Buffer), Failed());
  241     Ref = Ref.drop_front(1);
  241     Ref = Ref.drop_front(1);
  242     ASSERT_THAT_ERROR(Ref.readBytes(2, 1, Buffer), Succeeded());
  249     ASSERT_THAT_ERROR(Ref.readLongestContiguousChunk(2, Buffer), Succeeded());
  257     Ref = Ref.drop_front(1);
  257     Ref = Ref.drop_front(1);
  258     EXPECT_THAT_ERROR(Ref.readBytes(2, 2, Buffer), Failed());
  262     ASSERT_THAT_ERROR(Ref.readLongestContiguousChunk(2, Buffer), Succeeded());