~loic.molinari/+junk/qtdeclarative-shadereffectsource-changes

« back to all changes in this revision

Viewing changes to tests/auto/qml/v4/data/nestedLogicalOr.qml

  • Committer: Loïc Molinari
  • Date: 2012-04-21 17:59:51 UTC
  • Revision ID: loic.molinari@canonical.com-20120421175951-bqx68caaf5zrp76l
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import Qt.v4 1.0
 
2
 
 
3
Result {
 
4
    property bool val1: false
 
5
    property bool val2: true
 
6
    property bool val3: false
 
7
 
 
8
    property bool b1: (false || false || true)
 
9
    property bool b2: (false || (false || true))
 
10
    property bool b3: ((false || false) || true)
 
11
    property bool b4: (val1 || (val2 || val3)) ? true : false
 
12
 
 
13
    result: b1 && b2 && b3 && b4
 
14
}