#48 TestContractRunnerTest#testInvalid

Uzavrená
otvorené 4 rokov pred užívateľom ranides · 1 komentárov
ranides okomentoval 4 rokov pred

net.ranides.assira.junit.TestContractRunnerTest#testInvalid

I have no idea, what asserion error was expected there? but it is not thrown now. maybe rollback and look

net.ranides.assira.junit.TestContractRunnerTest#testInvalid I have no idea, what asserion error was expected there? but it is not thrown now. maybe rollback and look
ranides okomentoval 4 rokov pred
Vlastník

explained: exception never was thrown. our NewAssert#assertThrows catches their own AssertionError from #fail.

assertThrows(AssertionError.class, ...) will always succeed.

New version of JUnit 4.13 introduced their own "assertThrows" and it works correclty.

explained: exception never was thrown. our NewAssert#assertThrows catches their own AssertionError from #fail. assertThrows(AssertionError.class, ...) will always succeed. New version of JUnit 4.13 introduced their own "assertThrows" and it works correclty.
ranides sa odvolal na túto issue z commitu 4 rokov pred
Prihláste sa pre zapojenie do konverzácie.
Žiadny míľnik
Žiadny priradený
1 účastníkov
Načítavanie...
Zrušiť
Uložiť
Zatiaľ neexistuje žiadny obsah.