)]}'
{
  "commit": "b1a32ae79f953e21267960e6e05cdd04cb9944e6",
  "tree": "5bb924e097e87ab23803d22759e2821c2358db87",
  "parents": [
    "5988293d0494cd3dda59c0ef2147cdb2cf63ee75"
  ],
  "author": {
    "name": "QUICHE team",
    "email": "quiche-dev@google.com",
    "time": "Wed Mar 27 13:24:21 2019 -0700"
  },
  "committer": {
    "name": "Bence Béky",
    "email": "bnc@google.com",
    "time": "Fri Mar 29 11:47:31 2019 +0000"
  },
  "message": "Do not directly compare byte outputs of serialized Protocol Buffers.\n\nThis CL replaces direct comparison of serialized Protocol Buffer messages with\n::testing::EqualsProto. This removes the dependency on the exact format of\nserialized messages. For example, instead of string-comparison of two serialized\nProtocol Buffer messages, it uses ::testing::EqualsProto against two Protocol\nBuffer messages.\n\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\nEXPECT_EQ(a.SerializeAsString(), b.SerializeAsString());  // Before.\nEXPECT_THAT(a, ::testing::EqualsProto(b));  // After.\n\nEXPECT_EQ(\"thisismyserializedproto\", b.SerializeAsString());  // Before\nEXPECT_THAT(\"thisismyserializedproto\",\n::testing::proto::WhenDeserialized(::testing::EqualsProto(b)));  // After\n\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n\nDirectly comparing serialized Protocol Buffer messages are not reliable because\nProtocol Buffer serialization may vary across software versions, schema changes,\nlanguages, and even within the same program. Using ::testing::EqualsProto\nmakes the tests more robust. Also, this change ensures that the affected tests\ncontinue to work with any future implementation change in Protocol Buffer\nserialization.\n\nPiperOrigin-RevId: 240628307\nChange-Id: I7dfd4e1e0b79dedb84603824d3da187fda2e67a9\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7116993be946d4f3eb8c1fd2c692f7a9a1954786",
      "old_mode": 33188,
      "old_path": "quic/core/crypto/quic_crypto_server_config_test.cc",
      "new_id": "2de5b7ae2569c45e2aec4cca03dd44079a9bebe5",
      "new_mode": 33188,
      "new_path": "quic/core/crypto/quic_crypto_server_config_test.cc"
    }
  ]
}
