summaryrefslogtreecommitdiff
path: root/tests/test-performance/tests.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-performance/tests.xml')
-rw-r--r--tests/test-performance/tests.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/test-performance/tests.xml b/tests/test-performance/tests.xml
new file mode 100644
index 0000000..852e2eb
--- /dev/null
+++ b/tests/test-performance/tests.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<testdefinition version="0.1">
+ <suite name="libresourceqt-performance-tests" domain="Multimedia Middleware">
+ <set name="libresourceqt-performance-tests" feature="Resource policy">
+
+ <case name="no-dbus-load" type="Performance" level="Component" subfeature="libresource Qt dbus performance" description="Testcase without dbus spamming" timeout="120">
+ <step expected_result="0">/usr/lib/libresourceqt-performance-tests/test-resourceqt-performance-runner.sh 0</step>
+ </case>
+
+ <case name="small-dbus-load" type="Performance" level="Component" subfeature="libresource Qt dbus performance" description="Testcase with 5 dbus spamming threads, message size 50 bytes" timeout="120">
+ <step expected_result="0">/usr/lib/libresourceqt-performance-tests/test-resourceqt-performance-runner.sh 1</step>
+ </case>
+
+ <case name="medium-dbus-load" type="Performance" level="Component" subfeature="libresource Qt dbus performance" description="Testcase with 10 dbus spamming threads, message size 50 bytes" timeout="120">
+ <step expected_result="0">/usr/lib/libresourceqt-performance-tests/test-resourceqt-performance-runner.sh 2</step>
+ </case>
+
+ <case name="heavy-dbus-load" type="Performance" level="Component" subfeature="libresource Qt dbus performance" description="Testcase with 20 dbus spamming threads, message size 50 bytes" timeout="120">
+ <step expected_result="0">/usr/lib/libresourceqt-performance-tests/test-resourceqt-performance-runner.sh 3</step>
+ </case>
+
+ <case name="very-heavy-dbus-load" type="Performance" level="Component" subfeature="libresource Qt dbus performance" description="Testcase with 20 dbus spamming threads, message size 150 bytes" timeout="240">
+ <step expected_result="0">/usr/lib/libresourceqt-performance-tests/test-resourceqt-performance-runner.sh 4</step>
+ </case>
+
+ <get>
+ <file>/tmp/resourceqt-performance.html</file>
+ </get>
+
+ <environments>
+ <scratchbox>false</scratchbox>
+ <hardware>true</hardware>
+ </environments>
+
+ </set>
+ </suite>
+</testdefinition>