> -Original Message-
> From: Edward Welbourne
> Sent: Wednesday, 3 April 2019 5:07 PM
> To: Mitch Curtis
> Cc: development@qt-project.org; Joerg Bornemann
>
> Subject: Re: [Development] Supporting helper functions in auto tests by
> providing throwing Qt Test macros
>
> On 4/2/19 5:14
Thanks for the update Laszlo. This is really important work towards Qt 6, and I
can recommend everybody that has an interest in the graphics stack for Qt to
have a look.
And I support the creation of the qtshadertools repo. Gerrit admins, could you
please the qt-labs repo for Laszlo?
Cheers,
L
Il 03/04/19 17:06, Edward Welbourne ha scritto:
There is a whole world of difference between "can only be used in" and
"is not recommended for use outside". The note is incorrect: if you use
these macros inside a helper function, they do cause the test system to
know the test has failed. They m
On 4/2/19 5:14 PM, Mitch Curtis wrote:
> >> As described in https://bugreports.qt.io/browse/QTBUG-66320,
> >> currently Qt users are on their own if they want to call helper
> >> functions that can fail a test. The reason is documented:
> >>
> >> Note: This macro can only be used in a test fun
In your examples, you know the destination types statically so my suggestion
did not seem off-topic.
Cheers
From: Vasily Pupkin
To: Arnaud Clère
> Using QVariant as an intermediate data structure is not optimal to
> read/write your QList
> It also prevents from directly using the QList type
> -Original Message-
> From: Development On Behalf Of
> Robin Burchell
> Sent: Wednesday, 3 April 2019 12:53 PM
> To: development@qt-project.org
> Subject: Re: [Development] Supporting helper functions in auto tests by
> providing throwing Qt Test macros
>
> On Tue, Apr 2, 2019, at 5:17 P
Resending to the list...
> -Original Message-
> From: Mitch Curtis
> Sent: Wednesday, 3 April 2019 1:58 PM
> To: 'Giuseppe D'Angelo'
> Subject: RE: [Development] Supporting helper functions in auto tests by
> providing throwing Qt Test macros
>
> > -Original Message-
> > From: De
On Wed, Apr 3, 2019, at 1:24 PM, Giuseppe D'Angelo via Development wrote:
> I may like the overall approach. However, this would imply that such
> tests require exceptions / RTTI turned on inside QtTestLib / user code;
> is it "OK" in the grand scheme of things?
Note that testcase.prf already en
Hi,
Il 02/04/19 17:14, Mitch Curtis ha scritto:
Quoting the commit message here:
WIP: Add _THROW variants to testlib macros
This allows using Qt Test macros in helper functions, avoiding the need
to write a lot of boilerplate code as seen with alternative approaches.
I may lik
On Tue, Apr 2, 2019, at 5:17 PM, Mitch Curtis wrote:
> Quoting the commit message here:
>
> WIP: Add _THROW variants to testlib macros
>
> This allows using Qt Test macros in helper functions, avoiding the need
> to write a lot of boilerplate code as seen with alternative approaches.
> -Original Message-
> From: Edward Welbourne
> Sent: Wednesday, 3 April 2019 12:07 PM
> To: Joerg Bornemann ; Mitch Curtis
>
> Cc: development@qt-project.org
> Subject: Re: [Development] Supporting helper functions in auto tests by
> providing throwing Qt Test macros
>
> On 4/2/19 5:14 P
On 4/2/19 5:14 PM, Mitch Curtis wrote:
>> As described in https://bugreports.qt.io/browse/QTBUG-66320, currently
>> Qt users are on their own if they want to call helper functions that
>> can fail a test. The reason is documented:
>>
>> Note: This macro can only be used in a test function that
Alexandru Croitor (2 April 2019 14:02)
>> Just to throw some wood into the fire, because it's that kind of day,
>> technically we don't require Python or Go to build qtbase, yet we
>> require Perl. Hence +1 for using the perl script, because we need Perl
>> anyway : P
I note that the createchangel
> Using QVariant as an intermediate data structure is not optimal to
read/write your QList
> It also prevents from directly using the QList type to guide
the deserialization. In QBind you do not need to register types at runtime
and you avoid losing data silently (instead you have static_asserts
On Tue, 2 Apr 2019 15:14:38 +
Mitch Curtis wrote:
> As described in https://bugreports.qt.io/browse/QTBUG-66320, currently Qt
> users are on their own if they want to call helper functions that can fail a
> test. The reason is documented:
>
> Note: This macro can only be used in a test
Hi all,
First beta release from Qt 5.13 is already out so it is time to start keeping
translatable strings as it is. Official string freeze will be in effect Wed
10th April 2019.
br,
Jani
___
Development mailing list
Development@qt-project.org
https:
> -Original Message-
> From: Joerg Bornemann
> Sent: Wednesday, 3 April 2019 9:55 AM
> To: Mitch Curtis ; development@qt-project.org
> Subject: Re: [Development] Supporting helper functions in auto tests by
> providing throwing Qt Test macros
>
> On 4/2/19 5:14 PM, Mitch Curtis wrote:
>
>
On 4/2/19 5:14 PM, Mitch Curtis wrote:
> As described in https://bugreports.qt.io/browse/QTBUG-66320, currently Qt
> users are on their own if they want to call helper functions that can fail a
> test. The reason is documented:
>
> Note: This macro can only be used in a test function that
18 matches
Mail list logo