From 096976b682dca01f5fe43fe3443e3e47b1e35ac1 Mon Sep 17 00:00:00 2001 From: Valentina Zhuravska Date: Wed, 1 Jun 2016 21:59:34 +0300 Subject: [PATCH] Better to use ifndef Q_OS_WIN. --HG-- branch : feature --- src/test/ValentinaTest/tst_valentinacommandline.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/test/ValentinaTest/tst_valentinacommandline.cpp b/src/test/ValentinaTest/tst_valentinacommandline.cpp index 731187460..dda92e6e3 100644 --- a/src/test/ValentinaTest/tst_valentinacommandline.cpp +++ b/src/test/ValentinaTest/tst_valentinacommandline.cpp @@ -273,10 +273,8 @@ void TST_ValentinaCommandLine::TestOpenCollection_data() const #endif QTest::newRow("TShirt_test") << "TShirt_test.val" << keyTest << true << V_EX_OK; QTest::newRow("TestDart") << "TestDart.val" << keyTest << true << V_EX_OK; -#ifdef Q_OS_WIN -#else +#ifndef Q_OS_WIN QTest::newRow("patrón_blusa") << "patrón_blusa.val" << keyTest << true << V_EX_OK; -#endif QTest::newRow("PajamaTopWrap2") << "PajamaTopWrap2.val" << keyTest << true << V_EX_OK; QTest::newRow("Keiko_skirt") << "Keiko_skirt.val" << keyTest << true << V_EX_OK; QTest::newRow("pantalon_base_Eli") << "pantalon_base_Eli.val" << keyTest << true << V_EX_OK; @@ -284,7 +282,7 @@ void TST_ValentinaCommandLine::TestOpenCollection_data() const QTest::newRow("IMK_Zhaketa") << "IMK_Zhaketa_poluprilegayuschego_silueta.val" << keyTest << true << V_EX_OK; QTest::newRow("Moulage_0.5_armhole_neckline") << "Moulage_0.5_armhole_neckline.val" << keyTest << true << V_EX_OK; QTest::newRow("0.7_Armhole_adjustment_0.10") << "0.7_Armhole_adjustment_0.10.val" << keyTest << true << V_EX_OK; - +#endif // We have a problem with encoding in Windows when we try to open some files in terminal }