Seamly2D
Code documentation
AbstractTest Class Reference

#include <abstracttest.h>

Inheritance diagram for AbstractTest:
Collaboration diagram for AbstractTest:

Public Member Functions

 AbstractTest (QObject *parent=nullptr)
 

Protected Member Functions

void Comparison (const QVector< QPointF > &ekv, const QVector< QPointF > &ekvOrig) const
 
void Comparison (const QPointF &result, const QPointF &expected, qreal testAccuracy) const
 
QString Seamly2DPath () const
 
QString SeamlyMePath () const
 
QString TranslationsPath () const
 
int Run (int exit, const QString &program, const QStringList &arguments, QString &error, int msecs=120000)
 
bool CopyRecursively (const QString &srcFilePath, const QString &tgtFilePath) const
 

Detailed Description

Definition at line 81 of file abstracttest.h.

Constructor & Destructor Documentation

◆ AbstractTest()

AbstractTest::AbstractTest ( QObject *  parent = nullptr)
explicit

Definition at line 86 of file abstracttest.cpp.

Member Function Documentation

◆ Comparison() [1/2]

void AbstractTest::Comparison ( const QPointF &  result,
const QPointF &  expected,
qreal  testAccuracy 
) const
protected

Definition at line 105 of file abstracttest.cpp.

References Mm, Px, UnitConvertor(), and VFuzzyComparePoints().

◆ Comparison() [2/2]

void AbstractTest::Comparison ( const QVector< QPointF > &  ekv,
const QVector< QPointF > &  ekvOrig 
) const
protected

Definition at line 92 of file abstracttest.cpp.

References PrintDPI.

◆ CopyRecursively()

bool AbstractTest::CopyRecursively ( const QString &  srcFilePath,
const QString &  tgtFilePath 
) const
protected

Definition at line 192 of file abstracttest.cpp.

◆ Run()

int AbstractTest::Run ( int  exit,
const QString &  program,
const QStringList &  arguments,
QString &  error,
int  msecs = 120000 
)
protected

◆ Seamly2DPath()

QString AbstractTest::Seamly2DPath ( ) const
protected

Definition at line 115 of file abstracttest.cpp.

◆ SeamlyMePath()

QString AbstractTest::SeamlyMePath ( ) const
protected

Definition at line 128 of file abstracttest.cpp.

◆ TranslationsPath()

QString AbstractTest::TranslationsPath ( ) const
protected

Definition at line 141 of file abstracttest.cpp.


The documentation for this class was generated from the following files: