[Interest] Testing combined property in qtdeclarative

gmail at ratijas.tk gmail at ratijas.tk
Tue May 12 20:00:52 CEST 2020


Hi,

I have a question about testing Qt internals.
Any qtdeclarative devs out there?

I've seen there a pattern like this

    function test_properties_data() {
        return [
            {tag: "visible", signal: "visibleChanged",
             init: false, value: true},
            ...

It allows testing individual properties without writing a single line
in C++. But how should I write test for combined property like
anchor.left or icon.name?

Best regards,
Ivan Tkachenko aka ratijas



More information about the Interest mailing list