Skip to content

Commit

Permalink
UnitTiffLoad: remove not needed config.h include
Browse files Browse the repository at this point in the history
And also others, pointed out by IWYU.

Finally, it's not needed to force-enable HTTPS after all, it seems.

Change-Id: I4d9984d2485b1519bd5a9cc44834735e09a87058
  • Loading branch information
vmiklos committed Sep 16, 2019
1 parent 8d2dead commit 7f98a61
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions test/UnitTiffLoad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,17 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

#include <config.h>
#include <memory>
#include <string>

#include <Poco/URI.h>
#include <cppunit/TestAssert.h>

#include <Unit.hpp>
#include <UnitHTTP.hpp>
#include <Util.hpp>
#include <helpers.hpp>
#include <wsd/LOOLWSD.hpp>

#include <test.hpp>
class LOOLWebSocket;

/// TIFF load testcase.
class UnitTiffLoad : public UnitWSD
Expand All @@ -23,8 +26,6 @@ class UnitTiffLoad : public UnitWSD
UnitTiffLoad();

void invokeTest() override;

void configure(Poco::Util::LayeredConfiguration& config) override;
};

UnitTiffLoad::UnitTiffLoad() {}
Expand Down Expand Up @@ -53,12 +54,6 @@ void UnitTiffLoad::invokeTest()
exitTest(TestResult::Ok);
}

void UnitTiffLoad::configure(Poco::Util::LayeredConfiguration& config)
{
UnitWSD::configure(config);
config.setBool("ssl.enable", true);
}

UnitBase* unit_create_wsd(void) { return new UnitTiffLoad(); }

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */

0 comments on commit 7f98a61

Please sign in to comment.