qt5base-lts/tests/auto/tools/moc
Edward Welbourne 1901adbab7 Split two error cases so they get reported distinctly.
If a macro is used with too few parameters, complaining about its
definition using '#' followed by something other than a macro
parameter name is apt to be confusing - reading the definition will
reveal that the name in fact is a macro parameter after all.  The
reader needs attention directed to the invocation, not the definition.

Split the test in two: one to test the prior error message does in
fact get produced for an invalid macro definition, the other to test
the invalid invocation case.

Task-number: QTBUG-46210
Change-Id: Ie177a56d346e553bf9d67e2008a4352633afa1ae
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2015-10-16 13:59:59 +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 Split two error cases so they get reported distinctly. 2015-10-16 13:59:59 +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