summaryrefslogtreecommitdiff
path: root/tests/auto/tst_qtgraphicaleffects.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tst_qtgraphicaleffects.cpp')
-rw-r--r--tests/auto/tst_qtgraphicaleffects.cpp28
1 files changed, 1 insertions, 27 deletions
diff --git a/tests/auto/tst_qtgraphicaleffects.cpp b/tests/auto/tst_qtgraphicaleffects.cpp
index a90658b..4f29d1e 100644
--- a/tests/auto/tst_qtgraphicaleffects.cpp
+++ b/tests/auto/tst_qtgraphicaleffects.cpp
@@ -60,7 +60,6 @@ private slots:
void dropShadow();
void fastBlur();
void fastDropShadow();
- void fastGlow();
void fastInnerShadow();
void gammaAdjust();
void gaussianBlur();
@@ -568,32 +567,7 @@ void tst_qtgraphicaleffects::glow()
QCOMPARE(obj->property("spread").toDouble(), 0.0);
QCOMPARE(obj->property("color").toString(), QString("#ffffff"));
QCOMPARE(obj->property("transparentBorder").toBool(), false);
-
- delete obj;
-}
-
-void tst_qtgraphicaleffects::fastGlow()
-{
- // Creation
- QString componentStr = "import QtQuick 2.0\n"
- "import effects 0.1\n"
- "FastGlow {"
- "source: ShaderEffectSource {sourceItem: Rectangle {width: 100; height: 100}}"
- "width: 50; height: 50\n"
- "}";
- QDeclarativeComponent component(&engine);
- component.setData(componentStr.toLatin1(), QUrl::fromLocalFile(""));
- QObject *obj = component.create();
- QTest::qWait(100);
- QVERIFY(obj != 0);
-
- // Default values
- QCOMPARE(obj->property("blur").toDouble(), 0.0);
- QCOMPARE(obj->property("spread").toDouble(), 0.0);
- QCOMPARE(obj->property("cached").toBool(), false);
- QCOMPARE(obj->property("source").toInt(), 0);
- QCOMPARE(obj->property("color").toString(), QString("#ffffff"));
- QCOMPARE(obj->property("transparentBorder").toBool(), false);
+ QCOMPARE(obj->property("fast").toBool(), false);
delete obj;
}