From e79d21e06db4329c362bde9e54382f0b6996cca6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 12 Nov 2015 10:42:28 +0200 Subject: [PATCH] Updated test VIT and VST test files. --HG-- branch : develop --- src/test/ValentinaTest/ValentinaTest.pro | 9 +- ...GOST_man_ru.vst => GOST_man_ru_v0.3.0.vst} | 0 .../tst_tape/GOST_man_ru_v0.4.2.vst | 88 ++++++ ...ements.vit => all_measurements_v0.3.0.vit} | 0 .../tst_tape/all_measurements_v0.3.3.vit | 260 ++++++++++++++++++ ...ements.vst => all_measurements_v0.4.0.vst} | 0 .../tst_tape/all_measurements_v0.4.2.vst | 255 +++++++++++++++++ .../ValentinaTest/tst_tapecommandline.cpp | 18 +- 8 files changed, 624 insertions(+), 6 deletions(-) rename src/test/ValentinaTest/tst_tape/{GOST_man_ru.vst => GOST_man_ru_v0.3.0.vst} (100%) create mode 100644 src/test/ValentinaTest/tst_tape/GOST_man_ru_v0.4.2.vst rename src/test/ValentinaTest/tst_tape/{all_measurements.vit => all_measurements_v0.3.0.vit} (100%) create mode 100644 src/test/ValentinaTest/tst_tape/all_measurements_v0.3.3.vit rename src/test/ValentinaTest/tst_tape/{all_measurements.vst => all_measurements_v0.4.0.vst} (100%) create mode 100644 src/test/ValentinaTest/tst_tape/all_measurements_v0.4.2.vst diff --git a/src/test/ValentinaTest/ValentinaTest.pro b/src/test/ValentinaTest/ValentinaTest.pro index 27bf2e5d6..3bde0a421 100644 --- a/src/test/ValentinaTest/ValentinaTest.pro +++ b/src/test/ValentinaTest/ValentinaTest.pro @@ -216,9 +216,12 @@ DEPENDPATH += $${PWD}/../../libs/vpropertyexplorer TAPE_TEST_FILES += \ tst_tape/keiko.vit \ tst_tape/empty.vit \ - tst_tape/all_measurements.vit \ - tst_tape/all_measurements.vst \ - tst_tape/GOST_man_ru.vst \ + tst_tape/all_measurements_v0.3.0.vit \ + tst_tape/all_measurements_v0.4.0.vst \ + tst_tape/GOST_man_ru_v0.3.0.vst \ + tst_tape/all_measurements_v0.3.3.vit \ + tst_tape/all_measurements_v0.4.2.vst \ + tst_tape/GOST_man_ru_v0.4.2.vst \ tst_tape/broken1.vit \ tst_tape/broken2.vit \ tst_tape/broken3.vit \ diff --git a/src/test/ValentinaTest/tst_tape/GOST_man_ru.vst b/src/test/ValentinaTest/tst_tape/GOST_man_ru_v0.3.0.vst similarity index 100% rename from src/test/ValentinaTest/tst_tape/GOST_man_ru.vst rename to src/test/ValentinaTest/tst_tape/GOST_man_ru_v0.3.0.vst diff --git a/src/test/ValentinaTest/tst_tape/GOST_man_ru_v0.4.2.vst b/src/test/ValentinaTest/tst_tape/GOST_man_ru_v0.4.2.vst new file mode 100644 index 000000000..9bb86e081 --- /dev/null +++ b/src/test/ValentinaTest/tst_tape/GOST_man_ru_v0.4.2.vst @@ -0,0 +1,88 @@ + + + + 0.4.2 + false + Типовые фигуры мужчин 1-й полнотной группы, обхват груди 100 см + mm + 51 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/test/ValentinaTest/tst_tape/all_measurements.vit b/src/test/ValentinaTest/tst_tape/all_measurements_v0.3.0.vit similarity index 100% rename from src/test/ValentinaTest/tst_tape/all_measurements.vit rename to src/test/ValentinaTest/tst_tape/all_measurements_v0.3.0.vit diff --git a/src/test/ValentinaTest/tst_tape/all_measurements_v0.3.3.vit b/src/test/ValentinaTest/tst_tape/all_measurements_v0.3.3.vit new file mode 100644 index 000000000..0f5e03c7f --- /dev/null +++ b/src/test/ValentinaTest/tst_tape/all_measurements_v0.3.3.vit @@ -0,0 +1,260 @@ + + + + 0.3.3 + false + + cm + 998 + + + + 1800-01-01 + unknown + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/test/ValentinaTest/tst_tape/all_measurements.vst b/src/test/ValentinaTest/tst_tape/all_measurements_v0.4.0.vst similarity index 100% rename from src/test/ValentinaTest/tst_tape/all_measurements.vst rename to src/test/ValentinaTest/tst_tape/all_measurements_v0.4.0.vst diff --git a/src/test/ValentinaTest/tst_tape/all_measurements_v0.4.2.vst b/src/test/ValentinaTest/tst_tape/all_measurements_v0.4.2.vst new file mode 100644 index 000000000..4446ceb75 --- /dev/null +++ b/src/test/ValentinaTest/tst_tape/all_measurements_v0.4.2.vst @@ -0,0 +1,255 @@ + + + + 0.4.2 + false + + cm + 998 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/test/ValentinaTest/tst_tapecommandline.cpp b/src/test/ValentinaTest/tst_tapecommandline.cpp index 65a000292..e0d1f6a56 100644 --- a/src/test/ValentinaTest/tst_tapecommandline.cpp +++ b/src/test/ValentinaTest/tst_tapecommandline.cpp @@ -75,15 +75,27 @@ void TST_TapeCommandLine::OpenMeasurements_data() const << true << V_EX_OK; - QTest::newRow("Open a individual measurement file with all know measurements") << "all_measurements.vit" + QTest::newRow("Open the VIT file with all know measurements (v0.3.0)") << "all_measurements_v0.3.0.vit" << true << V_EX_OK; - QTest::newRow("Open a standard measurement file with all know measurements") << "all_measurements.vst" + QTest::newRow("Open the VST file with all know measurements (v0.4.0)") << "all_measurements_v0.4.0.vst" << true << V_EX_OK; - QTest::newRow("Open a standard measurement file for man ru GOST.") << "GOST_man_ru.vst" + QTest::newRow("Open the VST file for man ru GOST (v0.3.0).") << "GOST_man_ru_v0.3.0.vst" + << true + << V_EX_OK; + + QTest::newRow("Open the VIT file with all know measurements (v0.3.3)") << "all_measurements_v0.3.3.vit" + << true + << V_EX_OK; + + QTest::newRow("Open the VST file with all know measurements (v0.4.2)") << "all_measurements_v0.4.2.vst" + << true + << V_EX_OK; + + QTest::newRow("Open the VST file for man ru GOST (v0.4.2).") << "GOST_man_ru_v0.4.2.vst" << true << V_EX_OK;