Testing Tape.exe. More test cases.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-10-03 14:09:06 +03:00
parent 29cd62e5ef
commit ed156d3d57
15 changed files with 836 additions and 27 deletions

View File

@ -28,6 +28,7 @@
#include "tmainwindow.h"
#include "mapplication.h"
#include "../vmisc/vsysexits.h"
#include <QMessageBox> // For QT_REQUIRE_VERSION
@ -54,5 +55,5 @@ int main(int argc, char *argv[])
}
app.InitOptions();
app.ParseCommandLine(app.arguments());
return app.IsTestMode() ? 0 : app.exec(); // single return point is always better than more
return app.IsTestMode() ? V_EX_OK : app.exec(); // single return point is always better than more
}

View File

@ -80,5 +80,5 @@ int main(int argc, char *argv[])
}
}
return (VApplication::CheckGUI()) ? app.exec() : 0; // single return point is always better than more
return (VApplication::CheckGUI()) ? app.exec() : V_EX_OK; // single return point is always better than more
}

View File

@ -31,6 +31,8 @@
#include <QTextStream>
constexpr auto V_EX_OK = 0; /*Indicate the successful exit.*/
constexpr auto V_EX_USAGE = 64; /*The command was used incorrectly, e.g., with the wrong number of arguments, a
bad flag, a bad syntax in a parameter, or whatever.*/

View File

@ -182,7 +182,19 @@ INCLUDEPATH += $${PWD}/../../libs/vpropertyexplorer
DEPENDPATH += $${PWD}/../../libs/vpropertyexplorer
TAPE_TEST_FILES += \
tst_tape/keiko.vit
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/broken1.vit \
tst_tape/broken2.vit \
tst_tape/broken3.vit \
tst_tape/broken4.vit
# Compilation will fail without this files after we added them to this section.
OTHER_FILES += \
$$TAPE_TEST_FILES
for(DIR, TAPE_TEST_FILES) {
#add these absolute paths to a variable which

View File

@ -28,6 +28,7 @@
#include "abstracttest.h"
#include "../vmisc/logging.h"
#include "../vmisc/vsysexits.h"
#include <QtTest>
@ -72,18 +73,16 @@ QString AbstractTest::TapePath() const
}
//---------------------------------------------------------------------------------------------------------------------
bool AbstractTest::Run(bool showWarn, const QString &program, const QStringList &arguments)
bool AbstractTest::Run(bool showWarn, int &exitCode, const QString &program, const QStringList &arguments)
{
const QString parameters = QString("Program: %1 \nArguments: %2.").arg(program).arg(arguments.join(", "));
QFileInfo info(program);
if (not info.exists())
{
if (showWarn)
{
const QString msg = QString("Can't find binary.\n%1").arg(parameters);
QWARN(qUtf8Printable(msg));
}
const QString msg = QString("Can't find binary.\n%1").arg(parameters);
QWARN(qUtf8Printable(msg));
exitCode = TST_EX_BIN;
return false;
}
@ -93,36 +92,33 @@ bool AbstractTest::Run(bool showWarn, const QString &program, const QStringList
if (not process->waitForFinished())// 30 sec
{
if (showWarn)
{
const QString msg = QString("The operation timed out or an error occurred.\n%1").arg(parameters);
QWARN(qUtf8Printable(msg));
}
const QString msg = QString("The operation timed out or an error occurred.\n%1").arg(parameters);
QWARN(qUtf8Printable(msg));
exitCode = TST_EX_TIME_OUT;
return false;
}
if (process->exitStatus() == QProcess::CrashExit)
{
if (showWarn)
{
const QString msg = QString("Program crashed.\n%1\n%2").arg(parameters)
.arg(QString(process->readAllStandardError()));
QWARN(qUtf8Printable(msg));
}
const QString msg = QString("Program crashed.\n%1\n%2").arg(parameters)
.arg(QString(process->readAllStandardError()));
QWARN(qUtf8Printable(msg));
exitCode = TST_EX_CRASH;
return false;
}
if (process->exitCode() != 0)
if (process->exitCode() != V_EX_OK)
{
if (showWarn)
{
const QString msg = QString("Failed.\n%1\n%2").arg(parameters)
.arg(QString(process->readAllStandardError()));
const QString msg = QString("\n%1").arg(QString(process->readAllStandardError()));
QWARN(qUtf8Printable(msg));
}
exitCode = process->exitCode();
return false;
}
exitCode = process->exitCode();
delete process;
return true;
}

View File

@ -31,6 +31,11 @@
#include <QObject>
// Return codes for testing run application
constexpr auto TST_EX_BIN = -1; // Can't find binary.
constexpr auto TST_EX_TIME_OUT = -2; // The operation timed out or an error occurred.
constexpr auto TST_EX_CRASH = -3; // Program crashed.
class AbstractTest : public QObject
{
Q_OBJECT
@ -43,7 +48,7 @@ protected:
QString ValentinaPath() const;
QString TapePath() const;
bool Run(bool showWarn, const QString &program, const QStringList &arguments);
bool Run(bool showWarn, int &exitCode, const QString &program, const QStringList &arguments);
bool CopyRecursively(const QString &srcFilePath, const QString &tgtFilePath) const;
};

View File

@ -0,0 +1,158 @@
<?xml version="1.0" encoding="UTF-8"?>
<vst>
<version>0.3.0</version>
<description>Типовые фигуры мужчин 1-й полнотной группы, обхват груди 100 см</description>
<id>0</id>
<unit>mm</unit>
<size base="500"/>
<height base="1760"/>
<body-measurements>
<head_and_neck>
<head_girth value="576" size_increase="4" height_increase ="4"/><!--Огол(Обхват головы)-->
<mid_neck_girth value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<neck_base_girth value="404" size_increase="8" height_increase ="2"/><!--Ош(Обхват шеи)-->
<head_and_neck_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
</head_and_neck>
<torso>
<center_front_waist_length value="0.0" size_increase="0" height_increase="0"/><!--Дпт(Длина переда до талии) Не используется в этой таблице-->
<center_back_waist_length value="438" size_increase="2" height_increase ="10"/><!--Дтс(Длина спины до талии с учетом выступа лопаток)-->
<shoulder_length value="160" size_increase="1" height_increase ="4"/><!--Шп(Длина плечевого ската)-->
<side_waist_length value="0.0" size_increase="0" height_increase="0"/><!--Дб(Длина боковой части)-->
<trunk_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<shoulder_girth value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<upper_chest_girth value="1034" size_increase="36" height_increase ="4"/><!--ОгI(Обхват груди первый)-->
<bust_girth value="1044" size_increase="38" height_increase ="2"/><!--ОгII(Обхват груди второй)-->
<under_bust_girth value="1000" size_increase="40" height_increase ="0"/><!--ОгIII(Обхват груди третий)-->
<waist_girth value="780" size_increase="40" height_increase ="0"/><!--От(Обхват талии)-->
<high_hip_girth value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<hip_girth value="984" size_increase="30" height_increase ="10"/><!--Об(Обхват бедер с учетом выступания живота)-->
<upper_front_chest_width value="0.0" size_increase="0" height_increase="0"/><!--Шг1(Ширина груди первая)-->
<front_chest_width value="0.0" size_increase="0" height_increase="0"/><!--Шг2(Ширина груди вторая)-->
<across_front_shoulder_width value="412" size_increase="5" height_increase ="8"/><!--dпл(Плечевой диаметр)-->
<across_back_shoulder_width value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<upper_back_width value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_width value="416" size_increase="10" height_increase ="2"/><!--Шс(Ширина спины)-->
<bustpoint_to_bustpoint value="224" size_increase="6" height_increase ="0"/><!--Цг(Расстояние между сосковыми точками)-->
<halter_bustpoint_to_bustpoint value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<neck_to_bustpoint value="262" size_increase="8" height_increase ="3"/><!--Вг(Расстояние от точки основания шеи сбоку до сосковой точки (высота груди))-->
<crotch_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<rise_height value="316" size_increase="4" height_increase ="7"/><!--Дпс(Расстояние от линии талии до подъягодичной складки)-->
<shoulder_drop value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<shoulder_slope_degrees value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_shoulder_slope_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_shoulder_slope_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_shoulder_to_waist_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_shoulder_to_waist_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_neck_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_neck_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_upper_chest_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_upper_chest_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_waist_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_waist_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_upper_hip_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_upper_hip_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_hip_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_hip_arc value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<chest_slope value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_slope value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_waist_slope value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<back_waist_slope value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_neck_to_upper_chest_height value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_neck_to_bust_height value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<front_waist_to_upper_chest value="0.0" size_increase="0" height_increase="0"/><!--Дпер(Длина переда от линии талии вверх по центру до начала ложбины)-->
<front_waist_to_lower_breast value="0.0" size_increase="0" height_increase="0"/><!--Дпг(Длина от талии до основания грудных желез)-->
<back_waist_to_upper_chest value="0.0" size_increase="0" height_increase="0"/><!--Дст(Длина спинки по спине от линии талии вверх до выступающего уголка лопатки)-->
<strap_length value="0.0" size_increase="0" height_increase="0"/><!--Дбр(Длина бретели от выступающего уголка лопатки вертикально до начала грудной железы)-->
</torso>
<arm>
<armscye_girth value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<elbow_girth value="0.0" size_increase="0" height_increase="0"/><!--Олк(Обхват локтя)-->
<upper_arm_girth value="316" size_increase="12" height_increase ="0"/><!--Оп(Обхват плеча)-->
<wrist_girth value="180" size_increase="4" height_increase ="0"/><!--Озап(Обхват запястья)-->
<scye_depth value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<shoulder_and_arm_length value="768" size_increase="2" height_increase ="24"/><!--Дзап(Расстояние от точки основания шеи сбоку до линии обхвата запястья)-->
<underarm_length value="0.0" size_increase="0" height_increase="0"/><!--Втр(Внутренняя длина рукава (с окатом)) Не используется в этой таблице-->
<cervicale_to_wrist_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<shoulder_to_elbow_length value="338" size_increase="2" height_increase ="12"/><!--Дрлок(Длина руки до локтя)-->
<arm_length value="594" size_increase="3" height_increase ="19"/><!--Дрзап(Длина рукава от плеча до линии обхвата запястья)-->
</arm>
<hand>
<hand_width value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<hand_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<hand_girth value="263" size_increase="3" height_increase ="3"/><!--Окис(Обхват кисти)-->
</hand>
<leg>
<thigh_girth value="566" size_increase="18" height_increase ="6"/><!--Обед(Обхват бедра)-->
<mid_thigh_girth value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<knee_girth value="386" size_increase="8" height_increase ="8"/><!--Ок(Обхват колена)-->
<calf_girth value="380" size_increase="8" height_increase ="6"/><!--Ои(Обхват икры)-->
<ankle_girth value="234" size_increase="4" height_increase ="4"/><!--Ощ(Обхват щиколотки)-->
<knee_height value="503" size_increase="0" height_increase ="22"/><!--Вк(Высота коленной точки)-->
<ankle_height value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
</leg>
<foot>
<foot_width value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<foot_length value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
</foot>
<heights>
<cervicale_height value="1522" size_increase="2" height_increase ="54"/><!--Вшт(Высота точки основания шеи сзади)-->
<cervicale_to_knee_height value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<waist_height value="1102" size_increase="0" height_increase ="43"/><!--Влт(Высота линии талии)-->
<high_hip_height value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<hip_height value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<waist_to_hip_height value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<waist_to_knee_height value="0.0" size_increase="0" height_increase="0"/><!--Нету перевода-->
<crotch_height value="826" size_increase="-3" height_increase ="37"/><!--Дн(Длина ноги по внутренней поверхности)-->
</heights>
<extended>
<height_front_neck_base_point value="1450" size_increase="2" height_increase ="51"/><!--Втос(Высота точки основания шеи спереди)-->
<height_base_neck_side_point value="1506" size_increase="2" height_increase ="54"/><!--Втош(Высота точки основания шеи сбоку)-->
<height_shoulder_point value="1438" size_increase="3" height_increase ="52"/><!--Впт(Высота плечевой точки)-->
<height_nipple_point value="1257" size_increase="-1" height_increase ="49"/><!--Вст(Высота сосковой точки)-->
<height_back_angle_axilla value="1328" size_increase="0" height_increase ="49"/><!--Взу(Высота заднего угла подмышечной впадины)-->
<height_scapular_point value="1320" size_increase="0" height_increase ="49"/><!--Влоп(Высота лопаточной точки)-->
<height_under_buttock_folds value="811" size_increase="-1" height_increase ="36"/><!--Впс(Высота подъягодичной складки)-->
<hips_excluding_protruding_abdomen value="964" size_increase="24" height_increase ="12"/><!--ОбI(Обхват бедер без учета выступания живота)-->
<girth_foot_instep value="350" size_increase="2" height_increase ="8"/><!--Ос(Обхват подъема стопы)-->
<side_waist_to_floor value="1120" size_increase="0" height_increase ="44"/><!--Дсб(Расстояние от линии талии до пола сбоку (длина брюк))-->
<front_waist_to_floor value="1110" size_increase="0" height_increase ="43"/><!--Дсп(Расстояние от линии талии до пола спереди)-->
<arc_through_groin_area value="783" size_increase="14" height_increase ="15"/><!--Дпоб(Дуга через паховую область)-->
<waist_to_plane_seat value="260" size_increase="1" height_increase ="6"/><!--Вс(Расстояние от линии талии до плоскости сидения)-->
<neck_to_radial_point value="500" size_increase="2" height_increase ="15"/><!--Длуч(Расстояние от точки основания шеи сбоку до лучевой точки)-->
<neck_to_third_finger value="970" size_increase="2" height_increase ="29"/><!--ДIIIп(Расстояние от точки основания шеи сбоку до конца третьего пальца)-->
<neck_to_first_line_chest_circumference value="214" size_increase="3" height_increase ="3"/><!--Впрп(Расстояние от точки основания шеи сбоку до линии обхвата груди первого спереди)-->
<front_waist_length value="460" size_increase="7" height_increase ="9"/><!--Дтп(Расстояние от точки основания шеи сбоку до линии талии спереди (длани талии спереди))-->
<arc_through_shoulder_joint value="355" size_increase="5" height_increase ="5"/><!--Дп(Дуга через высшую точку плечевого сустава)-->
<neck_to_back_line_chest_circumference value="208" size_increase="3" height_increase ="5"/><!--Впрз(Расстояние от точки основания шеи сзади до линии обхватов груди первого и второго с учетом выступа лопаток)-->
<waist_to_neck_side value="469" size_increase="2" height_increase ="10"/><!--ДтсI(Расстояние от линии талии сзади до точки основания шеи сбоку)-->
<arc_length_upper_body value="929" size_increase="9" height_increase ="19"/><!--Двчт(Длина дуги верхней части туловища через точку основания шеи сбоку)-->
<chest_width value="370" size_increase="14" height_increase ="4"/><!--Шг(Ширина груди)-->
<anteroposterior_diameter_hands value="121" size_increase="6" height_increase ="0"/><!--dпзр(Передне-задний диаметр руки)-->
<height_clavicular_point value="1454" size_increase="2" height_increase ="52"/><!--Вкт(Высота ключичной точки)-->
<height_armhole_slash value="324" size_increase="7" height_increase ="2"/><!--Впрк(Расстояние от шейной точки до уровня заднего угла подмышечной впадины спереди (высота проймы косая))-->
<slash_shoulder_height value="495" size_increase="5" height_increase ="7"/><!--Впк(Высота плеча косая)-->
<half_girth_neck value="202" size_increase="4" height_increase ="2"/><!--Сш(Полуобхват шеи)-->
<half_girth_neck_for_shirts value="205" size_increase="5" height_increase ="0"/><!--Сш1(Полуобхват шеи для сорочек)-->
<half_girth_chest_first value="517" size_increase="18" height_increase ="2"/><!--СгI(Полуобхват груди первый)-->
<half_girth_chest_second value="522" size_increase="19" height_increase ="1"/><!--СгII(Полуобхват груди второй)-->
<half_girth_chest_third value="500" size_increase="20" height_increase ="0"/><!--СгIII(Полуобхват груди третий)-->
<half_girth_waist value="390" size_increase="20" height_increase ="0"/><!--Ст(Полуобхват талии)-->
<half_girth_hips_considering_protruding_abdomen value="492" size_increase="15" height_increase ="5"/><!--Сб(Полуобхват бедер с учетом выступания живота)-->
<half_girth_hips_excluding_protruding_abdomen value="482" size_increase="12" height_increase ="6"/><!--СбI(Полуобхват бедер без учета выступания живота)-->
<girth_knee_flexed_feet value="399" size_increase="9" height_increase ="8"/><!--Окс(Обхват колена в согнутом положении ноги)-->
<neck_transverse_diameter value="130" size_increase="2" height_increase ="2"/><!--dш(Поперечный диаметр шеи)-->
<front_slash_shoulder_height value="453" size_increase="7" height_increase ="8"/><!--Впкп(Высота плеча косая спереди)-->
<neck_to_front_waist_line value="449" size_increase="6" height_increase ="8"/><!--Дтн1(Расстояние от точки основания шеи до линии талии спереди)-->
<hand_vertical_diameter value="128" size_increase="2" height_increase ="2"/><!--dвр(Вертикальный диаметр руки)-->
<neck_to_knee_point value="1019" size_increase="0" height_increase ="34"/><!--Дшк(Расстояние от шейной точки до колена)-->
<waist_to_knee value="603" size_increase="-2" height_increase ="24"/><!--Дтк(Расстояние от линии талии до колена)-->
<shoulder_height value="67" size_increase="0" height_increase ="2"/><!--Вп(Высота плеча)-->
<head_height value="246" size_increase="-2" height_increase ="6"/><!--Вгол(Высота головы)-->
<body_position value="84" size_increase="0" height_increase ="3"/><!--Пкор(Положение корпуса)-->
<arc_behind_shoulder_girdle value="535" size_increase="7" height_increase ="7"/><!--Дпз(Дуга плечевого пояса сзади)-->
<neck_to_neck_base value="109" size_increase="1" height_increase ="0"/><!--Дшош(Расстояние от шейной точки до точки основания шеи сбоку по линии измерения обхвата шеи)-->
<depth_waist_first value="64" size_increase="-1" height_increase ="0"/><!--Гт1(Глубина талии первая)-->
<depth_waist_second value="37" size_increase="0" height_increase ="0"/><!--ГтII(Глубина талии вторая)-->
</extended>
</body-measurements>
</vst>

View File

@ -0,0 +1,254 @@
<?xml version="1.0" encoding="UTF-8"?>
<vit>
<!--Measurements created with Valentina (http://www.valentina-project.org/).-->
<version>0.3.0</version>
<read-only>false</read-only>
<notes/>
<unit>cm</unit>
<personal>
<family-name/>
<given-name/>
<birth-date>1990-02-15</birth-date>
<sex>male</sex>
<email/>
</personal>
<body-measurements>
<m name="height" value="0"/>
<m name="height_neck_back" value="0"/>
<m name="height_scapula" value="0"/>
<m name="height_armpit" value="0"/>
<m name="height_waist_side" value="0"/>
<m name="height_hip" value="0"/>
<m name="height_gluteal_fold" value="0"/>
<m name="height_knee" value="0"/>
<m name="height_calf" value="0"/>
<m name="height_ankle_high" value="0"/>
<m name="height_ankle" value="0"/>
<m name="height_highhip" value="0"/>
<m name="height_waist_front" value="0"/>
<m name="height_bustpoint" value="0"/>
<m name="height_shoulder_tip" value="0"/>
<m name="height_neck_front" value="0"/>
<m name="height_neck_side" value="0"/>
<m name="height_neck_back_to_knee" value="(height_neck_back - height_knee)"/>
<m name="height_waist_side_to_knee" value="(height_waist_side - height_knee)"/>
<m name="height_waist_side_to_hip" value="(height_waist_side - height_hip)"/>
<m name="height_knee_to_ankle" value="(height_knee - height_ankle)"/>
<m name="height_neck_back_to_waist_side" value="(height_neck_back - height_waist_side)"/>
<m name="width_shoulder" value="0"/>
<m name="width_bust" value="0"/>
<m name="width_waist" value="0"/>
<m name="width_hip" value="0"/>
<m name="width_abdomen_to_hip" value="0"/>
<m name="indent_neck_back" value="0"/>
<m name="indent_waist_back" value="0"/>
<m name="indent_ankle_high" value="0"/>
<m name="hand_palm_length" value="0"/>
<m name="hand_length" value="0"/>
<m name="hand_palm_width" value="0"/>
<m name="hand_palm_circ" value="0"/>
<m name="hand_circ" value="0"/>
<m name="foot_width" value="0"/>
<m name="foot_length" value="0"/>
<m name="foot_circ" value="0"/>
<m name="foot_instep_circ" value="0"/>
<m name="head_circ" value="0"/>
<m name="head_length" value="0"/>
<m name="head_depth" value="0"/>
<m name="head_width" value="0"/>
<m name="head_crown_to_neck_back" value="(height - height_neck_back)"/>
<m name="head_chin_to_neck_back" value="(height - height_neck_back - head_length)"/>
<m name="neck_mid_circ" value="0"/>
<m name="neck_circ" value="0"/>
<m name="highbust_circ" value="0"/>
<m name="bust_circ" value="0"/>
<m name="lowbust_circ" value="0"/>
<m name="rib_circ" value="0"/>
<m name="waist_circ" value="0"/>
<m name="highhip_circ" value="0"/>
<m name="hip_circ" value="0"/>
<m name="neck_arc_f" value="0"/>
<m name="highbust_arc_f" value="0"/>
<m name="bust_arc_f" value="0"/>
<m name="lowbust_arc_f" value="0"/>
<m name="rib_arc_f" value="0"/>
<m name="waist_arc_f" value="0"/>
<m name="highhip_arc_f" value="0"/>
<m name="hip_arc_f" value="0"/>
<m name="neck_arc_half_f" value="(neck_arc_f/2)"/>
<m name="highbust_arc_half_f" value="(highbust_arc_f/2)"/>
<m name="bust_arc_half_f" value="(bust_arc_f/2)"/>
<m name="lowbust_arc_half_f" value="(lowbust_arc_f/2)"/>
<m name="rib_arc_half_f" value="(rib_arc_f/2)"/>
<m name="waist_arc_half_f" value="(waist_arc_f/2)"/>
<m name="highhip_arc_half_f" value="(highhip_arc_f/2)"/>
<m name="hip_arc_half_f" value="(hip_arc_f/2)"/>
<m name="neck_arc_b" value="(neck_circ - neck_arc_f)"/>
<m name="highbust_arc_b" value="(highbust_circ - highbust_arc_f)"/>
<m name="bust_arc_b" value="(bust_circ - bust_arc_f)"/>
<m name="lowbust_arc_b" value="(lowbust_circ - lowbust_arc_f)"/>
<m name="rib_arc_b" value="(rib_circ - rib_arc_f)"/>
<m name="waist_arc_b" value="(waist_circ - waist_arc_f)"/>
<m name="highhip_arc_b" value="(highhip_circ - highhip_arc_f)"/>
<m name="hip_arc_b" value="(hip_circ - hip_arc_f)"/>
<m name="neck_arc_half_b" value="(neck_arc_b/2)"/>
<m name="highbust_arc_half_b" value="(highbust_arc_b/2)"/>
<m name="bust_arc_half_b" value="(bust_arc_b/2)"/>
<m name="lowbust_arc_half_b" value="(lowbust_arc_b/2)"/>
<m name="rib_arc_half_b" value="(rib_arc_b/2)"/>
<m name="waist_arc_half_b" value="(waist_arc_b/2)"/>
<m name="highhip_arc_half_b" value="(highhip_arc_b/2)"/>
<m name="hip_arc_half_b" value="(hip_arc_b/2)"/>
<m name="hip_with_abdomen_arc_f" value="0"/>
<m name="body_armfold_circ" value="0"/>
<m name="body_bust_circ" value="0"/>
<m name="body_torso_circ" value="0"/>
<m name="neck_front_to_waist_f" value="0"/>
<m name="neck_front_to_waist_flat_f" value="0"/>
<m name="armpit_to_waist_side" value="0"/>
<m name="shoulder_tip_to_waist_side_f" value="0"/>
<m name="neck_side_to_waist_f" value="0"/>
<m name="neck_side_to_waist_bustpoint_f" value="0"/>
<m name="neck_front_to_highbust_f" value="0"/>
<m name="highbust_to_waist_f" value="(neck_front_to_waist_f - neck_front_to_highbust_f)"/>
<m name="neck_front_to_bust_f" value="0"/>
<m name="bust_to_waist_f" value="(neck_front_to_waist_f - neck_front_to_bust_f)"/>
<m name="lowbust_to_waist_f" value="0"/>
<m name="rib_to_waist_side" value="0"/>
<m name="shoulder_tip_to_armfold_f" value="0"/>
<m name="neck_side_to_bust_f" value="0"/>
<m name="neck_side_to_highbust_f" value="0"/>
<m name="shoulder_center_to_highbust_f" value="0"/>
<m name="shoulder_tip_to_waist_side_b" value="0"/>
<m name="neck_side_to_waist_b" value="0"/>
<m name="neck_back_to_waist_b" value="0"/>
<m name="neck_side_to_waist_scapula_b" value="0"/>
<m name="neck_back_to_highbust_b" value="0"/>
<m name="highbust_to_waist_b" value="(neck_back_to_waist_b - neck_back_to_highbust_b)"/>
<m name="neck_back_to_bust_b" value="0"/>
<m name="bust_to_waist_b" value="(neck_back_to_waist_b - neck_back_to_bust_b)"/>
<m name="lowbust_to_waist_b" value="0"/>
<m name="shoulder_tip_to_armfold_b" value="0"/>
<m name="neck_side_to_bust_b" value="0"/>
<m name="neck_side_to_highbust_b" value="0"/>
<m name="shoulder_center_to_highbust_b" value="0"/>
<m name="waist_to_highhip_f" value="0"/>
<m name="waist_to_hip_f" value="0"/>
<m name="waist_to_highhip_side" value="0"/>
<m name="waist_to_highhip_b" value="0"/>
<m name="waist_to_hip_b" value="0"/>
<m name="waist_to_hip_side" value="0"/>
<m name="shoulder_slope_neck_side_angle" value="0"/>
<m name="shoulder_slope_neck_side_length" value="0"/>
<m name="shoulder_slope_neck_back_angle" value="0"/>
<m name="shoulder_slope_neck_back_height" value="0"/>
<m name="shoulder_slope_shoulder_tip_angle" value="0"/>
<m name="shoulder_length" value="0"/>
<m name="shoulder_tip_to_shoulder_tip_f" value="0"/>
<m name="across_chest_f" value="0"/>
<m name="armfold_to_armfold_f" value="0"/>
<m name="shoulder_tip_to_shoulder_tip_half_f" value="(shoulder_tip_to_shoulder_tip_f/2)"/>
<m name="across_chest_half_f" value="(across_chest_f/2)"/>
<m name="shoulder_tip_to_shoulder_tip_b" value="0"/>
<m name="across_back_b" value="0"/>
<m name="armfold_to_armfold_b" value="0"/>
<m name="shoulder_tip_to_shoulder_tip_half_b" value="(shoulder_tip_to_shoulder_tip_b/2)"/>
<m name="across_back_half_b" value="(across_back_b/2)"/>
<m name="neck_front_to_shoulder_tip_f" value="0"/>
<m name="neck_back_to_shoulder_tip_b" value="0"/>
<m name="neck_width" value="0"/>
<m name="bustpoint_to_bustpoint" value="0"/>
<m name="bustpoint_to_neck_side" value="0"/>
<m name="bustpoint_to_lowbust" value="0"/>
<m name="bustpoint_to_waist" value="0"/>
<m name="bustpoint_to_bustpoint_half" value="(bustpoint_to_bustpoint/2)"/>
<m name="bustpoint_neck_side_to_waist" value="(bustpoint_to_neck_side + bustpoint_to_waist)"/>
<m name="bustpoint_to_shoulder_tip" value="0"/>
<m name="bustpoint_to_waist_front" value="0"/>
<m name="bustpoint_to_bustpoint_halter" value="0"/>
<m name="shoulder_tip_to_waist_front" value="0"/>
<m name="neck_front_to_waist_side" value="0"/>
<m name="neck_side_to_waist_side_f" value="0"/>
<m name="shoulder_tip_to_waist_back" value="0"/>
<m name="shoulder_tip_to_waist_b_1in_offset" value="0"/>
<m name="neck_back_to_waist_side" value="0"/>
<m name="neck_side_to_waist_side_b" value="0"/>
<m name="neck_side_to_armfold_f" value="0"/>
<m name="neck_side_to_armpit_f" value="0"/>
<m name="neck_side_to_bust_side_f" value="0"/>
<m name="neck_side_to_armfold_b" value="0"/>
<m name="neck_side_to_armpit_b" value="0"/>
<m name="neck_side_to_bust_side_b" value="0"/>
<m name="arm_shoulder_tip_to_wrist_bent" value="0"/>
<m name="arm_shoulder_tip_to_elbow_bent" value="0"/>
<m name="arm_elbow_to_wrist_bent" value="(arm_shoulder_tip_to_wrist_bent - arm_shoulder_tip_to_elbow_bent)"/>
<m name="arm_elbow_circ_bent" value="0"/>
<m name="arm_shoulder_tip_to_wrist" value="0"/>
<m name="arm_shoulder_tip_to_elbow" value="0"/>
<m name="arm_elbow_to_wrist" value="(arm_shoulder_tip_to_wrist - arm_shoulder_tip_to_elbow)"/>
<m name="arm_armpit_to_wrist" value="0"/>
<m name="arm_armpit_to_elbow" value="0"/>
<m name="arm_elbow_to_wrist_inside" value="(arm_armpit_to_wrist - arm_armpit_to_elbow)"/>
<m name="arm_upper_circ" value="0"/>
<m name="arm_above_elbow_circ" value="0"/>
<m name="arm_elbow_circ" value="0"/>
<m name="arm_lower_circ" value="0"/>
<m name="arm_wrist_circ" value="0"/>
<m name="arm_shoulder_tip_to_armfold_line" value="0"/>
<m name="arm_neck_side_to_wrist" value="(shoulder_length + arm_shoulder_tip_to_wrist)"/>
<m name="arm_neck_side_to_finger_tip" value="(shoulder_length + arm_shoulder_tip_to_wrist + hand_length)"/>
<m name="armscye_circ" value="0"/>
<m name="armscye_length" value="0"/>
<m name="armscye_width" value="0"/>
<m name="leg_crotch_to_floor" value="0"/>
<m name="leg_waist_side_to_floor" value="0"/>
<m name="leg_thigh_upper_circ" value="0"/>
<m name="leg_thigh_mid_circ" value="0"/>
<m name="leg_knee_circ" value="0"/>
<m name="leg_knee_small_circ" value="0"/>
<m name="leg_calf_circ" value="0"/>
<m name="leg_ankle_high_circ" value="0"/>
<m name="leg_ankle_circ" value="0"/>
<m name="leg_knee_circ_bent" value="0"/>
<m name="leg_ankle_diag_circ" value="0"/>
<m name="leg_crotch_to_ankle" value="(leg_crotch_to_floor - height_ankle)"/>
<m name="leg_waist_side_to_ankle" value="(leg_waist_side_to_floor - height_ankle)"/>
<m name="leg_waist_side_to_knee" value="(leg_waist_side_to_floor - height_knee)"/>
<m name="crotch_length" value="0"/>
<m name="crotch_length_b" value="0"/>
<m name="crotch_length_f" value="(crotch_length - crotch_length_b)"/>
<m name="rise_length_side" value="0"/>
<m name="rise_length_diag" value="0"/>
<m name="rise_length_b" value="0"/>
<m name="rise_length_f" value="0"/>
<m name="neck_back_to_waist_front" value="0"/>
<m name="waist_to_waist_halter" value="0"/>
<m name="waist_natural_circ" value="0"/>
<m name="waist_natural_arc_f" value="0"/>
<m name="waist_natural_arc_b" value="(waist_natural_circ - waist_natural_arc_f)"/>
<m name="waist_to_natural_waist_f" value="0"/>
<m name="waist_to_natural_waist_b" value="0"/>
<m name="arm_neck_back_to_elbow_bent" value="0"/>
<m name="arm_neck_back_to_wrist_bent" value="0"/>
<m name="arm_neck_side_to_elbow_bent" value="0"/>
<m name="arm_neck_side_to_wrist_bent" value="0"/>
<m name="arm_across_back_center_to_elbow_bent" value="0"/>
<m name="arm_across_back_center_to_wrist_bent" value="0"/>
<m name="arm_armscye_back_center_to_wrist_bent" value="0"/>
<m name="neck_back_to_bust_front" value="0"/>
<m name="neck_back_to_armfold_front" value="0"/>
<m name="neck_back_to_armfold_front_to_waist_side" value="0"/>
<m name="highbust_back_over_shoulder_to_armfold_front" value="0"/>
<m name="highbust_back_over_shoulder_to_waist_front" value="0"/>
<m name="neck_back_to_armfold_front_to_neck_back" value="0"/>
<m name="across_back_center_to_armfold_front_to_across_back_center" value="0"/>
<m name="neck_back_to_armfold_front_to_highbust_back" value="0"/>
<m name="armfold_to_armfold_bust" value="0"/>
<m name="armfold_to_bust_front" value="0"/>
<m name="highbust_b_over_shoulder_to_highbust_f" value="0"/>
<m name="armscye_arc" value="0"/>
<m name="dart_width_shoulder" value="0"/>
<m name="dart_width_bust" value="0"/>
<m name="dart_width_waist" value="0"/>
</body-measurements>
</vit>

View File

@ -0,0 +1,249 @@
<?xml version="1.0" encoding="UTF-8"?>
<vst>
<!--Measurements created with Valentina (http://www.valentina-project.org/).-->
<version>0.4.0</version>
<read-only>false</read-only>
<notes/>
<unit>cm</unit>
<size base="22"/>
<height base="92"/>
<body-measurements>
<m name="height" base="0" size_increase="0" height_increase="0"/>
<m name="height_neck_back" base="0" size_increase="0" height_increase="0"/>
<m name="height_scapula" base="0" size_increase="0" height_increase="0"/>
<m name="height_armpit" base="0" size_increase="0" height_increase="0"/>
<m name="height_waist_side" base="0" size_increase="0" height_increase="0"/>
<m name="height_hip" base="0" size_increase="0" height_increase="0"/>
<m name="height_gluteal_fold" base="0" size_increase="0" height_increase="0"/>
<m name="height_knee" base="0" size_increase="0" height_increase="0"/>
<m name="height_calf" base="0" size_increase="0" height_increase="0"/>
<m name="height_ankle_high" base="0" size_increase="0" height_increase="0"/>
<m name="height_ankle" base="0" size_increase="0" height_increase="0"/>
<m name="height_highhip" base="0" size_increase="0" height_increase="0"/>
<m name="height_waist_front" base="0" size_increase="0" height_increase="0"/>
<m name="height_bustpoint" base="0" size_increase="0" height_increase="0"/>
<m name="height_shoulder_tip" base="0" size_increase="0" height_increase="0"/>
<m name="height_neck_front" base="0" size_increase="0" height_increase="0"/>
<m name="height_neck_side" base="0" size_increase="0" height_increase="0"/>
<m name="height_neck_back_to_knee" base="0" size_increase="0" height_increase="0"/>
<m name="height_waist_side_to_knee" base="0" size_increase="0" height_increase="0"/>
<m name="height_waist_side_to_hip" base="0" size_increase="0" height_increase="0"/>
<m name="height_knee_to_ankle" base="0" size_increase="0" height_increase="0"/>
<m name="height_neck_back_to_waist_side" base="0" size_increase="0" height_increase="0"/>
<m name="width_shoulder" base="0" size_increase="0" height_increase="0"/>
<m name="width_bust" base="0" size_increase="0" height_increase="0"/>
<m name="width_waist" base="0" size_increase="0" height_increase="0"/>
<m name="width_hip" base="0" size_increase="0" height_increase="0"/>
<m name="width_abdomen_to_hip" base="0" size_increase="0" height_increase="0"/>
<m name="indent_neck_back" base="0" size_increase="0" height_increase="0"/>
<m name="indent_waist_back" base="0" size_increase="0" height_increase="0"/>
<m name="indent_ankle_high" base="0" size_increase="0" height_increase="0"/>
<m name="hand_palm_length" base="0" size_increase="0" height_increase="0"/>
<m name="hand_length" base="0" size_increase="0" height_increase="0"/>
<m name="hand_palm_width" base="0" size_increase="0" height_increase="0"/>
<m name="hand_palm_circ" base="0" size_increase="0" height_increase="0"/>
<m name="hand_circ" base="0" size_increase="0" height_increase="0"/>
<m name="foot_width" base="0" size_increase="0" height_increase="0"/>
<m name="foot_length" base="0" size_increase="0" height_increase="0"/>
<m name="foot_circ" base="0" size_increase="0" height_increase="0"/>
<m name="foot_instep_circ" base="0" size_increase="0" height_increase="0"/>
<m name="head_circ" base="0" size_increase="0" height_increase="0"/>
<m name="head_length" base="0" size_increase="0" height_increase="0"/>
<m name="head_depth" base="0" size_increase="0" height_increase="0"/>
<m name="head_width" base="0" size_increase="0" height_increase="0"/>
<m name="head_crown_to_neck_back" base="0" size_increase="0" height_increase="0"/>
<m name="head_chin_to_neck_back" base="0" size_increase="0" height_increase="0"/>
<m name="neck_mid_circ" base="0" size_increase="0" height_increase="0"/>
<m name="neck_circ" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_circ" base="0" size_increase="0" height_increase="0"/>
<m name="bust_circ" base="0" size_increase="0" height_increase="0"/>
<m name="lowbust_circ" base="0" size_increase="0" height_increase="0"/>
<m name="rib_circ" base="0" size_increase="0" height_increase="0"/>
<m name="waist_circ" base="0" size_increase="0" height_increase="0"/>
<m name="highhip_circ" base="0" size_increase="0" height_increase="0"/>
<m name="hip_circ" base="0" size_increase="0" height_increase="0"/>
<m name="neck_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="bust_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="lowbust_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="rib_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="waist_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="highhip_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="hip_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_arc_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_arc_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="bust_arc_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="lowbust_arc_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="rib_arc_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="waist_arc_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="highhip_arc_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="hip_arc_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_arc_b" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_arc_b" base="0" size_increase="0" height_increase="0"/>
<m name="bust_arc_b" base="0" size_increase="0" height_increase="0"/>
<m name="lowbust_arc_b" base="0" size_increase="0" height_increase="0"/>
<m name="rib_arc_b" base="0" size_increase="0" height_increase="0"/>
<m name="waist_arc_b" base="0" size_increase="0" height_increase="0"/>
<m name="highhip_arc_b" base="0" size_increase="0" height_increase="0"/>
<m name="hip_arc_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_arc_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_arc_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="bust_arc_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="lowbust_arc_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="rib_arc_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="waist_arc_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="highhip_arc_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="hip_arc_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="hip_with_abdomen_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="body_armfold_circ" base="0" size_increase="0" height_increase="0"/>
<m name="body_bust_circ" base="0" size_increase="0" height_increase="0"/>
<m name="body_torso_circ" base="0" size_increase="0" height_increase="0"/>
<m name="neck_front_to_waist_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_front_to_waist_flat_f" base="0" size_increase="0" height_increase="0"/>
<m name="armpit_to_waist_side" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_waist_side_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_waist_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_waist_bustpoint_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_front_to_highbust_f" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_to_waist_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_front_to_bust_f" base="0" size_increase="0" height_increase="0"/>
<m name="bust_to_waist_f" base="0" size_increase="0" height_increase="0"/>
<m name="lowbust_to_waist_f" base="0" size_increase="0" height_increase="0"/>
<m name="rib_to_waist_side" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_armfold_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_bust_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_highbust_f" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_center_to_highbust_f" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_waist_side_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_waist_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_waist_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_waist_scapula_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_highbust_b" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_to_waist_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_bust_b" base="0" size_increase="0" height_increase="0"/>
<m name="bust_to_waist_b" base="0" size_increase="0" height_increase="0"/>
<m name="lowbust_to_waist_b" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_armfold_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_bust_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_highbust_b" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_center_to_highbust_b" base="0" size_increase="0" height_increase="0"/>
<m name="waist_to_highhip_f" base="0" size_increase="0" height_increase="0"/>
<m name="waist_to_hip_f" base="0" size_increase="0" height_increase="0"/>
<m name="waist_to_highhip_side" base="0" size_increase="0" height_increase="0"/>
<m name="waist_to_highhip_b" base="0" size_increase="0" height_increase="0"/>
<m name="waist_to_hip_b" base="0" size_increase="0" height_increase="0"/>
<m name="waist_to_hip_side" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_slope_neck_side_angle" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_slope_neck_side_length" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_slope_neck_back_angle" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_slope_neck_back_height" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_slope_shoulder_tip_angle" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_length" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_shoulder_tip_f" base="0" size_increase="0" height_increase="0"/>
<m name="across_chest_f" base="0" size_increase="0" height_increase="0"/>
<m name="armfold_to_armfold_f" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_shoulder_tip_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="across_chest_half_f" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_shoulder_tip_b" base="0" size_increase="0" height_increase="0"/>
<m name="across_back_b" base="0" size_increase="0" height_increase="0"/>
<m name="armfold_to_armfold_b" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_shoulder_tip_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="across_back_half_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_front_to_shoulder_tip_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_shoulder_tip_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_width" base="0" size_increase="0" height_increase="0"/>
<m name="bustpoint_to_bustpoint" base="0" size_increase="0" height_increase="0"/>
<m name="bustpoint_to_neck_side" base="0" size_increase="0" height_increase="0"/>
<m name="bustpoint_to_lowbust" base="0" size_increase="0" height_increase="0"/>
<m name="bustpoint_to_waist" base="0" size_increase="0" height_increase="0"/>
<m name="bustpoint_to_bustpoint_half" base="0" size_increase="0" height_increase="0"/>
<m name="bustpoint_neck_side_to_waist" base="0" size_increase="0" height_increase="0"/>
<m name="bustpoint_to_shoulder_tip" base="0" size_increase="0" height_increase="0"/>
<m name="bustpoint_to_waist_front" base="0" size_increase="0" height_increase="0"/>
<m name="bustpoint_to_bustpoint_halter" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_waist_front" base="0" size_increase="0" height_increase="0"/>
<m name="neck_front_to_waist_side" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_waist_side_f" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_waist_back" base="0" size_increase="0" height_increase="0"/>
<m name="shoulder_tip_to_waist_b_1in_offset" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_waist_side" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_waist_side_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_armfold_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_armpit_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_bust_side_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_armfold_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_armpit_b" base="0" size_increase="0" height_increase="0"/>
<m name="neck_side_to_bust_side_b" base="0" size_increase="0" height_increase="0"/>
<m name="arm_shoulder_tip_to_wrist_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_shoulder_tip_to_elbow_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_elbow_to_wrist_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_elbow_circ_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_shoulder_tip_to_wrist" base="0" size_increase="0" height_increase="0"/>
<m name="arm_shoulder_tip_to_elbow" base="0" size_increase="0" height_increase="0"/>
<m name="arm_elbow_to_wrist" base="0" size_increase="0" height_increase="0"/>
<m name="arm_armpit_to_wrist" base="0" size_increase="0" height_increase="0"/>
<m name="arm_armpit_to_elbow" base="0" size_increase="0" height_increase="0"/>
<m name="arm_elbow_to_wrist_inside" base="0" size_increase="0" height_increase="0"/>
<m name="arm_upper_circ" base="0" size_increase="0" height_increase="0"/>
<m name="arm_above_elbow_circ" base="0" size_increase="0" height_increase="0"/>
<m name="arm_elbow_circ" base="0" size_increase="0" height_increase="0"/>
<m name="arm_lower_circ" base="0" size_increase="0" height_increase="0"/>
<m name="arm_wrist_circ" base="0" size_increase="0" height_increase="0"/>
<m name="arm_shoulder_tip_to_armfold_line" base="0" size_increase="0" height_increase="0"/>
<m name="arm_neck_side_to_wrist" base="0" size_increase="0" height_increase="0"/>
<m name="arm_neck_side_to_finger_tip" base="0" size_increase="0" height_increase="0"/>
<m name="armscye_circ" base="0" size_increase="0" height_increase="0"/>
<m name="armscye_length" base="0" size_increase="0" height_increase="0"/>
<m name="armscye_width" base="0" size_increase="0" height_increase="0"/>
<m name="leg_crotch_to_floor" base="0" size_increase="0" height_increase="0"/>
<m name="leg_waist_side_to_floor" base="0" size_increase="0" height_increase="0"/>
<m name="leg_thigh_upper_circ" base="0" size_increase="0" height_increase="0"/>
<m name="leg_thigh_mid_circ" base="0" size_increase="0" height_increase="0"/>
<m name="leg_knee_circ" base="0" size_increase="0" height_increase="0"/>
<m name="leg_knee_small_circ" base="0" size_increase="0" height_increase="0"/>
<m name="leg_calf_circ" base="0" size_increase="0" height_increase="0"/>
<m name="leg_ankle_high_circ" base="0" size_increase="0" height_increase="0"/>
<m name="leg_ankle_circ" base="0" size_increase="0" height_increase="0"/>
<m name="leg_knee_circ_bent" base="0" size_increase="0" height_increase="0"/>
<m name="leg_ankle_diag_circ" base="0" size_increase="0" height_increase="0"/>
<m name="leg_crotch_to_ankle" base="0" size_increase="0" height_increase="0"/>
<m name="leg_waist_side_to_ankle" base="0" size_increase="0" height_increase="0"/>
<m name="leg_waist_side_to_knee" base="0" size_increase="0" height_increase="0"/>
<m name="crotch_length" base="0" size_increase="0" height_increase="0"/>
<m name="crotch_length_b" base="0" size_increase="0" height_increase="0"/>
<m name="crotch_length_f" base="0" size_increase="0" height_increase="0"/>
<m name="rise_length_side" base="0" size_increase="0" height_increase="0"/>
<m name="rise_length_diag" base="0" size_increase="0" height_increase="0"/>
<m name="rise_length_b" base="0" size_increase="0" height_increase="0"/>
<m name="rise_length_f" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_waist_front" base="0" size_increase="0" height_increase="0"/>
<m name="waist_to_waist_halter" base="0" size_increase="0" height_increase="0"/>
<m name="waist_natural_circ" base="0" size_increase="0" height_increase="0"/>
<m name="waist_natural_arc_f" base="0" size_increase="0" height_increase="0"/>
<m name="waist_natural_arc_b" base="0" size_increase="0" height_increase="0"/>
<m name="waist_to_natural_waist_f" base="0" size_increase="0" height_increase="0"/>
<m name="waist_to_natural_waist_b" base="0" size_increase="0" height_increase="0"/>
<m name="arm_neck_back_to_elbow_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_neck_back_to_wrist_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_neck_side_to_elbow_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_neck_side_to_wrist_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_across_back_center_to_elbow_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_across_back_center_to_wrist_bent" base="0" size_increase="0" height_increase="0"/>
<m name="arm_armscye_back_center_to_wrist_bent" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_bust_front" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_armfold_front" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_armfold_front_to_waist_side" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_back_over_shoulder_to_armfold_front" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_back_over_shoulder_to_waist_front" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_armfold_front_to_neck_back" base="0" size_increase="0" height_increase="0"/>
<m name="across_back_center_to_armfold_front_to_across_back_center" base="0" size_increase="0" height_increase="0"/>
<m name="neck_back_to_armfold_front_to_highbust_back" base="0" size_increase="0" height_increase="0"/>
<m name="armfold_to_armfold_bust" base="0" size_increase="0" height_increase="0"/>
<m name="armfold_to_bust_front" base="0" size_increase="0" height_increase="0"/>
<m name="highbust_b_over_shoulder_to_highbust_f" base="0" size_increase="0" height_increase="0"/>
<m name="armscye_arc" base="0" size_increase="0" height_increase="0"/>
<m name="dart_width_shoulder" base="0" size_increase="0" height_increase="0"/>
<m name="dart_width_bust" base="0" size_increase="0" height_increase="0"/>
<m name="dart_width_waist" base="0" size_increase="0" height_increase="0"/>
</body-measurements>
</vst>

View File

@ -0,0 +1,19 @@
<?xml version='1.0' encoding='UTF-8'?>
<vit>
<!--Measurements created with Valentina (http://www.valentina-project.org/).-->
<version>0.3.0</version>
<read-only>false</read-only>
<notes/>
<unit>cm</unit>
<personal>
<family-name/>
<given-name/>
<birth-date>1900-01-01</birth-date>
<sex>male</sex>
<email>username@example.com</email>
</personal>
<body-measurements>
<m name="across_back_b" value="0"/>
<m name="across_back_b" value="0"/>
</body-measurements>
</vit>

View File

@ -0,0 +1,18 @@
<?xml version='1.0' encoding='UTF-8'?>
<vit>
<!--Measurements created with Valentina (http://www.valentina-project.org/).-->
<version>0.3.0</version>
<read-only>false</read-only>
<notes/>
<unit>cm</unit>
<personal>
<family-name/>
<given-name/>
<birth-date>1900-01-01</birth-date>
<sex>male</sex>
<email>username@example.com</email>
</personal>
<body-measurements>
<m name="" value="0"/>
</body-measurements>
</vit>

View File

@ -0,0 +1,18 @@
<?xml version='1.0' encoding='UTF-8'?>
<vit>
<!--Measurements created with Valentina (http://www.valentina-project.org/).-->
<version>0.3.0</version>
<read-only>false</read-only>
<notes/>
<unit>cm</unit>
<personal>
<family-name/>
<given-name/>
<birth-date>1900-01-01</birth-date>
<sex>male</sex>
<email>username@example.com</email>
</personal>
<body-measurements>
<m name="across_back_b" value=""/>
</body-measurements>
</vit>

View File

@ -0,0 +1,18 @@
<?xml version='1.0' encoding='UTF-8'?>
<vit>
<!--Measurements created with Valentina (http://www.valentina-project.org/).-->
<version>0.3.0</version>
<read-only>false</read-only>
<notes/>
<unit>cm</unit>
<personal>
<family-name/>
<given-name/>
<birth-date>1900-01-01</birth-date>
<sex>male</sex>
<email>username@example.com</email>
</personal>
<body-measurements>
<m name="across back_b" value="0"/>
</body-measurements>
</vit>

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<vit>
<!--Measurements created with Valentina (http://www.valentina-project.org/).-->
<version>0.3.0</version>
<read-only>false</read-only>
<notes/>
<unit>cm</unit>
<personal>
<family-name/>
<given-name/>
<birth-date>1900-01-01</birth-date>
<sex>male</sex>
<email>username@example.com</email>
</personal>
<body-measurements/>
</vit>

View File

@ -27,6 +27,7 @@
*************************************************************************/
#include "tst_tapecommandline.h"
#include "../vmisc/vsysexits.h"
#include <QtTest>
@ -59,9 +60,48 @@ void TST_TapeCommandLine::OpenMeasurements_data() const
{
QTest::addColumn<QString>("file");
QTest::addColumn<bool>("result");
QTest::addColumn<int>("exitCode");
QTest::newRow("Send wrong path to file") << "wrongPath.vit" << false; // The file doesn't exist!
QTest::newRow("Old individual format to new version") << "keiko.vit" << true;
// The file doesn't exist!
QTest::newRow("Send wrong path to a file") << "wrongPath.vit"
<< false
<< V_EX_NOINPUT;
QTest::newRow("Old individual format to new version") << "keiko.vit"
<< true
<< V_EX_OK;
QTest::newRow("Open empty file") << "empty.vit"
<< true
<< V_EX_OK;
QTest::newRow("Open a individual measurement file with all know measurements") << "all_measurements.vit"
<< true
<< V_EX_OK;
QTest::newRow("Open a standard measurement file with all know measurements") << "all_measurements.vst"
<< true
<< V_EX_OK;
QTest::newRow("Open a standard measurement file for man ru GOST.") << "GOST_man_ru.vst"
<< true
<< V_EX_OK;
QTest::newRow("Broken file. Not unique name.") << "broken1.vit"
<< false
<< V_EX_NOINPUT;
QTest::newRow("Broken file. Measurement name can't be empty.") << "broken1.vit"
<< false
<< V_EX_NOINPUT;
QTest::newRow("Broken file. An empty value shouldn't break a file.") << "broken3.vit"
<< true
<< V_EX_OK;
QTest::newRow("Broken file. Invalid measurement name.") << "broken4.vit"
<< false
<< V_EX_NOINPUT;
}
//---------------------------------------------------------------------------------------------------------------------
@ -69,11 +109,14 @@ void TST_TapeCommandLine::OpenMeasurements()
{
QFETCH(QString, file);
QFETCH(bool, result);
QFETCH(int, exitCode);
const bool res = Run(result, TapePath(), QStringList() << "--test"
int exit;
const bool res = Run(result, exit, TapePath(), QStringList() << "--test"
<< QApplication::applicationDirPath() + QLatin1Char('/') + tmpTestFolder + QLatin1Char('/') + file);
QCOMPARE(res, result);
QCOMPARE(exit, exitCode);
}
//---------------------------------------------------------------------------------------------------------------------