qt5base-lts/tests/auto/tools/moc
Jacek Całusiński 0635b1a69d Moc: test if superclass list is not empty before accessing first()
Accessing QList().first() with an empty superclassList caused assertion
fail. Added check to fix it.

Change-Id: I1aff35e0d267fc0e670beadba1bd196b175a4da8
Co-authored-with: Olivier Goffart <ogoffart@woboq.com>
Task-number: QTBUG-45790
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-04-27 16:14:17 +00:00
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Update copyright headers 2015-02-11 06:49:51 +00:00
testproject Update copyright headers 2015-02-11 06:49:51 +00:00
.gitattributes Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
.gitignore Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
assign-namespace.h Update copyright headers 2015-02-11 06:49:51 +00:00
backslash-newlines.h Update copyright headers 2015-02-11 06:49:51 +00:00
c-comments.h Update copyright headers 2015-02-11 06:49:51 +00:00
cstyle-enums.h Update copyright headers 2015-02-11 06:49:51 +00:00
cxx11-enums.h Update copyright headers 2015-02-11 06:49:51 +00:00
cxx11-explicit-override-control.h Update copyright headers 2015-02-11 06:49:51 +00:00
cxx11-final-classes.h Update copyright headers 2015-02-11 06:49:51 +00:00
dir-in-include-path.h Update copyright headers 2015-02-11 06:49:51 +00:00
dollars.h Update copyright headers 2015-02-11 06:49:51 +00:00
error-on-wrong-notify.h Update copyright headers 2015-02-11 06:49:51 +00:00
escapes-in-string-literals.h Update copyright headers 2015-02-11 06:49:51 +00:00
extraqualification.h Update copyright headers 2015-02-11 06:49:51 +00:00
forgotten-qinterface.h Update copyright headers 2015-02-11 06:49:51 +00:00
forward-declared-param.h Update copyright headers 2015-02-11 06:49:51 +00:00
function-with-attributes.h Update copyright headers 2015-02-11 06:49:51 +00:00
gadgetwithnoenums.h Update copyright headers 2015-02-11 06:49:51 +00:00
grand-parent-gadget-class.h Update copyright headers 2015-02-11 06:49:51 +00:00
Header Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
interface-from-framework.h Update copyright headers 2015-02-11 06:49:51 +00:00
interface-from-include.h Update copyright headers 2015-02-11 06:49:51 +00:00
macro-on-cmdline.h Update copyright headers 2015-02-11 06:49:51 +00:00
moc.pro moc: Don't link to inexistent parent staticMetaObject 2015-01-13 11:25:53 +01:00
namespaced-flags.h Update copyright headers 2015-02-11 06:49:51 +00:00
no-keywords.h Update copyright headers 2015-02-11 06:49:51 +00:00
non-gadget-parent-class.h Update copyright headers 2015-02-11 06:49:51 +00:00
oldstyle-casts.h Update copyright headers 2015-02-11 06:49:51 +00:00
os9-newlines.h Update copyright headers 2015-02-11 06:49:51 +00:00
parse-boost.h Update copyright headers 2015-02-11 06:49:51 +00:00
parse-defines.h Update copyright headers 2015-02-11 06:49:51 +00:00
plugin_metadata.h Update copyright headers 2015-02-11 06:49:51 +00:00
pp-dollar-signs.h Update copyright headers 2015-02-11 06:49:51 +00:00
pure-virtual-signals.h Update copyright headers 2015-02-11 06:49:51 +00:00
qinvokable.h Update copyright headers 2015-02-11 06:49:51 +00:00
qprivateslots.h Update copyright headers 2015-02-11 06:49:51 +00:00
qtbug-35657-gadget.h Update copyright headers 2015-02-11 06:49:51 +00:00
related-metaobjects-in-gadget.h Update copyright headers 2015-02-11 06:49:51 +00:00
related-metaobjects-in-namespaces.h Update copyright headers 2015-02-11 06:49:51 +00:00
related-metaobjects-name-conflict.h Update copyright headers 2015-02-11 06:49:51 +00:00
single_function_keyword.h Update copyright headers 2015-02-11 06:49:51 +00:00
single-quote-digit-separator-n3781.h Update copyright headers 2015-02-11 06:49:51 +00:00
slots-with-void-template.h Update copyright headers 2015-02-11 06:49:51 +00:00
task87883.h Update copyright headers 2015-02-11 06:49:51 +00:00
task189996.h Update copyright headers 2015-02-11 06:49:51 +00:00
task192552.h Update copyright headers 2015-02-11 06:49:51 +00:00
task234909.h Update copyright headers 2015-02-11 06:49:51 +00:00
task240368.h Update copyright headers 2015-02-11 06:49:51 +00:00
template-gtgt.h Update copyright headers 2015-02-11 06:49:51 +00:00
trigraphs.h Update copyright headers 2015-02-11 06:49:51 +00:00
tst_moc.cpp Moc: test if superclass list is not empty before accessing first() 2015-04-27 16:14:17 +00:00
unterminated-function-macro.h Update copyright headers 2015-02-11 06:49:51 +00:00
using-namespaces.h Update copyright headers 2015-02-11 06:49:51 +00:00
warn-on-multiple-qobject-subclasses.h Update copyright headers 2015-02-11 06:49:51 +00:00
warn-on-property-without-read.h Update copyright headers 2015-02-11 06:49:51 +00:00
win-newlines.h Update copyright headers 2015-02-11 06:49:51 +00:00