Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional autotests for signal handlers.
Change-Id: Ie94ce8b536347981310abeb077a88acedf44c7e6 Reviewed-by: Chris Adams <christopher.adams@nokia.com>
- Loading branch information
Michael Brasser
authored and
Qt by Nokia
committed
Feb 24, 2012
1 parent
c4e177c
commit 91d543f
Showing
8 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
tests/auto/declarative/qdeclarativeecmascript/data/signalAssignment.3.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Qt.test 1.0 | ||
|
||
MyQmlObject { | ||
onUnnamedArgumentSignal: setString('pass ' + a + ' ' + c) | ||
} |
6 changes: 6 additions & 0 deletions
6
tests/auto/declarative/qdeclarativeecmascript/data/signalAssignment.4.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import Qt.test 1.0 | ||
|
||
|
||
MyQmlObject { | ||
onSignalWithGlobalName: setString('pass ' + parseInt("5")) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/auto/declarative/qdeclarativelanguage/data/signal.5.errors.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
4:27:Expected token `identifier' |
6 changes: 6 additions & 0 deletions
6
tests/auto/declarative/qdeclarativelanguage/data/signal.5.qml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import QtQuick 2.0 | ||
|
||
QtObject { | ||
signal mySignal(string) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters