diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-06-22 09:30:10 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-07 14:38:40 +0000 |
commit | 28ed215281bb4ee687d2a2bfb7d6fdc1001c082b (patch) | |
tree | 14286dae2055e251911fbd2c3add2ffab34cb3ea /tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp | |
parent | 2b171025bfedcbe5ac1c296a1f57400cd227ce2f (diff) |
Added two unit tests for alias nesting
The first test covers a use-case currently only otherwise see in
QtQuickControls, and so having it here allows for catching regressions in that
area before hitting the next qt5 build.
Having an alias refer to another alias property within the same file only works
if the second alias is resolved/processed before the first one. This works by
chance when relying on the order of processing reverse to the declaration, but
that's a bug. It should work regardless of the order. That is what the second
test-case demonstrates and that is why it is marked as failure.
Change-Id: Iba386437d21efa868d9814221092df5f7ef6f1f6
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/quick/qquickmousearea/tst_qquickmousearea.cpp')
0 files changed, 0 insertions, 0 deletions