Dan Poltawski
85b0540605
Merge branch 'wip-MDL-32395-m23' of git://github.com/samhemelryk/moodle
2012-04-16 10:32:09 +08:00
Sam Hemelryk
2a535174c0
MDL-32426 phpunit: Fixed up phpdocs for generator changes
2012-04-16 11:52:56 +12:00
Sam Hemelryk
e3a660a2e7
Merge branch 'MDL-32426-master-1' of git://git.luns.net.uk/moodle
2012-04-16 11:52:12 +12:00
Sam Hemelryk
68c7673088
Merge branch 'MDL-27547' of git://github.com/mouneyrac/moodle
2012-04-16 10:48:15 +12:00
Andrew Robert Nicols
f15d451549
MDL-32426 Add unit test generators for groups and groupings
2012-04-12 15:32:19 +01:00
Eloy Lafuente (stronk7)
7823af0994
MDL-32323 tests: check both deletion with truncate and with delete
2012-04-12 00:13:38 +02:00
Petr Skoda
5a798e7eac
MDL-32323 improve SQL Server test reset performance
2012-04-11 23:21:05 +02:00
Petr Skoda
bd42a2657e
MDL-32323 do try to fetch all other grade objects with existing test fields
2012-04-11 22:56:27 +02:00
Petr Skoda
15db9f7d66
MDL-32323 do try to fetch grades with existing test fields
2012-04-11 22:41:37 +02:00
Petr Skoda
8eaa21e195
MDL-32323 fix issues breaking phpunit tests for sqlsrv driver
2012-04-11 22:14:18 +02:00
Jerome Mouneyrac
bc81eadb19
MDL-27547 When deleting a local plugin containing a built-in service, the built-in service is not deleted
2012-04-11 14:49:14 +08:00
Sam Hemelryk
3211569a6a
Revert "MDL-30843 and MDL-30842 - accessibility compliance: Add <label> for form input text and select tag"
...
This reverts commit f9f281b8fee75c2416d71bae7583fd026b9ccabb.
2012-04-11 17:18:58 +12:00
Dan Poltawski
7a1ed64587
Merge branch 'w15_MDL-32323_m23_phpunit3' of git://github.com/skodak/moodle
2012-04-11 09:32:58 +08:00
Sam Hemelryk
9315a5fb59
MDL-32395 dml: Minor phpdoc fixes
2012-04-11 09:47:50 +12:00
Sam Hemelryk
e19dc11e51
MDL-30843 editor: Fixed up out of place if
2012-04-11 09:22:14 +12:00
Eloy Lafuente (stronk7)
97d00c9f51
MDL-32368 pgsql: bytea_output only available in 9.0 and upwards
2012-04-10 21:32:56 +02:00
Eloy Lafuente (stronk7)
7b74fb7071
MDL-32392 cleanup: adding @todo about unused is_min_version() method
2012-04-10 21:26:00 +02:00
Petr Skoda
4e5ff72ea7
MDL-32323 always verify that database PHPUnit extension is available
2012-04-10 21:15:33 +02:00
Petr Skoda
c691274bf9
MDL-32323 use new loadDataSet in mod_data and fix typos in last commit
2012-04-10 21:07:56 +02:00
Eloy Lafuente (stronk7)
7475638c2a
Merge branch 'w15_MDL-32368_m23_bytea' of git://github.com/skodak/moodle
2012-04-10 20:59:34 +02:00
Petr Skoda
e396e8ed5f
MDL-32323 implement data set loader support in advanced_testcase
2012-04-10 20:58:27 +02:00
Eloy Lafuente (stronk7)
7f3f024d48
MDL-32365 mssql and sqlsrv: introspect metainfo to look for identities
2012-04-10 20:24:05 +02:00
Eloy Lafuente (stronk7)
55edb9416b
MDL-32365 oracle: ensure table has 'before each row' trigger to
...
determine if the 'id' column is sequence based or no
2012-04-10 19:49:34 +02:00
Petr Skoda
d2999716aa
MDL-32323 all our base test case classes should be abstract
2012-04-10 19:03:24 +02:00
Eloy Lafuente (stronk7)
b331269687
Merge branch 'w15_MDL-32365_m23_id' of git://github.com/skodak/moodle
2012-04-10 18:55:33 +02:00
Petr Skoda
39e2e9c41f
MDL-32323 prevent modification of our heavily modified runBare() methods
...
This should help with compatibility of future PHPUnit and it also allows us to improve test reset without breaking existing moodle test cases.
2012-04-10 15:27:14 +02:00
Petr Skoda
920f4efe51
MDL-32323 improve inline docs
2012-04-10 15:27:14 +02:00
Petr Skoda
9571db04d8
MDL_32323 improve test readme
2012-04-10 15:27:14 +02:00
Petr Skoda
95dcf96559
MDL-32323 allow mocking of global $DB
2012-04-10 15:27:13 +02:00
Petr Skoda
ce9f3beb53
MDL-32323 automate transaction handling in test reset
2012-04-10 15:27:13 +02:00
Petr Skoda
3124abe213
MDL-32323 simplify phpunit integration readme
2012-04-10 15:27:13 +02:00
Petr Skoda
713d20918f
MDL-32323 reset state after failed test
2012-04-10 15:27:12 +02:00
Petr Skoda
4594a381e5
MDL-32323 add list of common first and last names + long text
...
Random users now get proper first and last names, course and category descriptions contains longer text. The names can be also used as source of random complex utf-8 strings.
2012-04-10 15:27:11 +02:00
Petr Skoda
b5b10866e2
MDL-32323 require at least PHPUnit 3.6.0
2012-04-10 15:27:11 +02:00
Petr Skoda
c06563c845
MDL-32323 do not pollution config-dist.php with settings that only DML driver devs use
2012-04-10 15:27:10 +02:00
Petr Skoda
7620602cc2
MDL-32323 improve transaction handling in PHPUnit test cases
2012-04-10 15:27:10 +02:00
Petr Skoda
948d46da34
MDL-32323 add grade tests
2012-04-10 15:27:10 +02:00
Petr Skoda
de3d1590ee
MDL-32323 fix PHPUnit diag regression
2012-04-10 15:27:09 +02:00
Petr Skoda
b6b8a19316
MDL-32323 improve PHPUnit related diagnotic messages
2012-04-10 15:27:08 +02:00
Petr Skoda
e10736b3cc
MDL-32323 improve mysql test reset performance
2012-04-10 15:27:08 +02:00
Petr Skoda
e370154157
MDL-32323 make test locking win compatible
2012-04-10 15:27:08 +02:00
Petr Skoda
6c583c75f9
MDL-32323 do lot try to acquire lock before dataroot init
2012-04-10 15:27:07 +02:00
Petr Skoda
4787e466d6
MDL-32323 make sure DDL libs are loaded before starting function db tests
2012-04-10 15:27:06 +02:00
Petr Skoda
2fde539255
MDL-32323 fix PHPUNIT_UTIL constant usage
2012-04-10 15:27:06 +02:00
Petr Skoda
94a994b4fc
MDL-32323 fix installer warning
2012-04-10 15:27:06 +02:00
Petr Skoda
812013b1c1
MDL-32323 reset event handlers in phpunit test reset
2012-04-10 15:27:06 +02:00
Petr Skoda
a0c5affee6
MDL-32323 test detection of changes and improve coding style
2012-04-10 15:27:05 +02:00
Petr Skoda
ab483c0a07
MDL-32323 use auto_increment instead of primary_key for sequence detection and improve coding style
2012-04-10 15:27:05 +02:00
Petr Skoda
219d1a4e72
MDL-32323 improve self-diagnostic messages
2012-04-10 15:27:05 +02:00
Petr Skoda
8b5413ccf2
MDL-32323 rework db reset once more, now with tests
2012-04-10 15:27:05 +02:00