QmlJS checks: Correct the check for dangerous == and add tests.
Change-Id: Ie0f4062069bf241020868af34ce6d36146b4b0c7 Reviewed-on: http://codereview.qt-project.org/4646 Reviewed-by:Thomas Hartmann <Thomas.Hartmann@nokia.com>
Showing
- src/libs/qmljs/qmljscheck.cpp 18 additions, 16 deletionssrc/libs/qmljs/qmljscheck.cpp
- src/libs/qmljs/qmljsevaluate.cpp 2 additions, 0 deletionssrc/libs/qmljs/qmljsevaluate.cpp
- tests/auto/qml/codemodel/check/equality-checks.qml 50 additions, 15 deletionstests/auto/qml/codemodel/check/equality-checks.qml
- tests/auto/qml/codemodel/check/tst_check.cpp 8 additions, 2 deletionstests/auto/qml/codemodel/check/tst_check.cpp
Loading
Please register or sign in to comment