)]}' { "commit": "0afe1f2b3fa2e71b3b426dcf9a2a378fbf24c45c", "tree": "4e18d42249fe90490099c3d90c3933bd45967fa1", "parents": [ "f0d110e3058bba9a31f9bd0a8727bdd0a559af82" ], "author": { "name": "Alastair Donaldson", "email": "alastair.donaldson@imperial.ac.uk", "time": "Sat May 22 17:45:09 2021 +0100" }, "committer": { "name": "GitHub", "email": "noreply@github.com", "time": "Sat May 22 17:45:09 2021 +0100" }, "message": "spirv-fuzz: Cover protobuf message creation in tests (#4285)\n\nThe Transformation class tests did not cover the (trivial) ToMessage\r\nmethods of each transformation, nor the constructors that take a\r\nprotobuf message. This lac of coverage makes it hard to see which more\r\ninteresting pieces of code are not covered when looking at coverage\r\npercentages. This change adapts the helper function for applying a\r\ntransformation and checking fresh ids so that it turns a\r\ntransformation into a protobuf message and back, thus covering\r\nToMessage and the protobuf constructor for every transformation. The\r\nruntime overhead of doing this is very small.", "tree_diff": [ { "type": "modify", "old_id": "28d3f892bb19d4bb2aaa5b8b9f0ba235639472ae", "old_mode": 33188, "old_path": "test/fuzz/fuzz_test_util.cpp", "new_id": "bf0a4ff5dc8f99f6eda1b969db65c4b38e288a62", "new_mode": 33188, "new_path": "test/fuzz/fuzz_test_util.cpp" } ] }