From 107444f7c479ed6a1a3d2c42b026ebc9c1fe4b29 Mon Sep 17 00:00:00 2001 From: Christiaan Janssen Date: Wed, 24 Oct 2012 16:09:29 +0200 Subject: QmlProfiler: Pixmap Cache Change-Id: Ibc237bb162c24030438b89d54fa8802ee66b080a Reviewed-by: Kai Koehne --- .../debugger/qqmlprofilerservice/data/pixmapCacheTest.qml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml (limited to 'tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml') diff --git a/tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml b/tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml new file mode 100644 index 0000000000..d56786bfae --- /dev/null +++ b/tests/auto/qml/debugger/qqmlprofilerservice/data/pixmapCacheTest.qml @@ -0,0 +1,13 @@ +import QtQuick 2.0 + +Rectangle { + Image { + source: "TestImage_2x2.png" + onStatusChanged: switch (status) { + case 0: console.log("no image"); break; + case 1: console.log("image loaded"); break; + case 2: console.log("image loading"); break; + case 3: console.log("image error"); break; + } + } +} -- cgit v1.2.3