7
Projem için google Sınama çerçevesi kullanıyorum. olarak kullanılarakGoogle test istisnası atlatma iletisini al
throw DerivedClassException("message");
ve test çerçeve içinde: Ben kodundan durum atma am
ASSERT_THROW(commond(), DerivedClassException);
Ben what()
API ile mesaj almak istiyorum. Özel durumun istisna mesajını almanın herhangi bir yolu.