From 86fe6a316b567ff9d0b6fee9f706ebc67f7a568e Mon Sep 17 00:00:00 2001 From: David Capello Date: Tue, 9 Jun 2015 10:40:39 -0300 Subject: [PATCH] Don't create she::System on file_tests and gif_tests --- src/app/file/file_tests.cpp | 2 -- src/app/file/gif_tests.cpp | 5 +---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/app/file/file_tests.cpp b/src/app/file/file_tests.cpp index c658157b6..a4e8070df 100644 --- a/src/app/file/file_tests.cpp +++ b/src/app/file/file_tests.cpp @@ -13,7 +13,6 @@ #include "app/file/file.h" #include "app/file/file_formats_manager.h" #include "doc/doc.h" -#include "she/she.h" #include #include @@ -23,7 +22,6 @@ using namespace app; TEST(File, SeveralSizes) { - she::ScopedHandle system(she::create_system()); // Register all possible image formats. FileFormatsManager::instance()->registerAllFormats(); std::vector fn(256); diff --git a/src/app/file/gif_tests.cpp b/src/app/file/gif_tests.cpp index 5301c2ca8..ce3909234 100644 --- a/src/app/file/gif_tests.cpp +++ b/src/app/file/gif_tests.cpp @@ -14,20 +14,17 @@ #include "app/file/gif_options.h" #include "doc/doc.h" #include "doc/test_context.h" -#include "she/scoped_handle.h" -#include "she/system.h" using namespace app; class GifFormat : public ::testing::Test { public: - GifFormat() : m_system(she::create_system()) { + GifFormat() { FileFormatsManager::instance()->registerAllFormats(); } protected: doc::TestContextT m_ctx; - she::ScopedHandle m_system; }; TEST_F(GifFormat, Dimensions)