summaryrefslogtreecommitdiff
path: root/tests/tst_qml/tst_quickstreamer.qml
blob: 7b289a5b93185747afaba6162ed89e5afe21d70d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import QtQuick 2.0
import QtTest 1.0
import QuickStreamer 1.0

TestCase {
    name: "QuickStreamer"

    Pipeline {
        id: "pipeline"

        AppSrc {
            id: appSource
            name: "brouhaha"
        }

        AppSink {
            id: appSink
        }
    }

    function test_properties()
    {
        console.log([pipeline.name, appSink.name, appSource.name])

        compare(pipeline.name, "pipeline0")
        compare(appSink.name, "appsink0")
        compare(appSource.name, "brouhaha")
    }
}