From 841fb7eccd95bc73a872711df48136114a12698f Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Sun, 2 Apr 2017 21:02:20 +0200 Subject: [PATCH] Test fixes and improvements --- .../dissem/bitmessage/entity/Plaintext.java | 10 ++-- .../bitmessage/BitmessageContextTest.java | 52 ++++++++++++------- .../bitmessage/entity/SerializationTest.java | 41 ++++++++------- .../bitmessage/testutils}/TestInventory.java | 2 +- .../utils/ConversationServiceTest.java | 2 +- cryptography-bc/build.gradle | 2 +- .../networking/NetworkHandlerTest.java | 1 + .../networking/TestNodeRegistry.java | 5 ++ repositories/build.gradle | 2 +- .../repository/JdbcMessageRepository.java | 16 +++--- .../repository/JdbcMessageRepositoryTest.java | 1 + 11 files changed, 78 insertions(+), 56 deletions(-) rename {networking/src/test/java/ch/dissem/bitmessage/networking => core/src/test/java/ch/dissem/bitmessage/testutils}/TestInventory.java (98%) diff --git a/core/src/main/java/ch/dissem/bitmessage/entity/Plaintext.java b/core/src/main/java/ch/dissem/bitmessage/entity/Plaintext.java index 9d09433..141edfc 100644 --- a/core/src/main/java/ch/dissem/bitmessage/entity/Plaintext.java +++ b/core/src/main/java/ch/dissem/bitmessage/entity/Plaintext.java @@ -439,9 +439,7 @@ public class Plaintext implements Streamable { public void addLabels(Collection