]> git.mjollnir.org Git - moodle.git/commitdiff
Fixing drift between CVS and git
authorMoodle HQ git importer <gitimport@server2.moodle.com>
Mon, 2 Nov 2009 00:32:03 +0000 (00:32 +0000)
committerMoodle HQ git importer <gitimport@server2.moodle.com>
Mon, 2 Nov 2009 00:32:03 +0000 (00:32 +0000)
40 files changed:
admin/xmldb/actions/XMLDBCheckAction.class.php
lib/adodb/readme_moodle.txt
lib/ajax/ajaxcourse.js
lib/ajax/block_classes.js
lib/ajax/section_classes.js
lib/form/button.php
lib/form/selectgroups.php
lib/simpletest/broken_testfilelib.php
lib/simpletest/completion.manualtest.txt
lib/simpletest/disabled_testeventslib.php
lib/simpletest/filtersettingsperformancetester.php
lib/simpletest/fixtures/events.php
lib/simpletest/fixtures/gradetest.php
lib/simpletest/fixtures/user_agents.php
lib/simpletest/getstringperformancetester.php
lib/simpletest/portfolio_testclass.php
lib/simpletest/testaccesslib.php
lib/simpletest/testbackuplib.php
lib/simpletest/testblocklib_blockmanager.php
lib/simpletest/testcode.php
lib/simpletest/testcompletionlib.php
lib/simpletest/testconditionlib.php
lib/simpletest/testfilterconfig.php
lib/simpletest/testfiltermanager.php
lib/simpletest/testgradelib.php
lib/simpletest/testmathslib.php
lib/simpletest/testmoodlelib.php
lib/simpletest/testnavigationlib.php
lib/simpletest/testpagelib_moodlepage.php
lib/simpletest/testportfolioaddbutton.php
lib/simpletest/testportfoliolib.php
lib/simpletest/testquestionlib.php
lib/simpletest/testrepositorylib.php
lib/simpletest/testrss.php
lib/simpletest/testsimpletestlib.php
lib/simpletest/teststringmanager.php
lib/simpletest/testunittestusingdb.php
lib/simpletest/testweblib.php
lib/simpletest/todochecker.php
mod/glossary/formats/README.txt

index 0cf5aa318462b939910712434286882ceae7416a..dcbe283ce54ab736e6ca114b821494a30aac1322 100644 (file)
@@ -197,7 +197,7 @@ abstract class XMLDBCheckAction extends XMLDBAction {
      * @return array an array with two elements: First, some additional progress output,
      *      for example a list (<ul>) of the things check each with an one work ok/not ok summary.
      *      Second, an array giving the details of any problems found. These arrays
-     *      for all tables will be aggregated, and then passed to 
+     *      for all tables will be aggregated, and then passed to
      */
     abstract protected function check_table(xmldb_table $xmldb_table, array $metacolumns);
 
index c4a38e7fe2c75903b2d4bc222f691e45a65dc61f..9ad90c1e3d83d70797248b92f4d7b7aa4eaacfbf 100644 (file)
@@ -25,5 +25,3 @@ Our changes: /// Look for "moodle" in adodb code
        we'll return to their official distro.
 
 skodak, iarenaza, moodler, stronk7
-
-$Id$
index d8fec5fb8b8f29951ee82a81d73d27422c91e97e..489da2c95f5bcfe32d3697e99bfcf10edbf716e2 100644 (file)
@@ -1,7 +1,5 @@
 /**
  * Contains Main class and supporting functions for ajax course layout
- *
- * $Id$
  */
 
 
index defcde7ef5e63b0ad52710a578ac1d96ee710045..9c5e373a9b3e98b47491aad5e632261a4baeeb2d 100644 (file)
@@ -2,8 +2,6 @@
  * library for ajaxcourse formats, the classes and related functions for drag and drop blocks
  * 
  * this library requires a 'main' object created in calling document
- *
- * $Id$ 
  */
 
 
index 8d61e47c1e3f5a3e5cc25d4147e2ef2bd260ec6a..d8df2699769c94a733ec3b4080db1a7d7f2b5fe8 100755 (executable)
@@ -11,8 +11,6 @@
  *
  *   Dropping an activity or resource on another activity or resource will
  *   always move the former just above the latter.
- *
- * $Id$
  */
 
 
index 0a239f1c1404a26303887f7adfc43d31bc1290f7..adc5a0f73ecc6bc897870fc293920601d6fe8b09 100644 (file)
@@ -16,8 +16,6 @@
 // | Authors: Adam Daniel <adaniel1@eesus.jnj.com>                        |
 // |          Bertrand Mansion <bmansion@mamasam.com>                     |
 // +----------------------------------------------------------------------+
-//
-// $Id$
 
 require_once("HTML/QuickForm/button.php");
 
index afc760204de845e9de3c18095f33a69bd9096e04..04420b1a7f84a94acf4652d4eb434919d9a42029 100644 (file)
@@ -16,8 +16,6 @@
 // | Authors: Adam Daniel <adaniel1@eesus.jnj.com>                        |
 // |          Bertrand Mansion <bmansion@mamasam.com>                     |
 // +----------------------------------------------------------------------+
-//
-// $Id$
 
 require_once('HTML/QuickForm/element.php');
 
index 70166d1fb1aa2eedb65432450166ef9139e60f54..f2d3fdf5b20b87650dd09df2daa7322a219542f7 100644 (file)
@@ -1,4 +1,4 @@
-<?php  // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -61,21 +61,21 @@ class filelib_test extends UnitTestCaseUsingDatabase {
 
         global $DB, $CFG;
         // Insert needed capabilities
-        $DB->insert_record('capabilities', 
+        $DB->insert_record('capabilities',
             array('id' => 45, 'name' => 'moodle/course:update', 'cattype' => 'write', 'contextlevel' => 50, 'component' => 'moodle', 'riskbitmask' => 4));
-        $DB->insert_record('capabilities', 
+        $DB->insert_record('capabilities',
             array('id' => 14, 'name' => 'moodle/site:backup', 'cattype' => 'write', 'contextlevel' => 50, 'component' => 'moodle', 'riskbitmask' => 28));
-        $DB->insert_record('capabilities', 
+        $DB->insert_record('capabilities',
             array('id' => 17, 'name' => 'moodle/site:restore', 'cattype' => 'write', 'contextlevel' => 50, 'component' => 'moodle', 'riskbitmask' => 28));
-        $DB->insert_record('capabilities', 
+        $DB->insert_record('capabilities',
             array('id' => 52, 'name' => 'moodle/course:managefiles', 'cattype' => 'write', 'contextlevel' => 50, 'component' => 'moodle', 'riskbitmask' => 4));
-        $DB->insert_record('capabilities', 
+        $DB->insert_record('capabilities',
             array('id' => 73, 'name' => 'moodle/user:editownprofile', 'cattype' => 'write', 'contextlevel' => 10, 'component' => 'moodle', 'riskbitmask' => 16));
-        
+
         // Insert system context
         $DB->insert_record('context', array('id' => 1, 'contextlevel' => 10, 'instanceid' => 0, 'path' => '/1', 'depth' => 1));
         $DB->insert_record('context', array('id' => 2, 'contextlevel' => 50, 'instanceid' => 1, 'path' => '/1/2', 'depth' => 2));
-        
+
         // Insert site course
         $DB->insert_record('course', array('category' => 0, 'sortorder' => 1, 'fullname' => 'Test site', 'shortname' => 'test', 'format' => 'site', 'modinfo' => 'a:0:{}'));
 
@@ -87,7 +87,7 @@ class filelib_test extends UnitTestCaseUsingDatabase {
         assign_capability('moodle/site:doanything', CAP_ALLOW, $adminrole, $syscontext->id);
         update_capabilities('moodle');
         update_capabilities('mod_forum');
-        
+
         $contexts = $this->load_test_data('context',
                 array('contextlevel', 'instanceid', 'path', 'depth'), array(
            1 => array(40, 666, '', 2)));
@@ -102,7 +102,7 @@ class filelib_test extends UnitTestCaseUsingDatabase {
 
         $this->switch_global_user_id(1);
         accesslib_clear_all_caches_for_unit_testing();
-        
+
         // Create a coursecat
         $newcategory = new stdClass();
         $newcategory->name = 'test category';
@@ -117,9 +117,9 @@ class filelib_test extends UnitTestCaseUsingDatabase {
         // Create a course
         $coursedata = new stdClass();
         $coursedata->category = $newcategory->id;
-        $coursedata->shortname = 'testcourse'; 
+        $coursedata->shortname = 'testcourse';
         $coursedata->fullname = 'Test Course';
-        
+
         try {
             $this->course = create_course($coursedata);
         } catch (moodle_exception $e) {
@@ -145,7 +145,7 @@ class filelib_test extends UnitTestCaseUsingDatabase {
         $module->type = 'general';
         $module->forcesubscribe = 1;
         $module->format = 1;
-        $module->name = 'Test Forum'; 
+        $module->name = 'Test Forum';
         $module->module = $DB->get_field('modules', 'id', array('name' => 'forum'));
         $module->modulename = 'forum';
         $module->add = 'forum';
@@ -153,7 +153,7 @@ class filelib_test extends UnitTestCaseUsingDatabase {
         $module->course = $this->course->id;
 
         $module->instance = forum_add_instance($module, '');
-        
+
         $this->section = get_course_section(1, $this->course->id);
         $module->section = $this->section->id;
         $module->coursemodule = add_course_module($module);
@@ -169,11 +169,11 @@ class filelib_test extends UnitTestCaseUsingDatabase {
         // Update local copy of course
         $this->course = $DB->get_record('course', array('id' => $this->course->id));
     }
-    
+
     public function teardown() {
         parent::tearDown();
     }
-    
+
     public function createFiles() {
 
     }
@@ -293,7 +293,7 @@ class test_file_info_coursecat extends filelib_test {
     public function test_get_children() {
         $children = $this->fileinfo->get_children();
         $this->assertEqual(2, count($children));
-        
+
         // Not sure but I think there should be two children: a file_info_stored object and a file_info_course object.
         $this->assertEqual('Category introduction', $children[0]->get_visible_name());
         $this->assertEqual('', $children[0]->get_url());
@@ -308,7 +308,7 @@ class test_file_info_coursecat extends filelib_test {
         $context = get_context_instance(CONTEXT_SYSTEM);
         $fis = new file_info_system(new file_browser(), $context);
         $parent = $this->fileinfo->get_parent();
-        $this->assertEqual($parent, $fis); 
+        $this->assertEqual($parent, $fis);
     }
 }
 
@@ -338,7 +338,7 @@ class test_file_info_course extends filelib_test {
         $this->assertEqual('Backups', $children[2]->get_visible_name());
         $this->assertEqual('', $children[2]->get_url());
         $this->assertEqual('file_info_stored', get_class($children[2]));
-        
+
         $this->assertEqual('Course files', $children[3]->get_visible_name());
         $this->assertEqual('', $children[3]->get_url());
         $this->assertEqual('file_info_coursefile', get_class($children[3]));
@@ -349,7 +349,7 @@ class test_file_info_course extends filelib_test {
         $context = get_context_instance(CONTEXT_COURSECAT, $this->coursecat->id);
         $fic = new file_info_coursecat(new file_browser(), $context, $this->coursecat);
         $parent = $this->fileinfo->get_parent();
-        $this->assertEqual($parent, $fic); 
+        $this->assertEqual($parent, $fic);
     }
 }
 
@@ -361,22 +361,22 @@ class test_file_info_user extends filelib_test {
         $context = get_context_instance(CONTEXT_USER, $this->user->id);
         $this->fileinfo = new file_info_user(new file_browser(), $context, $this->user);
     }
-    
+
     public function test_get_parent() {
         $context = get_context_instance(CONTEXT_SYSTEM);
         $fic = new file_info_system(new file_browser(), $context);
         $parent = $this->fileinfo->get_parent();
-        $this->assertEqual($parent, $fic); 
+        $this->assertEqual($parent, $fic);
     }
-    
+
     public function test_get_children() {
         $children = $this->fileinfo->get_children();
         $this->assertEqual(2, count($children));
-        
+
         $this->assertEqual('Personal', $children[0]->get_visible_name());
         $this->assertEqual('', $children[0]->get_url());
         $this->assertEqual('file_info_stored', get_class($children[0]));
-        
+
         $this->assertEqual('Profile', $children[1]->get_visible_name());
         $this->assertEqual('', $children[1]->get_url());
         $this->assertEqual('file_info_stored', get_class($children[1]));
@@ -397,9 +397,9 @@ class test_file_info_module extends filelib_test {
         $context = get_context_instance(CONTEXT_COURSE, $this->course->id);
         $fic = new file_info_course(new file_browser(), $context, $this->course);
         $parent = $this->fileinfo->get_parent();
-        $this->assertEqual($parent, $fic); 
+        $this->assertEqual($parent, $fic);
     }
-    
+
     public function test_get_children() {
         $children = $this->fileinfo->get_children();
         $this->assertEqual(0, count($children));
index 198bb5ddec7a88aad18adaf78fdcbc99c919364c..ee9319154f7269ead2c02671c35b907680cedb37 100644 (file)
@@ -1,7 +1,7 @@
 Completion system manual test
 =============================
 
-This text file describes a manual process which can be used to check that the 
+This text file describes a manual process which can be used to check that the
 completion system is working correctly. This does not exercise every possible
 element of the completion system but it covers most of the basic parts.
 
@@ -14,7 +14,7 @@ CHECK A: There is no error when installing the completion database tables.
 
 2) Create users 'admin' (as part of install) and 'u1'
 3) Set the server debug to 'Developer' so that you spot any warnings etc.
-4) Create course 'CF101' (leave default except pick separate groups) and 
+4) Create course 'CF101' (leave default except pick separate groups) and
    assign 'u1' as student
 
 
@@ -32,11 +32,11 @@ Course setup
    admin screens and make sure that 'Student' is included on the list of graded
    roles, or there will be an error at this step.]
 7) Create 2 groups on the course. Assign u1 to one group.
-   
+
 Completion settings
 -------------------
 
-1) Visit the course setting screen. 
+1) Visit the course setting screen.
 
 CHECK B: The completion controls appear. Completion is enabled.
 
@@ -48,12 +48,12 @@ CHECK C: The enablecompletion setting appears. Completion is enabled.
 4) Turn off this setting and save.
 
 4b) Note: At present I have not found a satisfactory way to set a default
-  for the config option, so if necessary, please manually tick the 'Student' 
-  checkbox while on this screen. 
+  for the config option, so if necessary, please manually tick the 'Student'
+  checkbox while on this screen.
 
 5) Visit the course setting screen again.
 
-CHECK D: The completion controls do not appear.  
+CHECK D: The completion controls do not appear.
 
 6) Visit the setting screen for 'w'
 
@@ -75,26 +75,26 @@ CHECK G: Completion controls appear. Completion is set to manual.
 Completion actions
 ------------------
 
-Note: Icons are subject to change, so references to a 'tick' etc might not be 
+Note: Icons are subject to change, so references to a 'tick' etc might not be
 correct.
 
 1) Log in as u1 and go to CF101.
 
-CHECK H: A completion tick (unticked) is visible next to 'w'. 
+CHECK H: A completion tick (unticked) is visible next to 'w'.
 
 2) Click the completion mark a few times.
 
 CHECK I: Completion toggles successfully.
 
-  2b) Go to u1's profile settings and turn on/off AJAX then repeat toggling the 
+  2b) Go to u1's profile settings and turn on/off AJAX then repeat toggling the
       mark. Leave it ticked.
   CHECK I2: Completion still toggles successfully.
 
 3) Visit 'f1' and post 1 message. Return to course home.
 
-CHECK J: There is no tickmark next to f1. (If examined carefully, the 'not 
+CHECK J: There is no tickmark next to f1. (If examined carefully, the 'not
   complete' icon should be present.)
-  
+
 4) Visit 'f1' and post a reply to the message. Return to course home.
 
 CHECK K: There is now a tick next to f1.
@@ -103,9 +103,9 @@ CHECK K: There is now a tick next to f1.
 
 CHECK L: There is now a tick next to f2.
 
-6) Visit 'q1' and attempt the quiz, getting it wrong and submitting answer. 
+6) Visit 'q1' and attempt the quiz, getting it wrong and submitting answer.
   Return to the home page.
-  
+
 CHECK M: There is a black 'completed' tick next to q1.
 
 7) Visit 'q1' again and this time get it right. Return to home page.
@@ -131,24 +131,24 @@ CHECK Q: A 'completion progress' link appears.
 
 3) Click on the completion progress link.
 
-CHECK R: 
+CHECK R:
   A groups dropdown should show the two groups (and 'all').
   The progress table should include all activities for which completion
     was set, across the top.
-  The progress table should show u1 down the side.  
+  The progress table should show u1 down the side.
   Tick and X icons should match those shown when logged in as u1.
-  
+
 4) Choose a group that does not include u1
 
 CHECK S:
-  An informational ('no users') message should display instead of the progress 
+  An informational ('no users') message should display instead of the progress
   table.
-  
-5) Choose the group that does include u1   
-  
+
+5) Choose the group that does include u1
+
 CHECK T:
   The progress table should show u1 again.
-  
+
 Backup/restore
 --------------
 
@@ -161,7 +161,7 @@ Backup/restore
 
 CHECK U:
   Completion should appear as it did in the previous version of the course
-  ('w','f1','f2' complete, 'q2' complete-fail) except that q1 should show as 
+  ('w','f1','f2' complete, 'q2' complete-fail) except that q1 should show as
   incomplete.
+
 
index 3bcc36d9a1a046e57bea4ee473a5e5e3d2fd497c..7632ed12944ce29ac02d32cd7c36be20fbdebe4e 100755 (executable)
@@ -1,7 +1,5 @@
 <?php
 
-/* $Id$ */
-
 if (!defined('MOODLE_INTERNAL')) {
     die('Direct access to this script is forbidden.');    ///  It must be included from a Moodle page
 }
@@ -200,4 +198,4 @@ class eventslib_test extends UnitTestCase {
 
 }
 
-?>
+
index 149b7a91af8e78b188954beb9ad72fe575ac2207..87e35fca7533a01abe38231e8b755239263323c9 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
index 333ee582b6ab65596f5480b28b7435709ccaa357..cdf98b687648b3b8bd7cba2aab1106971bae5a83 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -38,4 +38,4 @@ $handlers = array (
     )
 );
 
-?>
+
index 259efb67d83f59bb3d650e9caf2da3427952f125..ee36212ed0c06e5f5d41f3221c9117885b985343 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -901,4 +901,4 @@ class grade_test extends FakeDBUnitTestCase {
 
 }
 
-?>
+
index b1e7b0bb531a0f28b931fd737a4ca2125c8b6ac1..6a4b49c2c96f2743e8f7ba4e5b097ccd34a3b7b4 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -25,7 +25,7 @@
 
 /**
  * An array of possible user_agent strings.
- * 
+ *
  * @TODO Complete that list using http://www.pgts.com.au/pgtsj/pgtsj0208c.html
  *       OR make this test function dynamic by pulling out strings from a server somewhere,
  *       then testing each of them against the check_browser_version function.
@@ -36,7 +36,7 @@ $user_agents = array(
         '5.5' => array('Windows 2000' => 'Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)'),
         '6.0' => array('Windows XP SP2' => 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)'),
         '7.0' => array('Windows XP SP2' => 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; YPC 3.0.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)')
-    ),  
+    ),
     'Firefox' => array(
         '1.0.6'   => array('Windows XP' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6'),
         '1.5'     => array('Windows XP' => 'Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:1.8) Gecko/20051107 Firefox/1.5'),
@@ -54,4 +54,4 @@ $user_agents = array(
                         'Debian Linux' => 'Opera/9.01 (X11; Linux i686; U; en)')
     )
 );
-?>
+
index c01d19bc9dbdc82fe2b9c4677db3711415afd197..2315c64a82584a0035f927160e670a4a5752b5ba 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -628,4 +628,4 @@ function get_string_from_file($identifier, $langfile, $destination) {
     return $destination .'= sprintf("'. $string[$identifier] .'");';
 }
 
-?>
+
index d101f0a61b4f1c3814f237c64235d314719410ee..40586d7d2c9ef471d2b1a48a792a314b676c66b4 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -268,4 +268,4 @@ class portfoliolib_test extends FakeDBUnitTestCase {
         }
     }
 }
-?>
+
index c7d483382a41799035a476bd34f1b95980035b72..d077dee2586fb67723ab5837516406b4d88195bd 100644 (file)
@@ -341,10 +341,10 @@ class accesslib_test extends UnitTestCaseUsingDatabase {
                 array(      5, 'moodle/site:doanything', SYSCONTEXTID, CAP_PREVENT),
                 array(      6,     'moodle/course:view', SYSCONTEXTID, CAP_PREVENT),
                 ));
-        
+
         $this->switch_to_test_db();
 
         $this->assert(new ArraysHaveSameValuesExpectation(array(2, 5)), array_keys(get_allowed_switchable_roles()));
     }
 }
-?>
+
index 7324d56a5ef7b4005ec519369fee31efaa1c78b2..2d74c3e42e3dcadb81e05854e142f47ed1e1fdc0 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -43,4 +43,4 @@ class backuplib_test extends UnitTestCase {
 
 }
 
-?>
+
index 31ebc870eefc2a4739c4527ccaf2d92f9e32c7c4..f9c33c1e0be639a401d504afd97de68f1ee900b6 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -391,4 +391,4 @@ class moodle_block_manager_test_saving_loading extends UnitTestCaseUsingDatabase
         $this->assertContainsBlocksOfType(array($blockname), $blocks);
     }
 }
-?>
+
index 6f7fc0da7b4b8034338338bf83c4c4a427fdf4d8..0c458fab058e27ecd74ccafb19f37ad29b905481 100644 (file)
@@ -47,4 +47,4 @@ class code_test extends UnitTestCase {
         }
     }
 }
-?>
+
index 4f79f2566e3cf5fb06e592d8a6c521dfe17cd960..747c1cadf51e3edc9ee72bfa39fccc9cc3f8a01f 100644 (file)
@@ -92,7 +92,7 @@ class completionlib_test extends FakeDBUnitTestCase {
     public static $includecoverage = array('lib/completionlib.php');
     var $realdb,$realcfg,$realsession,$realuser;
 
-    function setUp() {        
+    function setUp() {
         global $DB,$CFG,$SESSION,$USER;
         $this->realdb=$DB;
         $this->realcfg=$CFG;
@@ -678,4 +678,4 @@ WHERE
             completion_info::internal_get_grade_state($item,$grade));
     }
 }
-?>
+
index 0d25d7b5591a3ae6b7666533988eb181cc0c8787..c7b45fa49d3528753af3fb1558bbc9bdeee5c47e 100644 (file)
@@ -35,7 +35,7 @@ class conditionlib_test extends FakeDBUnitTestCase {
             'showavailability'=>1,'availablefrom'=>17,'availableuntil'=>398,'course'=>64));
 
         // no ID
-        try { 
+        try {
             $test=new condition_info($cm);
             $this->fail();
         } catch(coding_exception $e) {
@@ -342,4 +342,4 @@ class conditionlib_test extends FakeDBUnitTestCase {
     }
 
 }
-?>
+
index bf8192f497c5aeacc9d3202bb49d45f1b9db3baa..ccd3592700e7770f80fe7740f3a67b48203b2537 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -659,4 +659,4 @@ class filter_filter_set_applies_to_strings extends UnitTestCaseUsingDatabase {
         $this->assertTrue($CFG->filterall);
     }
 }
-?>
+
index ae79c384eaa9e4f1844a1ede61704f474c9dc2f6..3979d9ab418860f6f44b0c6e6da1a35077f2614f 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -128,4 +128,4 @@ class killfrogs_test_filter extends moodle_text_filter {
     }
 }
 
-?>
+
index da33d8d2619150dcb6e07a3c88055f2a584c6c8d..60c5a8ebee5c39d7412c9d07a71a06944ab7eaa7 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -43,4 +43,4 @@ class gradelib_test extends grade_test {
     }
 }
 
-?>
+
index 80491a36ee075f64acdc9e79ea4593139a17630a..ead572fee723e1c67f81f5d3c89baa93b4305cb9 100755 (executable)
@@ -78,4 +78,4 @@ class mathsslib_test extends UnitTestCase {
 
 }
 
-?>
+
index e81c8cd9fadf6dd1f41cc2f61d80cb93adbf5a27..7b250d15410a890809969a4d79cf9a76d90f2cf9 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -371,11 +371,11 @@ class moodlelib_test extends UnitTestCase {
             "tags that ...</blockquote></p></div>", shorten_text($text));
 
         $text = "some text which shouldn't &nbsp; break there";
-        $this->assertEqual("some text which shouldn't &nbsp; ...", 
+        $this->assertEqual("some text which shouldn't &nbsp; ...",
             shorten_text($text, 31));
-        $this->assertEqual("some text which shouldn't ...", 
+        $this->assertEqual("some text which shouldn't ...",
             shorten_text($text, 30));
-        
+
         // This case caused a bug up to 1.9.5
         $text = "<h3>standard 'break-out' sub groups in TGs?</h3>&nbsp;&lt;&lt;There are several";
         $this->assertEqual("<h3>standard 'break-out' sub groups in ...</h3>",
@@ -384,4 +384,4 @@ class moodlelib_test extends UnitTestCase {
 
 }
 
-?>
+
index b29e1946ec2ef2fb38e835d777ddce14f39f1b5c..515aceffd56bbe11341aa2fbdb576f14b95c021e 100644 (file)
@@ -66,7 +66,7 @@ class navigation_node_test extends UnitTestCase {
         $this->node->get('hiddendemo1')->get('hiddendemo2')->helpbutton = 'Here is a help button';
         $this->node->get('hiddendemo1')->get('hiddendemo3')->display = false;
     }
-    
+
     public function test___construct() {
         global $CFG;
         $node = new navigation_node($this->fakeproperties);
@@ -353,7 +353,7 @@ class global_navigation_test extends UnitTestCase {
     protected $coursesections5 = 'a:5:{i:0;O:8:"stdClass":6:{s:7:"section";s:1:"0";s:2:"id";s:2:"14";s:6:"course";s:1:"5";s:7:"summary";N;s:8:"sequence";s:3:"288";s:7:"visible";s:1:"1";}i:1;O:8:"stdClass":6:{s:7:"section";s:1:"1";s:2:"id";s:2:"97";s:6:"course";s:1:"5";s:7:"summary";s:0:"";s:8:"sequence";N;s:7:"visible";s:1:"1";}i:2;O:8:"stdClass":6:{s:7:"section";s:1:"2";s:2:"id";s:2:"98";s:6:"course";s:1:"5";s:7:"summary";s:0:"";s:8:"sequence";N;s:7:"visible";s:1:"1";}i:3;O:8:"stdClass":6:{s:7:"section";s:1:"3";s:2:"id";s:2:"99";s:6:"course";s:1:"5";s:7:"summary";s:0:"";s:8:"sequence";N;s:7:"visible";s:1:"1";}i:4;O:8:"stdClass":6:{s:7:"section";s:1:"4";s:2:"id";s:3:"100";s:6:"course";s:1:"5";s:7:"summary";s:0:"";s:8:"sequence";N;s:7:"visible";s:1:"1";}}';
     public static $includecoverage = array('./lib/navigationlib.php');
     public static $excludecoverage = array();
-    
+
     public function setUp() {
         $this->cache = new navigation_cache('simpletest_nav');
         $this->node = new exposed_global_navigation();
@@ -509,7 +509,7 @@ class global_navigation_test extends UnitTestCase {
             $course->modinfo = $this->modinfo5;
             $courses[$i] = $course;
         }
-        
+
         $this->node->add_courses($courses);
         $this->assertIsA($this->node->get('cat3')->get(0), 'navigation_node');
         $this->assertIsA($this->node->get('cat3')->get(1), 'navigation_node');
@@ -568,7 +568,7 @@ class global_navigation_test extends UnitTestCase {
         $course->numsections = 10;
         $course->modinfo = $this->modinfo5;
         $coursechildren = $this->node->get_by_path($keys)->children;
-        
+
         $this->node->get_by_path(array('cat2', 'sub2', '5'))->children = array();
         $this->node->exposed_load_course_sections($keys, $course);
 
@@ -717,7 +717,7 @@ class limited_global_navigation_test extends UnitTestCase {
         if ($node4->get('initcall')) {
             $this->assertEqual($node4->get('initcall')->text, 'load_for_section_4');
         }
-        
+
         $node5 = clone($this->mocknode);
         $node5->initialise(navigation_node::TYPE_RESOURCE, 5);
         $this->assertFalse($node5->get('initcall'));
index de156291ddae01edb064c47df868359b8e4d6520..c53e246affad9d135426ff04cece253d1064af07 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -801,4 +801,4 @@ class moodle_page_editing_test extends UnitTestCase {
         $this->assert(new ArraysHaveSameValuesExpectation($expectedcaps), $actualcaps);
     }
 }
-?>
+
index 3b8fa78367a5188cf0e570c4c62ee7246bf1add6..b7c6ba5df56c0367fcd4c58631f08d03799a89a6 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -52,4 +52,4 @@ class portfoliolibaddbutton_test extends FakeDBUnitTestCase {
     }
 }
 
-?>
+
index b76879f65576cbf710d95c20e9030246898a8e58..bda31f08c7120d6f7e6e84d26e5fe66b08e3b516 100755 (executable)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -44,4 +44,4 @@ foreach (get_list_of_plugins('mod') as $module) {
         require_once($modtest);
     }
 }
-?>
+
index 29056ef3fd4969c7cd693d02ec92c1d48b6ab6ba..3c92499580058ba7a8944c698ca6e90dfa5a0ab7 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -137,4 +137,4 @@ class questionlib_test extends UnitTestCase {
     }
 }
 
-?>
+
index 9cebcb7f655e805ffe6b852a7306e27220c34c3f..3e8b691b4d6145fc9fe8bbd8b27b8fd575e3a5ac 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -66,4 +66,4 @@ class repositorylib_test extends FakeDBUnitTestCase {
         }
     }
 }
-?>
+
index e32b33e47a7453a0468f36df113ec4ff37aae8e3..7f3a5005197151f640ed07f72ebc1286af6d6b60 100644 (file)
@@ -10,7 +10,7 @@ if (!defined('MOODLE_INTERNAL')) {
  *   rsstest.xml: One valid rss feed.
  *   md5:  8fd047914863bf9b3a4b1514ec51c32c
  *   size: 32188
- * 
+ *
  * If networking/proxy configuration is wrong these tests will fail..
  */
 
@@ -75,7 +75,7 @@ Google will pay students US$100 for every three tasks they successfully complete
 <br />
 You can find out all the details on the <a href="http://code.google.com/p/google-highly-open-participation-moodle/">Moodle/GHOP contest site</a>.</p></p>
 EOD;
-        $this->assertEqual($itemone->get_description(), $description); 
+        $this->assertEqual($itemone->get_description(), $description);
 
 
         // TODO fix this so it uses $CFG by default
index 50791bccb865f81d59398b1ae520b87ad424e3bb..ea4379a4499fc8b411b3b0ad3bd22b1cc69ad64f 100644 (file)
@@ -96,4 +96,4 @@ class ContainsTagWithContents_test extends UnitTestCase {
     }
 }
 
-?>
+
index 9f8301e40a9804c6530c75d43ff706a52243e444..8dd7f563ac1f55948163b6ed7225f259c9fc6807 100644 (file)
@@ -1,4 +1,4 @@
-<?php // $Id$
+<?php
 
 ///////////////////////////////////////////////////////////////////////////
 //                                                                       //
@@ -467,10 +467,10 @@ class string_manager_test extends UnitTestCase {
         // Exercise SUT.
         $this->assertEqual($this->stringmanager->get_list_of_countries(),
                 array('AU' => 'Aussie', 'GB' => 'Royaume-Uni'));
-        
+
         // Tear down.
         $CFG->allcountrycodes = $oldlist;
     }
 }
 
-?>
+
index 523ace01fac51a053ff8f739524b474f783ac56d..7bc487bce51ee86af7ec6b8db5f1d35178eaf470 100644 (file)
@@ -30,4 +30,4 @@ class UnitTestCaseUsingDatabase_test extends UnitTestCaseUsingDatabase {
     }
 
 }
-?>
+
index d727f618b297551bfca2c5ffa37c5818718bc395..94fcaf56cf6c2cf234a7cad20ec3ce3cf0f7be75 100644 (file)
@@ -116,7 +116,7 @@ class web_test extends UnitTestCase {
         $this->assertEqual("$CFG->wwwroot/admin/report/unittest/$relativeurl1", prepare_url(new moodle_url($relativeurl1)));
         $this->assertEqual("$CFG->wwwroot$relativeurl2", prepare_url(new moodle_url($relativeurl2)));
     }
-    
+
     function test_compare_url() {
         $url1 = new moodle_url('index.php', array('var1' => 1, 'var2' => 2));
         $url2 = new moodle_url('index2.php', array('var1' => 1, 'var2' => 2, 'var3' => 3));
@@ -145,4 +145,4 @@ class web_test extends UnitTestCase {
     }
 }
 
-?>
+
index 51799f68c22e446a9057b696414f2d05c2e0d2e5..6bbbc80f29c7e04da31392371c6f6fa326659ed5 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 
-// This file is part of Moodle - http://moodle.org/ 
-// 
+// This file is part of Moodle - http://moodle.org/
+//
 // Moodle is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 // the Free Software Foundation, either version 3 of the License, or
@@ -11,7 +11,7 @@
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 // GNU General Public License for more details.
-// 
+//
 // You should have received a copy of the GNU General Public License
 // along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 
index 4732788a7d5d22222c57f1f5097081382b3996e4..5c7633ecfa9969eed1b253f2b24efe1944709ca3 100644 (file)
@@ -1,5 +1,3 @@
-$Id$
-
 GLOSSARY FORMAT PLUGINS
 -----------------------