mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-30 08:34:32 +00:00
fix clang-format
This commit is contained in:
parent
4e2b5c1982
commit
13c4179cff
1 changed files with 1 additions and 8 deletions
|
|
@ -4,24 +4,18 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
struct TestParam
|
struct TestParam
|
||||||
{
|
{
|
||||||
std::string name;
|
std::string name;
|
||||||
std::string fileName;
|
std::string fileName;
|
||||||
};
|
};
|
||||||
|
|
||||||
const std::vector<TestParam> testParams = {
|
const std::vector<TestParam> testParams = { { "ascii", "ascii" }, { "unicode", "(╯°□°)╯︵ ┻━┻" }, { "emoji", "💩" } };
|
||||||
{ "ascii", "ascii" },
|
|
||||||
{ "unicode", "(╯°□°)╯︵ ┻━┻"},
|
|
||||||
{ "emoji", "💩"}
|
|
||||||
};
|
|
||||||
|
|
||||||
class IniImporterTest : public ::testing::TestWithParam<TestParam>
|
class IniImporterTest : public ::testing::TestWithParam<TestParam>
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
TEST_P(IniImporterTest, TestIniImport)
|
TEST_P(IniImporterTest, TestIniImport)
|
||||||
{
|
{
|
||||||
auto param = IniImporterTest::GetParam();
|
auto param = IniImporterTest::GetParam();
|
||||||
|
|
@ -64,7 +58,6 @@ fallback-archive=game2.bsa
|
||||||
|
|
||||||
INSTANTIATE_TEST_SUITE_P(IniImporterTests, IniImporterTest, ::testing::ValuesIn(testParams));
|
INSTANTIATE_TEST_SUITE_P(IniImporterTests, IniImporterTest, ::testing::ValuesIn(testParams));
|
||||||
|
|
||||||
|
|
||||||
int main(int argc, char* argv[])
|
int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
testing::InitGoogleTest(&argc, argv);
|
testing::InitGoogleTest(&argc, argv);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue