summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp')
-rw-r--r--lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp b/lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp
index 299c41f1d33..582aed0378a 100644
--- a/lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp
+++ b/lldb/unittests/Expression/ClangExpressionDeclMapTest.cpp
@@ -7,6 +7,7 @@
//===----------------------------------------------------------------------===//
#include "Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.h"
+#include "TestingSupport/SubsystemRAII.h"
#include "TestingSupport/Symbol/ClangTestUtils.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
@@ -54,14 +55,7 @@ private:
namespace {
struct ClangExpressionDeclMapTest : public testing::Test {
- static void SetUpTestCase() {
- FileSystem::Initialize();
- HostInfo::Initialize();
- }
- static void TearDownTestCase() {
- HostInfo::Terminate();
- FileSystem::Terminate();
- }
+ SubsystemRAII<FileSystem, HostInfo> subsystems;
/// The ClangASTImporter used during the test.
ClangASTImporterSP importer;
OpenPOWER on IntegriCloud