[llvm] r264646 - Remove accidentally duplicated test
Duncan P. N. Exon Smith via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 28 13:30:15 PDT 2016
Author: dexonsmith
Date: Mon Mar 28 15:30:15 2016
New Revision: 264646
URL: http://llvm.org/viewvc/llvm-project?rev=264646&view=rev
Log:
Remove accidentally duplicated test
This was identical to setArtificialByteLimitNotWordBoundary.
Modified:
llvm/trunk/unittests/Bitcode/BitstreamReaderTest.cpp
Modified: llvm/trunk/unittests/Bitcode/BitstreamReaderTest.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Bitcode/BitstreamReaderTest.cpp?rev=264646&r1=264645&r2=264646&view=diff
==============================================================================
--- llvm/trunk/unittests/Bitcode/BitstreamReaderTest.cpp (original)
+++ llvm/trunk/unittests/Bitcode/BitstreamReaderTest.cpp Mon Mar 28 15:30:15 2016
@@ -140,19 +140,6 @@ TEST(BitstreamReaderTest, setArtificialB
EXPECT_EQ(8u, Cursor.getCurrentByteNo());
}
-TEST(BitstreamReaderTest, setArtificialByteLimitNot4ByteBoundary) {
- uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
- 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f};
- BitstreamReader Reader(std::begin(Bytes), std::end(Bytes));
- SimpleBitstreamCursor Cursor(Reader);
-
- Cursor.setArtificialByteLimit(5);
- while (!Cursor.AtEndOfStream())
- (void)Cursor.Read(1);
-
- EXPECT_EQ(8u, Cursor.getCurrentByteNo());
-}
-
TEST(BitstreamReaderTest, setArtificialByteLimitPastTheEnd) {
uint8_t Bytes[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
0x08, 0x09, 0x0a, 0x0b};
More information about the llvm-commits
mailing list