[flang][driver] Refactor one unit-test case to use fixtures (nfc)
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Wed, 20 Jan 2021 18:27:04 +0000 (18:27 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Wed, 20 Jan 2021 19:36:38 +0000 (19:36 +0000)
commitb564b12bc665c5b9d7148422e4a65871dd31b912
treee0efe75e23c5fff242cef5dd41c1c0e004501de0
parent8776e3f289c19ee2e85c593792806e6503408d59
[flang][driver] Refactor one unit-test case to use fixtures (nfc)

Move the unit test from InputOutputTest.cpp to FrontendActionTest.cpp
and re-implement it in terms of the FrontendActionTest fixture. This is
just a small code clean-up and a continuation of:
  * https://reviews.llvm.org/D93544

Moving forward, we should try be implementing all unit-test cases for
Flang's frontend actions in terms of FrontendActionTest.

Reviewed By: sameeranjoshi

Differential Revision: https://reviews.llvm.org/D94922
flang/unittests/Frontend/CMakeLists.txt
flang/unittests/Frontend/CompilerInstanceTest.cpp
flang/unittests/Frontend/FrontendActionTest.cpp
flang/unittests/Frontend/InputOutputTest.cpp [deleted file]