Commit Graph

44 Commits (f4dc9e6bf3bf1db1712fde818b5df64516763ce6)

Author SHA1 Message Date
Joas Schilling 87431605b8 Add test for UniqueConstraintViolationException on wrong key 10 years ago
Thomas Müller 89be55a672 let insertIfNotExist() throw the native DBALException - no need to hide the real exception 10 years ago
Thomas Müller b966a4eb17 Adding unit test which shows insertIfNotExists to fall apart in certain situations 10 years ago
Joas Schilling ea4c25609d Replace uniqid calls with $this->getUniqueID so tests pass again on windows 10 years ago
Joas Schilling cb3a598cdb Make root tests extend the \Test\TestCase 10 years ago
Robin Appelman a85f0ae2da Fix ILIKE without wildcards for oracle 11 years ago
Robin Appelman 95815c0b57 add test case for ILIKE with wildcard 11 years ago
Thomas Müller ca35d86c5a adding ILIKE to AdapterSQLSrv 11 years ago
Robin Appelman 1771bfc2f2 Introduce cross-db ILIKE 11 years ago
Andreas Fischer e26612244a Make MySQL return "number of found rows" instead of number of "affected rows". 11 years ago
Jörn Friedrich Dreyer b20018928d add unit test 11 years ago
Bart Visscher addd0fba38 number as number 11 years ago
Andreas Fischer 4bc2a22317 Remove all uses of numRows(). 11 years ago
Oliver Gasser cacb66480b Add unit tests for decimal type usage 11 years ago
Thomas Müller ab4136f432 add missing quotes + field declarations 11 years ago
Andreas Fischer 95dd58bfc0 Use old school query style that actually works. 11 years ago
Andreas Fischer f8d3b7cb6f DB tests: Test whether we can insert and read UTF8 data. 11 years ago
Andreas Fischer 06df3822a0 Timestamp test is no longer necessary as we rely on Doctrine and DateTime. 11 years ago
Andreas Fischer 20b799b2b4 Compare objects directly. Also use $expected and $actual. 12 years ago
Andreas Fischer bd1163b7d5 Add database tests for INSERT/SELECT date format. 12 years ago
kondou 9c5416fe4a Clean up \OC\Util 12 years ago
Robin Appelman ed054e67d6 DB: remove invalid asserts 12 years ago
Jörn Friedrich Dreyer b8bd1e5a81 check type, assertgreaterthan 12 years ago
Jörn Friedrich Dreyer 7e5ae8d780 test lastinsertid 12 years ago
Jörn Friedrich Dreyer 00987feda1 fix insertIfNotExist return value, update doc and corresponding test 12 years ago
Bart Visscher 769212a9a0 numRows doesn't work with Oracle 12 years ago
Bart Visscher b980987e32 Doctrine only returns false 12 years ago
Jörn Friedrich Dreyer 1b97c186b4 use assertEquals number of rows in db tests 12 years ago
Jörn Friedrich Dreyer 875c18b115 fix fetchRow checks to also work with MDB2 12 years ago
Jörn Friedrich Dreyer fc27052887 shorten table identifiers in tests 12 years ago
Jörn Friedrich Dreyer b6f8d2b859 raise failed tests from first commit to size @medium 12 years ago
Jörn Friedrich Dreyer 124f34422c add missing backticks all over the place 12 years ago
Thomas Mueller ef88ceba8c drop SimpleTest compatibility 12 years ago
Thomas Tanghus 88b91a7304 Swap expected and actual. 13 years ago
Thomas Tanghus 7c67d2fdd6 VCategories: Swap expected and actual in unit tests. 13 years ago
Thomas Tanghus b434c20c18 Added unit test testinsertIfNotExistDontOverwrite. 13 years ago
Thomas Tanghus 1c9929d44f Added unit tests for OC_DB::insertIfNotExist() 13 years ago
Sam Tuke 8b01286a5d Merged branch 'master' 13 years ago
Bart Visscher f242e658c3 Fix the db tests when running all tests 13 years ago
Bart Visscher 35442e5474 Add unit tests for OC_DB 13 years ago