qmltestrunner reports wrong LOC for failed test cases
authorCharles Yin <charles.yin@nokia.com>
Fri, 25 Nov 2011 01:41:04 +0000 (11:41 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 28 Nov 2011 00:20:45 +0000 (01:20 +0100)
commitfa2ec635aa77965dee617ea804947dcb557bde2e
tree12e2733fabaef6bd0b212ca556a166958ad5a030
parentf98ebe34e17fcf955a77b35b098b5be81dc6c7d8
qmltestrunner reports wrong LOC for failed test cases

The callerFile() and callerLine() calls GetFrame() with incorrect index,
the right index should be the current frame index + 1.

Task-number:QTBUG-22887
Change-Id: I694073b80853bf66e02414a158c8e155f8be8390
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
src/imports/testlib/main.cpp