~azzar1/unity/add-show-desktop-key

  • Committer: stevenbird
  • Date: 2008-02-18 09:11:10 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:495
Fixes to permit content authors to produce nicer diagnostic responses as a result
of automatic tests on a submitted exercise: the XML "problem" format is extended
to permit two new attributes on the function element: succeed and fail, each providing
the text string to be used depending on the result of the test. 

/www/apps/tutorialservice/test/TestFramework.py:TestCasePart
* made ident et al into classmethods (fixing a commented complaint that
  these receive self as first argument)
* replaced redundant lambda functions with references to these class methods
* running a test case now puts the succeed vs fail string in the description
  depending on the result

/www/apps/tutorialservice/test/parse_tute.py:getCasePartData()
* added support for two new attributes on function elements: succeed, fail
* default value comes from existing attribute desc for backwards compatibility

Filename Latest Rev Last Changed Committer Comment Size
..
edit_area 233 17 years ago mattgiuca Added a shaky implementation of EditArea as the te Diff
ivle.css 455 17 years ago mattgiuca Login now handles the 3 login states: no_agreement 3.6 KB Diff Download File
json2.js 170 17 years ago mattgiuca browser: Added CSS and JS files (not much in them) 1.9 KB Diff Download File
md5.js 217 17 years ago mattgiuca Console: Python code generates a minimal document 8.6 KB Diff Download File
tos.js 478 17 years ago mattgiuca scripts/usrmgr-server: Renamed actions from dashes 3.2 KB Diff Download File
util.js 442 17 years ago drtomc util.js: Small fix for make_query_string. console 17.4 KB Diff Download File