From d0626455aab5a08e574b59b99d34c023fb91e19a Mon Sep 17 00:00:00 2001 From: matteosz Date: Sun, 24 Sep 2023 12:37:06 +0100 Subject: [PATCH] static modifier tests --- .../dedis/popstellar/repository/DigitalCashRepositoryTest.java | 1 - .../dedis/popstellar/repository/ElectionRepositoryTest.java | 2 +- .../dedis/popstellar/repository/MeetingRepositoryTest.java | 2 +- .../dedis/popstellar/repository/WitnessingRepositoryTest.java | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/DigitalCashRepositoryTest.java b/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/DigitalCashRepositoryTest.java index 974902c998..2de7c93328 100644 --- a/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/DigitalCashRepositoryTest.java +++ b/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/DigitalCashRepositoryTest.java @@ -74,7 +74,6 @@ public void getTransactionsTest() throws GeneralSecurityException, NoRollCallExc } @Test - /* 09.2023 - This test is often getting stuck, probably there's a deadlock or a general concurrency issue */ public void getTransactionsObservableTest() throws GeneralSecurityException, NoRollCallException { // In this test the actual content of the transaction do not matter, only whether they concern // user 1 or user 2 diff --git a/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/ElectionRepositoryTest.java b/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/ElectionRepositoryTest.java index 5fe12c6123..90bb4f123f 100644 --- a/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/ElectionRepositoryTest.java +++ b/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/ElectionRepositoryTest.java @@ -37,7 +37,7 @@ public class ElectionRepositoryTest { .setElectionVersion(ElectionVersion.OPEN_BALLOT) .build(); private static final Application APPLICATION = ApplicationProvider.getApplicationContext(); - private static AppDatabase appDatabase; + private AppDatabase appDatabase; private static ElectionRepository repo; @Before diff --git a/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/MeetingRepositoryTest.java b/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/MeetingRepositoryTest.java index 30232ba6e1..c5f3585b48 100644 --- a/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/MeetingRepositoryTest.java +++ b/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/MeetingRepositoryTest.java @@ -23,7 +23,7 @@ @RunWith(AndroidJUnit4.class) public class MeetingRepositoryTest { private static final Application APPLICATION = ApplicationProvider.getApplicationContext(); - private static AppDatabase appDatabase; + private AppDatabase appDatabase; private static MeetingRepository meetingRepository; private static final String LAO_ID = "LAO_ID"; private static final String ID = "ID"; diff --git a/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/WitnessingRepositoryTest.java b/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/WitnessingRepositoryTest.java index bfcba8df13..15b3e5a896 100644 --- a/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/WitnessingRepositoryTest.java +++ b/fe2-android/app/src/test/unit/java/com/github/dedis/popstellar/repository/WitnessingRepositoryTest.java @@ -28,7 +28,7 @@ @RunWith(AndroidJUnit4.class) public class WitnessingRepositoryTest { - private static AppDatabase appDatabase; + private AppDatabase appDatabase; private static WitnessingRepository witnessingRepository; private static RollCallRepository rollCallRepo; private static ElectionRepository electionRepo;