src/net/der/parse_values_unittest.cc
TEST(ParseValuesTest, ParseBitStringNonEmptyTooManyUnusedBits) {
  const uint8_t kData[] = {0x08, 0x00};

  BitString bit_string;
  EXPECT_FALSE(ParseBitString(Input(kData), &bit_string));
}
// Tests parsing an empty BIT STRING that is not minmally encoded (the entire
// last byte is comprised of unused bits).
Tests parsing an empty BIT STRING that is not minmally encoded (the entire
last byte is comprised of unused bits).
Tests parsing an empty BIT STRING that is not minmally encoded ( the entire last byte is comprised of unused bits ) .
TEST(ParseValuesTest, ParseBitStringNonEmptyTooManyUnusedBits) {
  const uint8_t kData[] = {0x08, 0x00};
  BitString bit_string;
  EXPECT_FALSE(ParseBitString(Input(kData), &bit_string));
}
TEST ( ParseValuesTest , ParseBitStringNonEmptyTooManyUnusedBits ) { const uint8_t kData [ ] = { 0x08 , 0x00 } ; BitString bit_string ; EXPECT_FALSE ( ParseBitString ( Input ( kData ) , & bit_string ) ) ; }
Tests parsing an empty BIT STRING that is not minmally encoded (the entire
last byte is comprised of unused bits).
Tests parsing an empty BIT STRING that is not minmally encoded ( the entire last byte is comprised of unused bits ) .