Examples of countBGAreasOfBGContext()


Examples of org.olat.group.area.BGAreaManager.countBGAreasOfBGContext()

    assertTrue(am.findBusinessGroupsOfArea(a2).size() == 1);
    assertTrue(am.findBusinessGroupsOfArea(a3).size() == 1);
    assertTrue(am.findBusinessGroupsOfArea(a4).size() == 1);

    DBFactory.getInstance().closeSession(); // simulate user clicks
    assertTrue(am.countBGAreasOfBGContext(c1) == 4);
    assertTrue(am.countBGAreasOfBGContext(c2) == 0);

    DBFactory.getInstance().closeSession(); // simulate user clicks
    assertTrue(am.findBusinessGroupsOfAreaAttendedBy(id1, "a1-delete", c1).size() == 1);
    assertTrue(am.findBusinessGroupsOfAreaAttendedBy(id1, "a2-delete", c1).size() == 1);
View Full Code Here

Examples of org.olat.group.area.BGAreaManager.countBGAreasOfBGContext()

    assertTrue(am.findBusinessGroupsOfArea(a3).size() == 1);
    assertTrue(am.findBusinessGroupsOfArea(a4).size() == 1);

    DBFactory.getInstance().closeSession(); // simulate user clicks
    assertTrue(am.countBGAreasOfBGContext(c1) == 4);
    assertTrue(am.countBGAreasOfBGContext(c2) == 0);

    DBFactory.getInstance().closeSession(); // simulate user clicks
    assertTrue(am.findBusinessGroupsOfAreaAttendedBy(id1, "a1-delete", c1).size() == 1);
    assertTrue(am.findBusinessGroupsOfAreaAttendedBy(id1, "a2-delete", c1).size() == 1);
    assertTrue(am.findBusinessGroupsOfAreaAttendedBy(id1, "a3-delete", c1).size() == 0);
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.