diff options
author | Reizner Evgeniy <razrfalcon@gmail.com> | 2018-05-04 13:47:52 +0300 |
---|---|---|
committer | Reizner Evgeniy <razrfalcon@gmail.com> | 2018-05-04 13:47:52 +0300 |
commit | ece26b230f02c2d78ae32e8e060c2f7c68de80f8 (patch) | |
tree | 5f998e805c5419ca1788f349b3ea044bcd56cfdf /capi | |
parent | 44160ce8a1b8f31fe219fc6a8a122b5832fe8875 (diff) |
Tests fixed.
Diffstat (limited to 'capi')
-rw-r--r-- | capi/qt-wrapper/ResvgQt.h | 6 | ||||
-rw-r--r-- | capi/qtests/tst_resvgqt.cpp | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/capi/qt-wrapper/ResvgQt.h b/capi/qt-wrapper/ResvgQt.h index 2572c88..e31b2ba 100644 --- a/capi/qt-wrapper/ResvgQt.h +++ b/capi/qt-wrapper/ResvgQt.h @@ -34,15 +34,11 @@ public: /** * @brief Constructs a new renderer and loads the contents of the SVG(Z) file. - * - * @param filePath File path. */ ResvgRenderer(const QString &filePath); /** * @brief Constructs a new renderer and loads the SVG data. - * - * @param data SVG data. Must be already unzipped. */ ResvgRenderer(const QByteArray &data); @@ -58,8 +54,6 @@ public: /** * @brief Loads the SVG data. - * - * @param data SVG data. Must be already unzipped. */ bool load(const QByteArray &data); diff --git a/capi/qtests/tst_resvgqt.cpp b/capi/qtests/tst_resvgqt.cpp index 2a2fc75..7e2c701 100644 --- a/capi/qtests/tst_resvgqt.cpp +++ b/capi/qtests/tst_resvgqt.cpp @@ -41,6 +41,7 @@ void ResvgQtTests::test_parseInvalidFile() void ResvgQtTests::test_renderFile() { +#ifdef LOCAL_BUILD ResvgRenderer render(localPath("test.svg")); QVERIFY(!render.isEmpty()); QCOMPARE(render.defaultSize(), QSize(200, 200)); @@ -55,6 +56,7 @@ void ResvgQtTests::test_renderFile() img.save("test_renderFile.png"); QCOMPARE(img, QImage(localPath("test_renderFile_result.png"))); +#endif } void ResvgQtTests::test_elementExists() |