[flang][driver] Refactor unit tests for frontend actions (nfc)
authorAndrzej Warzynski <andrzej.warzynski@arm.com>
Tue, 22 Dec 2020 11:07:58 +0000 (11:07 +0000)
committerAndrzej Warzynski <andrzej.warzynski@arm.com>
Tue, 22 Dec 2020 13:06:56 +0000 (13:06 +0000)
commit44e74c75e614af453f4824cb9bf1f0056d7cf426
tree8eaae84d35fc20927359dd8f194db6054ee6a1be
parentc4fc8a21d1dbfd2e269a59533808913b46faa8ce
[flang][driver] Refactor unit tests for frontend actions (nfc)

These patch implements a few non-functional-changes:
  * switch to using test fixtures for better code sharing
  * rename some variables (e.g. to communicate their purpose a bit better)
This patch doesn't change _what_ is being tested.

Differential Revision: https://reviews.llvm.org/D93544
flang/unittests/Frontend/FrontendActionTest.cpp