src/net/der/parse_values_unittest.cc
TEST(ParseValuesTest, ParseBitStringSevenOneBitsUnusedBitIsOne) {
  const uint8_t kData[] = {0x01, 0xFF};

  BitString bit_string;
  EXPECT_FALSE(ParseBitString(Input(kData), &bit_string));
}
// Tests parsing a BIT STRING of 7 bits each of which are 1. The unused bit
// however is set to 1, which is an invalid encoding.
Tests parsing a BIT STRING of 7 bits each of which are 1. The unused bit
however is set to 1, which is an invalid encoding.
Tests parsing a BIT STRING of 7 bits each of which are 1 . The unused bit however is set to 1 which is an invalid encoding .
TEST(ParseValuesTest, ParseBitStringSevenOneBitsUnusedBitIsOne) {
  const uint8_t kData[] = {0x01, 0xFF};
  BitString bit_string;
  EXPECT_FALSE(ParseBitString(Input(kData), &bit_string));
}
TEST ( ParseValuesTest , ParseBitStringSevenOneBitsUnusedBitIsOne ) { const uint8_t kData [ ] = { 0x01 , 0xFF } ; BitString bit_string ; EXPECT_FALSE ( ParseBitString ( Input ( kData ) , & bit_string ) ) ; }
Tests parsing a BIT STRING of 7 bits each of which are 1.
Tests parsing a BIT STRING of 7 bits each of which are 1 .