summaryrefslogtreecommitdiffstats
path: root/auth/auth-batch/src
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-11-08 16:29:04 -0600
committerInstrumental <jonathan.gathman@att.com>2018-11-08 16:29:10 -0600
commitb2925aafd63f031392a4a5d44e105d047af7eed2 (patch)
tree5be791b54c270cee2116b48578e6cd1088e1c1e6 /auth/auth-batch/src
parent07c721465a0cc40d8e215cf5411bfd825b2c6b13 (diff)
Improve nonContainer Agent Config2.1.7
Issue-ID: AAF-619 Change-Id: I9ea4a5a7fb1d5006d50ffc70f0bc0f98812d1513 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/auth-batch/src')
-rw-r--r--auth/auth-batch/src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/auth/auth-batch/src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java b/auth/auth-batch/src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java
index 92debf44..fe3d5d95 100644
--- a/auth/auth-batch/src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java
+++ b/auth/auth-batch/src/test/java/org/onap/aaf/auth/helpers/test/JU_Future.java
@@ -104,24 +104,25 @@ public class JU_Future {
@Test
public void testResetLocalData() {
- future.resetLocalData();
+ Future.resetLocalData();
}
@Test
public void testSizeForDeletion() {
- Assert.assertEquals(0, future.sizeForDeletion());
+ Assert.assertEquals(0, Future.sizeForDeletion());
}
@Test
public void testPendingDelete() {
- Assert.assertEquals(false, future.pendingDelete(future));
+ Assert.assertEquals(false, Future.pendingDelete(future));
}
@Test
public void testLoad() {
Session session = mock(Session.class);
Trans trans = mock(Trans.class);
- Creator<Future> creator = mock(Creator.class);
+ @SuppressWarnings("unchecked")
+ Creator<Future> creator = (Creator<Future>)mock(Creator.class);
LogTarget target = mock(LogTarget.class);
TimeTaken tt = mock(TimeTaken.class);
ResultSet results = mock(ResultSet.class);