3#include <QtTest/QtTest>
13const double M11 = 1.9;
14const double M22 = 1.49;
21void TestZoomTransition::cleanupTestCase ()
26void TestZoomTransition::initTestCase ()
33 const bool NO_RESET =
false;
59void TestZoomTransition::testInAtClosestEnum ()
71void TestZoomTransition::testInBeforeClosestFromEnum ()
82void TestZoomTransition::testInBeforeClosestFromFill ()
93void TestZoomTransition::testOutAtFarthestEnum ()
105void TestZoomTransition::testOutBeforeFarthestFromEnum ()
116void TestZoomTransition::testOutBeforeFarthestFromFill ()
void initializeLogging(const QString &name, const QString &filename, bool isDebug)
const bool NO_EXPORT_ONLY
const QStringList NO_COMMAND_LINE
const QString NO_EXTRACT_IMAGE_EXTENSION
const QString NO_ERROR_REPORT_LOG_FILE
const bool NO_GNUPLOT_LOG_FILES
const QString NO_REGRESSION_OPEN_FILE
const QStringList NO_LOAD_STARTUP_FILES
const bool NO_REGRESSION_IMPORT
const bool NO_EXTRACT_IMAGE_ONLY
const bool NO_DROP_REGRESSION
const bool FILL_UNCHECKED
ZoomFactor
Zoom factors ordered by zoom level so next one above/below is the next zoom level.
Main window consisting of menu, graphics scene, status bar and optional toolbars as a Single Document...
Unit test of ZoomTransition class.
TestZoomTransition(QObject *parent=0)
Single constructor.
Perform calculations to determine the next zoom setting given the current zoom setting,...
ZoomFactor zoomOut(ZoomFactor currentZoomFactor, double m11, double m22, bool actionZoomFillIsChecked) const
Zoom out.
ZoomFactor zoomIn(ZoomFactor currentZoomFactor, double m11, double m22, bool actionZoomFillIsChecked) const
Zoom in.