Commit Graph

54 Commits (eb1d5fdaf8b077809100b1db48688301be2c19fb)

Author SHA1 Message Date
Stefan Weil 02e226a6b3 tests: Fix typos (found by codespell) 10 years ago
Robin McCorkell 1b2f1cc272 Prevent certain DBs throwing exceptions on same-value updates 10 years ago
Joas Schilling 2a0cda74d4 Use IQueryBuilder::PARAM_* instead of \PDO::PARAM_* 10 years ago
Joas Schilling 065141f6f4 Move casting to IExpressionBuilder 10 years ago
Joas Schilling 7514695399 Fix Oracle comparisons 10 years ago
Joas Schilling bd444ae3c3 Add tests for clob comparisons 10 years ago
Robin Appelman 7ba715d144 fix test 10 years ago
Robin McCorkell 88cd615214 Introduce IDBConnection::setValues() 10 years ago
Morris Jobke 190cc2bb67 Remove OC_DB::getConnection 10 years ago
Morris Jobke 547fbfdb76 Remove OC_DB::dropTable 10 years ago
Joas Schilling 5c0be3b565 Fix the last insert id test by changing to an autoincrement table 10 years ago
Joas Schilling 9f98849306 Add a method to the get "to use" table and column name 10 years ago
Joas Schilling a3391248e4 Add select distinct to the query builder 10 years ago
Joas Schilling f2c7acb3c0 Allow getting the last insert id without much hassle 10 years ago
Thomas Müller 3bb6dcea64 Apply DB group annotation ... 10 years ago
Joas Schilling 1c7d7288c4 Add a method to select a field or value with alias 10 years ago
Joas Schilling 70572c1e3c Allow `set('column', 'null')` to work like in Doctrine 10 years ago
Joas Schilling 5fea6f753e Automatically prefix table names with *PREFIX* unless specified 11 years ago
Thomas Müller 5ed38a75d6 Remove remainings of mssql 11 years ago
Joas Schilling f9071ed5b7 Comment out LIMIT 0 case because of the mixed results 11 years ago
Joas Schilling c9564503c2 Fix tests for setFirstResult and setMaxResults on oracle 11 years ago
Joas Schilling 22849238fb Set a limit until doctrine released a version that fixes Sqlite 11 years ago
Joas Schilling 32cb30cb84 Correctly count the number of items (rowCount is Update/Insert/Delete only) 11 years ago
Joas Schilling 577a7c92e1 Can not test the string, thanks oracle.... 11 years ago
Joas Schilling 516f7e8299 Add unit tests and automatic quoting 11 years ago
Vincent Petry fabdc4ba9d Add unit test for migrator with different prefix 11 years ago
Morris Jobke 6fd1a9563e add proper prefix for migration tests 11 years ago
Andreas Fischer 4569953e5c Clean up test table in Connection Test to prevent unnecessary failures. 11 years ago
Andreas Fischer 91e03f5845 Properly call parent::tearDown() in MDB2SchemaManager::tearDown(). 11 years ago
Robin Appelman b66c0a1631 add unit tests for tableExists and dropTable 11 years ago
Joas Schilling ea4c25609d Replace uniqid calls with $this->getUniqueID so tests pass again on windows 11 years ago
Morris Jobke 75d37b69f6 fix unit tests of mdb2scheamreader 11 years ago
Joas Schilling 6202ca33ba Make remaining files extend the test base 11 years ago
Thomas Müller 5aab98c4bf disable database migration unit tests for MSSQL 11 years ago
Vincent Petry 04c982a96e Fix unit test messing up the transaction on Oracle 12 years ago
Thomas Müller 58472a2660 migration test for sqlite - adding type mapping for 'tinyint unsigned' 12 years ago
Thomas Müller 65c824a2c0 Adding test which breaks because bit and/or enum datatypes are used 12 years ago
Vincent Petry e4f068961e Added test for reserved keywords 12 years ago
Vincent Petry b752aff51d Fix migrator tests to use the correct migrator instances 12 years ago
Vincent Petry ffdc1c2fcf Added unit test for checkMigrate with primary key + autoinc 12 years ago
Thomas Müller fe8bae31dc adding PK to table encryption 12 years ago
Robin Appelman 4d7045e701 Fix unit tests 12 years ago
Robin Appelman b4cee3d4e9 skip tests for oracle 12 years ago
Robin Appelman adeac7aa39 Check sqlite migration on a copy of the database file 12 years ago
Robin Appelman 35550e8d9a Fix migrator for postgres 12 years ago
Robin Appelman 5243562f45 skip migration tests for sqlite 12 years ago
Robin Appelman 0035147be9 Create unique names for temporary indexes 12 years ago
Robin Appelman 9c6a93a87c Add a mechanism to try the database migration on a copy of the tables before running it on the "real" data 12 years ago
Oliver Gasser f0962c99dc Increment number of columns by one 12 years ago
Oliver Gasser cb9e87eced Typo fixed 12 years ago