Examples of prepareUsersAndGroups()


Examples of org.projectforge.plugins.teamcal.TeamCalTestHelper.prepareUsersAndGroups()

  @Test
  public void accessTest()
  {
    final TeamCalTestHelper testHelper = new TeamCalTestHelper();
    final TeamCalDO cal = testHelper.prepareUsersAndGroups("teamCal", this, getTeamCalDao());
    calId = cal.getId();
    logon(testHelper.getOwner());
    Assert.assertEquals("teamCal.title", teamCalDao.getById(calId).getTitle());
    checkSelectAccess(true, testHelper.getOwner(), testHelper.getFullUser1(), testHelper.getFullUser3(), testHelper.getReadonlyUser1(),
        testHelper.getReadonlyUser3(), testHelper.getMinimalUser1(), testHelper.getMinimalUser3());
View Full Code Here

Examples of org.projectforge.plugins.teamcal.TeamCalTestHelper.prepareUsersAndGroups()

  @Test
  public void accessTest()
  {
    final TeamCalTestHelper testHelper = new TeamCalTestHelper();
    final TeamCalDO cal = testHelper.prepareUsersAndGroups("teamEvent", this, getTeamCalDao());
    calId = cal.getId();
    logon(testHelper.getOwner());
    final TeamEventDO event = new TeamEventDO();
    event.setStartDate(new Timestamp(DateHelperTest.createDate(2012, Calendar.DECEMBER, 8, 8, 0, 0, 0).getTime()));
    event.setEndDate(new Timestamp(DateHelperTest.createDate(2012, Calendar.DECEMBER, 8, 15, 0, 0, 0).getTime()));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.