mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-12 10:03:53 +02:00
ad2c429d8f
* Convert TestConfig to proper test environment. * Copy test data to build directory. * Get test recognized by ctest, but disable gtest discovery. Allowing ctest to run each test individually isn't currently practical because it is 50 times slower.
21 lines
449 B
C++
21 lines
449 B
C++
/*
|
|
* CVcmiTestConfig.h, part of VCMI engine
|
|
*
|
|
* Authors: listed in file AUTHORS in main folder
|
|
*
|
|
* License: GNU General Public License v2.0 or later
|
|
* Full text of license available in license.txt file, in main folder
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#include "StdInc.h"
|
|
|
|
/// Global setup/tear down class for unit tests.
|
|
class CVcmiTestConfig : public ::testing::Environment
|
|
{
|
|
public:
|
|
virtual void SetUp() override;
|
|
virtual void TearDown() override;
|
|
};
|