lams_learning

  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Testing export service bean

the CustomStrutsExceptionHandler in org.lamsfoundation.lams.util in which is previously used no longer belongs there.

The customStrutsExceptionHandler is now located in org.lamsfoundation.lams.learning.util

The customStrutsExceptionHandler was previously referenced from lams_common, however that was moved so i have created a this class inside lams_learning.

And changed it so that it will handle all exceptions thrown within lams_learning

*** empty log message ***

export portfolio service: currently most methods are public, but however will be changed to private later. I kept them public so i could test them using junit. should probable change those methods to protected instead.

Portfolio object holds details about a particular activity

the exportService bean generates an array of portfolio objects which are passed onto the web layer and the info displayed to user

    • -0
    • +145
    ./src/java/org/lamsfoundation/lams/learning/export/Portfolio.java
Exception class for ExportPortfolio

new error variables

added new service bean "exportService"

Added survey tool to class path so that test's would work (yuk!)

The common test code has been removed from lams.jar, which triggered the abstract lams test case class to change package. New version uses the "new" package.

  1. … 3 more files in changeset.
Use the version in lams_build

Stops it trying to run the form test - this doesn't have any test cases.

Can't see that this is required for lams_learning

Added some comments and fixed exception declaration

Upgraded to Struts 1.2.7

    • -0
    • +270
    ./web/WEB-INF/struts/struts-html-el.tld
    • -11
    • +341
    ./web/WEB-INF/struts/struts-html.tld
    • -2
    • +12
    ./web/WEB-INF/struts/struts-logic.tld
    • -10
    • +311
    ./web/WEB-INF/struts/struts-nested.tld
    • -830
    • +99
    ./web/WEB-INF/struts/validator-rules.xml
  1. … 19 more files in changeset.
Updated to use the new tool exceptions

Converted lams_learning to use ear format

    • -0
    • +3
    ./conf/jar/META-INF/MANIFEST.MF
    • -0
    • +2
    ./conf/war/META-INF/MANIFEST.MF
Switched project to use ear file format

    • binary
    ./lib/cglib/cglib-nodep-2.1-dev.jar
    • binary
    ./lib/hibernate/hibernate-tools.jar
    • binary
    ./lib/hibernate/src/hibernate2-src.zip
  1. … 120 more files in changeset.
remove customizedOpenSessionInviewFilter

make it deployable using ant build

    • binary
    ./web/WEB-INF/lib/lams-tool-survey.jar
    • -0
    • +54
    ./web/WEB-INF/spring/surveyApplicationContext.xml
testing libs

    • binary
    ./web/WEB-INF/lib/gnujaxp.jar
    • binary
    ./web/WEB-INF/lib/jcommon-0.9.6.jar
    • binary
    ./web/WEB-INF/lib/jfreechart-0.9.21.jar
    • binary
    ./web/WEB-INF/lib/lams-tool-survey.jar
    • binary
    ./web/WEB-INF/lib/struts-el.jar
test confs

    • -0
    • +93
    ./test/java/SurveyAnsContent.hbm.xml
    • -0
    • +168
    ./test/java/SurveyContent.hbm.xml
    • -0
    • +198
    ./test/java/SurveyQueContent.hbm.xml
    • -0
    • +61
    ./test/java/SurveyQueType.hbm.xml
    • -0
    • +117
    ./test/java/SurveyQueUsr.hbm.xml
    • -0
    • +103
    ./test/java/SurveySession.hbm.xml
    • -0
    • +102
    ./test/java/SurveyUsrResp.hbm.xml
settings for test web app

test cases changed according to the change of super test case

  1. … 1 more file in changeset.
testing sequence modified - schedule gate and permission gate added

  1. … 1 more file in changeset.
gate struts action implemented

    • -1
    • +6
    ./test/web/WEB-INF/struts/tiles-defs.xml
    • -0
    • +20
    ./web/WEB-INF/struts/struts-config.xml
    • -0
    • +27
    ./web/gate/gateWaiting.jsp
knock gate service implemented

knock gate service implemented

modify test case according to new test data