Hi all,

While trying to run the jUnit test suite for the Saros core, I noticed
that UPnpTest#testDispose() consistently fails when run in IntelliJ but
not when run in Eclipse.

This is due to the standard run configurations being different: IntelliJ
uses the vm option -ea (to enable asserts) by default, Eclipse does not.
If this option is also enabled in Eclipse, the test case fails as well.

The problem is a violated assertion outside of the test suite (in
UPnPServiceImpl#createPortMapping(), line 168 to be precise) which is
violated the second time #createPortMapping() is called during the test
(UPnPTest#testDispose(), line 163).

I am not quite sure whether this is a problem with the implementation or
the test and if I should create a bugtracker entry for this.

Regards,
Tobias

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to