[Development] Breaking QtQuickControls tests

Oswald Buddenhagen oswald.buddenhagen at theqtcompany.com
Mon Jun 1 10:48:24 CEST 2015


On Sun, May 31, 2015 at 12:08:22PM +0000, Van Looy Detlev wrote:
> What I want to do now is break (make fail) some of these test cases by
> changing some source .qml files in
> /Qt5.4.1/5.4/Src/qtquickcontrols/src/controls. So for example break
> tst_Slider.qml by changing some code from Slider.qml. However it seems
> no matter what I do to these source files, the tests always continue
> to pass unaffected.
> 
> After some examination I found that no calls are actually ever being
> made to these source files, but rather they are being made to
> /Qt5.4.1/5.4/gcc/qml/QtQuick/Controls.
> 
> So my question is: Is it possible to make these tests fail by changing
> the source files I mentioned? How are the source files used in the
> tests?
> 
you obviously need to install the modified files into a location where
the tests expect them. i wouldn't recommend overwriting the pre-built
installation, but make a fresh build (of at least that module and its
tests).




More information about the Development mailing list