<div dir="ltr">Hi,<div><br></div><div>I've just created a quite complicated testcase for frameworks which uses the new signal/slot connection syntax (since Qt 5.0) and uses a lambda as slot. The reason i did this is so that i can keep then entire testcase (minus the initialization) contained in one testcase method. Otherwise i would have to make signal/slot connections to member functions which is probably not something you want for testcases..</div>

<div><br></div><div>You can find the patch here: <a href="http://paste.kde.org/p9f82c70a/">http://paste.kde.org/p9f82c70a/</a></div><div><br></div><div>Would this be OK to commit?</div><div><br></div><div>This testcase would obviously have to be extended a bit to test the different detail states for UDSEntry. This test only tests the case where UDSEntry is filled with details set to 0. The default is details set to 2 which this test doesn't test (yet).</div>

<div><br></div><div>I guess the question really is:</div><div>- Can i use C++11 for testcases?</div><div>- Can i use Lambda? The Lambda spec is supported since GCC 4.5. <a href="http://gcc.gnu.org/projects/cxx0x.html">http://gcc.gnu.org/projects/cxx0x.html</a></div>

<div><br></div><div>Note: the test currently fails which i expected. It passes if i patch another part in UDSEntry where i'm waiting for a final OK to push.</div><div><br></div><div>Cheers,</div><div>Mark</div></div>