Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all articles
Browse latest Browse all 3212

DUnitX / C++

$
0
0

I am converting DUnit tests to DUnitX tests using C++ Builder 10. I have a test that verifies that an exception is thrown, and I see that WillRaise() is available for this in DUnitX. WillRaise() takes as an argument an anonymous method which bcc32 doesn't support. Can someone show an example of the C++ syntax required by WillRaise(), or am I correct that this can't be done with bcc32?

Thanks!


Viewing all articles
Browse latest Browse all 3212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>