TestToolSessionDAO.java

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LDEV-2913: Remove test sources and build tasks from LAMS projects.

  1. … 294 more files in changeset.
Updated address of FSF in copyright statement

  1. … 1392 more files in changeset.
Copyright statement change - only support GPL v2, not future versions. Missed the "version 2.0" the previous check in

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions. Got the lines in the wrong order in the last check in.

  1. … 261 more files in changeset.
Copyright statement change - only support GPL v2, not future versions.

  1. … 261 more files in changeset.
LDEV-61 Fixing tool sessions - all users were getting separate tool sessions. Modified ToolSessionDAO to look up either a grouped tool session or an individual tool session using the learner rather than the group (in the group cases). The "get group" code only worked for explicit groups defined in the activity object, it didn't work for a "class wide" group, so the call to the get group in the tool session lookup was replaced by an extented HQL query which look at the actual group data in the database (looking via the session table, rather than via activity).

  1. … 2 more files in changeset.
update method for tool session added

  1. … 5 more files in changeset.
fix up the broken tool session code. As the new lesson attribute can not be null, it should go into the constructor

  1. … 5 more files in changeset.
test group based tool session

  1. … 7 more files in changeset.
added new tool session helper method to get tool session by learner and activity

  1. … 2 more files in changeset.
tool session hibernate object and mapping file corrected. NonGroupedToolSession creation and deletion process tested.

  1. … 10 more files in changeset.
tool session hibernate object and mapping file corrected. NonGroupedToolSession creation and deletion process tested.

    • -0
    • +71
    ./TestToolSessionDAO.java
  1. … 10 more files in changeset.