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