Navigation Menu

Skip to content

Commit

Permalink
[Java] Add needed variables for GCDClientTest
Browse files Browse the repository at this point in the history
Also reordered the old ones for more clarity.
  • Loading branch information
agegov committed May 23, 2019
1 parent 988697a commit d8f3e41
Showing 1 changed file with 7 additions and 6 deletions.
Expand Up @@ -67,6 +67,12 @@

@RunWith(MockitoJUnitRunner.class)
public class GlobalCapabilitiesDirectoryClientTest {
private static final long DEFAULT_TTL_ADD_AND_REMOVE = 60L * 1000L;
private static final long CUSTOM_TTL = 3L * 1000L;
private static final long FRESHNESS_UPDATE_INTERVAL_MS = 42;
private static final String GBID_DEFAULT_BACKEND = "joynrbackend1";
private static final String[] GBIDS_ARRAY_PROPERTY_SETTING = { GBID_DEFAULT_BACKEND, "joynrbackend2" };

@Mock
private ProxyBuilder<GlobalCapabilitiesDirectoryProxy> capabilitiesProxyBuilderMock;

Expand All @@ -87,13 +93,8 @@ public class GlobalCapabilitiesDirectoryClientTest {

private GlobalCapabilitiesDirectoryClient subject;

private static final long DEFAULT_TTL_ADD_AND_REMOVE = 60L * 1000L;

private static final long CUSTOM_TTL = 3L * 1000L;

private static final long FRESHNESS_UPDATE_INTERVAL_MS = 42;

private final MessagingQos messagingQos = new MessagingQos();
private final MessagingQos expectedGcdCallMessagingQos = new MessagingQos();

@Before
public void setup() {
Expand Down

0 comments on commit d8f3e41

Please sign in to comment.