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