Use @Test annotation to test for exceptions being thrown
Please note that this commit only uses the @Test annotation where exceptions are thrown at the end of the test, because otherwise the test would not be executed completely. Examples for this are in DatabaseComponentImplTest where many exceptions are thrown in close succession or in ConnectionRegistryImplTest where an exception is thrown in the middle of the test.
Showing
- briar-tests/src/org/briarproject/crypto/StreamDecrypterImplTest.java 6 additions, 21 deletions.../src/org/briarproject/crypto/StreamDecrypterImplTest.java
- briar-tests/src/org/briarproject/data/BdfReaderImplTest.java 12 additions, 42 deletionsbriar-tests/src/org/briarproject/data/BdfReaderImplTest.java
- briar-tests/src/org/briarproject/sync/ConsumersTest.java 2 additions, 7 deletionsbriar-tests/src/org/briarproject/sync/ConsumersTest.java
- briar-tests/src/org/briarproject/sync/PacketReaderImplTest.java 12 additions, 42 deletions...tests/src/org/briarproject/sync/PacketReaderImplTest.java
- briar-tests/src/org/briarproject/util/ByteUtilsTest.java 16 additions, 28 deletionsbriar-tests/src/org/briarproject/util/ByteUtilsTest.java
Loading
Please register or sign in to comment