New test cases.
--HG-- branch : develop
This commit is contained in:
parent
b28cc36188
commit
428175944e
|
@ -225,12 +225,15 @@ TAPE_TEST_FILES += \
|
|||
tst_tape/broken1.vit \
|
||||
tst_tape/broken2.vit \
|
||||
tst_tape/broken3.vit \
|
||||
tst_tape/broken4.vit
|
||||
tst_tape/broken4.vit \
|
||||
tst_tape/text.vit \
|
||||
tst_tape/text.vst
|
||||
|
||||
VALENTINA_TEST_FILES += \
|
||||
tst_valentina/empty.val \
|
||||
tst_valentina/issue_372.val \
|
||||
tst_valentina/wrong_obj_type.val
|
||||
tst_valentina/wrong_obj_type.val \
|
||||
tst_valentina/text.val
|
||||
|
||||
# Compilation will fail without this files after we added them to this section.
|
||||
OTHER_FILES += \
|
||||
|
|
0
src/test/ValentinaTest/tst_tape/text.vit
Normal file
0
src/test/ValentinaTest/tst_tape/text.vit
Normal file
0
src/test/ValentinaTest/tst_tape/text.vst
Normal file
0
src/test/ValentinaTest/tst_tape/text.vst
Normal file
|
@ -114,6 +114,14 @@ void TST_TapeCommandLine::OpenMeasurements_data() const
|
|||
QTest::newRow("Broken file. Invalid measurement name.") << "broken4.vit"
|
||||
<< false
|
||||
<< V_EX_NOINPUT;
|
||||
|
||||
QTest::newRow("Empty text VIT file.") << "text.vit"
|
||||
<< false
|
||||
<< V_EX_NOINPUT;
|
||||
|
||||
QTest::newRow("Empty text VST file.") << "text.vst"
|
||||
<< false
|
||||
<< V_EX_NOINPUT;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
0
src/test/ValentinaTest/tst_valentina/text.val
Normal file
0
src/test/ValentinaTest/tst_valentina/text.val
Normal file
|
@ -75,6 +75,10 @@ void TST_ValentinaCommandLine::OpenPatterns_data() const
|
|||
QTest::newRow("File with invalid object type") << "wrong_obj_type.val"
|
||||
<< false
|
||||
<< V_EX_NOINPUT;
|
||||
|
||||
QTest::newRow("Empty text VAL file") << "txt.val"
|
||||
<< false
|
||||
<< V_EX_NOINPUT;
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user