Re-apply "InstrProf: Use a test fixture in the coverage mapping tests"
authorJustin Bogner <mail@justinbogner.com>
Tue, 17 Feb 2015 21:33:43 +0000 (21:33 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 17 Feb 2015 21:33:43 +0000 (21:33 +0000)
commitad295b5546b6633468e3e3131ed3ab09136ac934
treefd5991da4b0edf54da9770e3a6391a04815c0468
parent51beb495fc436c72aa6b4c98c8faab23b3a9a83c
Re-apply "InstrProf: Use a test fixture in the coverage mapping tests"

This time we use a helper to format the assertion so we can just use
ASSERT_TRUE instead of relying on ASSERT_EQ being able to deal with
conversions between enum types.

This reverts r229496, re-applying r229473.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229547 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/ProfileData/CoverageMappingTest.cpp