summaryrefslogtreecommitdiffstats
path: root/tests/lib/db.php
Commit message (Collapse)AuthorAgeFilesLines
* Use data provider instead of hand-crafted for loopsMorris Jobke2015-04-181-22/+24
| | | | | * reduces scrutinizer complains * uses PHPUnit functionality
* Add test for UniqueConstraintViolationException on wrong keyJoas Schilling2015-03-101-0/+32
|
* let insertIfNotExist() throw the native DBALException - no need to hide the ↵Thomas Müller2015-03-091-5/+5
| | | | real exception
* Adding unit test which shows insertIfNotExists to fall apart in certain ↵Thomas Müller2015-03-091-11/+36
| | | | situations
* Replace uniqid calls with $this->getUniqueID so tests pass again on windowsJoas Schilling2014-12-031-1/+1
|
* Make root tests extend the \Test\TestCaseJoas Schilling2014-11-191-3/+7
|
* Fix ILIKE without wildcards for oracleRobin Appelman2014-09-181-0/+4
|
* add test case for ILIKE with wildcardRobin Appelman2014-09-161-0/+31
|
* adding ILIKE to AdapterSQLSrvThomas Müller2014-09-161-0/+5
|
* Introduce cross-db ILIKERobin Appelman2014-09-161-0/+15
|
* Merge pull request #7323 from owncloud/Jonny007-MKD-masterLukas Reschke2014-09-091-0/+22
|\ | | | | Update adapter.php
| * add unit testJörn Friedrich Dreyer2014-07-011-0/+22
| |
* | Make MySQL return "number of found rows" instead of number of "affected rows".Andreas Fischer2014-07-161-0/+41
|/
* number as numberBart Visscher2014-02-121-1/+1
|
* Remove all uses of numRows().Andreas Fischer2013-12-211-9/+8
|
* Add unit tests for decimal type usageOliver Gasser2013-12-181-0/+29
|
* add missing quotes + field declarationsThomas Müller2013-12-171-1/+16
|
* Use old school query style that actually works.Andreas Fischer2013-12-121-9/+8
|
* DB tests: Test whether we can insert and read UTF8 data.Andreas Fischer2013-12-121-0/+13
|
* Timestamp test is no longer necessary as we rely on Doctrine and DateTime.Andreas Fischer2013-11-261-38/+0
|
* Compare objects directly. Also use $expected and $actual.Andreas Fischer2013-09-121-6/+6
|
* Add database tests for INSERT/SELECT date format.Andreas Fischer2013-09-121-0/+38
|
* Clean up \OC\Utilkondou2013-08-151-1/+1
| | | | | | | | | | - Use camelCase - Add some phpdoc - Fix some indents - Use some more spacing
* DB: remove invalid assertsRobin Appelman2013-08-021-2/+0
|
* check type, assertgreaterthanJörn Friedrich Dreyer2013-07-291-4/+6
|
* test lastinsertidJörn Friedrich Dreyer2013-07-291-1/+13
|
* Merge branch 'master' into doctrineBart Visscher2013-07-131-14/+14
|\ | | | | | | | | | | | | | | | | Conflicts: 3rdparty lib/db.php lib/setup.php tests/lib/db.php tests/lib/dbschema.php
| * fix insertIfNotExist return value, update doc and corresponding testJörn Friedrich Dreyer2013-07-051-14/+14
| |
| * use assertEquals number of rows in db testsJörn Friedrich Dreyer2013-06-241-4/+4
| |
* | numRows doesn't work with OracleBart Visscher2013-06-241-1/+1
| |
* | Doctrine only returns falseBart Visscher2013-06-241-1/+1
|/
* Merge pull request #3652 from owncloud/fix_fetchrow_usage_for_mdb2Jörn Friedrich Dreyer2013-06-111-2/+2
|\ | | | | fix fetchRow checks to also work with MDB2
| * fix fetchRow checks to also work with MDB2Jörn Friedrich Dreyer2013-06-101-2/+2
| |
* | Merge pull request #3646 from owncloud/introduce_phpunit_timeoutsThomas Müller2013-06-111-0/+3
|\ \ | |/ |/| add timeouts 3/30/90 to phpunit tests
| * raise failed tests from first commit to size @mediumJörn Friedrich Dreyer2013-06-101-0/+3
| |
* | Merge pull request #3653 from owncloud/shorten_identifiers_in_testsThomas Müller2013-06-101-2/+2
|\ \ | | | | | | shorten table identifiers in tests
| * | shorten table identifiers in testsJörn Friedrich Dreyer2013-06-101-2/+2
| |/
* / add missing backticks all over the placeJörn Friedrich Dreyer2013-06-101-11/+11
|/
* drop SimpleTest compatibilityThomas Mueller2013-01-241-20/+20
|
* Swap expected and actual.Thomas Tanghus2012-11-041-1/+1
|
* VCategories: Swap expected and actual in unit tests.Thomas Tanghus2012-11-041-4/+4
|
* Added unit test testinsertIfNotExistDontOverwrite.Thomas Tanghus2012-10-311-0/+37
|
* Added unit tests for OC_DB::insertIfNotExist()Thomas Tanghus2012-10-191-0/+26
|
* Fix the db tests when running all testsBart Visscher2012-10-121-27/+7
|
* Add unit tests for OC_DBBart Visscher2012-10-121-0/+90