qt6-bb10/src/testlib
Thiago Macieira e85b4ed77a QtTest: Don't crash when -callgrind is used on QTEST_APPLESS_MAIN
If there's no qApp, then QCoreApplication::arguments() returns an empty
list (after printing a warning). That means the callgrind runner can't
get the arguments it needs in order to rerun the benchmark.

The crash happens because it always uses .at(0) to try and get the
executable's path. Even if we get the path from somewhere else, we still
need the arguments.

Change-Id: I5c74af4d96fc5824b2b7fd7a89648d78393016e2
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
2014-02-24 11:52:27 +01:00
..
3rdparty
doc Doc: Address some "No documentation for..." warnings in QTest 2014-02-22 09:51:14 +01:00
qabstracttestlogger.cpp Ensure that output is world readable on Android 2013-08-05 14:53:12 +02:00
qabstracttestlogger_p.h Testlib: Use QString for messages in QAbstractTestLogger::addMessage() 2014-01-21 06:28:23 +01:00
qasciikey.cpp
qbenchmark.cpp
qbenchmark.h
qbenchmark_p.h
qbenchmarkevent.cpp
qbenchmarkevent_p.h
qbenchmarkmeasurement.cpp
qbenchmarkmeasurement_p.h
qbenchmarkmetric.cpp
qbenchmarkmetric.h
qbenchmarkmetric_p.h
qbenchmarkperfevents.cpp Fix file descriptor leak in the perf event counter 2014-01-10 02:33:32 +01:00
qbenchmarkperfevents_p.h
qbenchmarkvalgrind.cpp Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qbenchmarkvalgrind_p.h
qcsvbenchmarklogger.cpp Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
qcsvbenchmarklogger_p.h Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
qplaintestlogger.cpp Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev 2014-01-21 17:57:54 +01:00
qplaintestlogger_p.h Testlib: Use QString for messages in QAbstractTestLogger::addMessage() 2014-01-21 06:28:23 +01:00
qsignaldumper.cpp
qsignaldumper_p.h
qsignalspy.h
qsignalspy.qdoc Doc: Adding mark-up to boolean default values. 2013-10-08 00:46:27 +02:00
qtest.h Make the printing of complex Unicode in a QString prettier 2014-02-16 06:54:18 +01:00
qtest_global.h
qtest_gui.h
qtest_widgets.h
qtestaccessible.h
qtestassert.h
qtestcase.cpp QtTest: Don't crash when -callgrind is used on QTEST_APPLESS_MAIN 2014-02-24 11:52:27 +01:00
qtestcase.h Make the printing of complex Unicode in a QString prettier 2014-02-16 06:54:18 +01:00
qtestcoreelement_p.h
qtestcorelist_p.h
qtestdata.cpp
qtestdata.h
qtestelement.cpp
qtestelement_p.h
qtestelementattribute.cpp
qtestelementattribute_p.h
qtestevent.h
qtestevent.qdoc
qtesteventloop.h
qtestkeyboard.h Fix QtTest function-unused warnings found by Clang 3.4 2014-01-17 01:36:39 +01:00
qtestlog.cpp Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
qtestlog_p.h Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00
qtestmouse.h Fix synqt-warnings in QTestLib. 2013-10-14 17:30:14 +02:00
qtestresult.cpp Fix the alignment for non-ASCII strings 2014-01-22 00:04:16 +01:00
qtestresult_p.h Expose QTest::currentAppName() and remove hard-coded argv[0] in tests 2013-09-26 18:45:16 +02:00
qtestspontaneevent.h
qtestsystem.h Fix QtTest function-unused warnings found by Clang 3.4 2014-01-17 01:36:39 +01:00
qtesttable.cpp
qtesttable_p.h
qtesttouch.h
qtestxunitstreamer.cpp
qtestxunitstreamer_p.h
qxmltestlogger.cpp Testlib: Use QString for messages in QAbstractTestLogger::addMessage() 2014-01-21 06:28:23 +01:00
qxmltestlogger_p.h Testlib: Use QString for messages in QAbstractTestLogger::addMessage() 2014-01-21 06:28:23 +01:00
qxunittestlogger.cpp Testlib: Use QString for messages in QAbstractTestLogger::addMessage() 2014-01-21 06:28:23 +01:00
qxunittestlogger_p.h Testlib: Use QString for messages in QAbstractTestLogger::addMessage() 2014-01-21 06:28:23 +01:00
testlib.pro Add a CSV logging feature to the benchlib 2014-02-14 00:34:25 +01:00