@Before @Override public void setUp() throws Exception { super.setUp(); _userIds = new long[ServiceTestUtil.THREAD_COUNT]; for (int i = 0; i < ServiceTestUtil.THREAD_COUNT; i++) { User user = ServiceTestUtil.addUser( "DLAppServiceTest" + (i + 1), false, new long[] {group.getGroupId()}); _userIds[i] = user.getUserId(); } }
@Before @Override public void setUp() throws Exception { super.setUp(); _fileEntry = DLAppTestUtil.addFileEntry( group.getGroupId(), parentFolder.getFolderId(), false, "Test DLAppService.txt"); _userIds = new long[ServiceTestUtil.THREAD_COUNT]; for (int i = 0; i < ServiceTestUtil.THREAD_COUNT; i++) { User user = ServiceTestUtil.addUser("DLAppServiceTest" + (i + 1), group.getGroupId()); _userIds[i] = user.getUserId(); } }