I have found out that QTest functions chop message string. Because most
valuable for us information goes last we must keep this in mind. --HG-- branch : develop
This commit is contained in:
parent
be7d0692a4
commit
bafb7ff70a
|
@ -124,7 +124,7 @@ void TST_TapeCommandLine::OpenMeasurements()
|
|||
<< QCoreApplication::applicationDirPath() + QDir::separator() + *tmpTestFolder +
|
||||
QDir::separator() + file, error);
|
||||
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error));
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350)));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
|
@ -122,7 +122,7 @@ void TST_ValentinaCommandLine::OpenPatterns()
|
|||
const int exit = Run(exitCode, ValentinaPath(), QStringList() << arguments.split(";;")
|
||||
<< tmp + QDir::separator() + file, error);
|
||||
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error));
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350)));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -174,7 +174,7 @@ void TST_ValentinaCommandLine::ExportMode()
|
|||
<< arguments.split(";;");
|
||||
const int exit = Run(exitCode, ValentinaPath(), arg, error);
|
||||
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error));
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350)));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -232,7 +232,7 @@ void TST_ValentinaCommandLine::TestMode()
|
|||
<< arguments.split(";;");
|
||||
const int exit = Run(exitCode, ValentinaPath(), arg, error);
|
||||
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error));
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350)));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
@ -293,7 +293,7 @@ void TST_ValentinaCommandLine::TestOpenCollection()
|
|||
<< arguments.split(";;");
|
||||
const int exit = Run(exitCode, ValentinaPath(), arg, error);
|
||||
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error));
|
||||
QVERIFY2(exit == exitCode, qUtf8Printable(error.right(350)));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user