[llvm][TextAPI/MachO] Extract common code into unittest helper (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 13 Feb 2020 20:51:19 +0000 (12:51 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 13 Feb 2020 20:53:24 +0000 (12:53 -0800)
commit5810ed5186dcad03d4ae53abc103638462519f11
tree5ccad629d238a259aca9e81fe451392b2b0c4890
parentc6e8bfe7c9363129d98941373a94e22c226b4c08
[llvm][TextAPI/MachO] Extract common code into unittest helper (NFC)

This extract common code between the 4 TBD formats in a header that can
be shared.

Differential revision: https://reviews.llvm.org/D73332
llvm/unittests/TextAPI/TextStubHelpers.h [new file with mode: 0644]
llvm/unittests/TextAPI/TextStubV1Tests.cpp
llvm/unittests/TextAPI/TextStubV2Tests.cpp
llvm/unittests/TextAPI/TextStubV3Tests.cpp
llvm/unittests/TextAPI/TextStubV4Tests.cpp