nextcloud/tests/lib/DB
Morris Jobke 713f684a8b
Adding tests for 4 byte unicode characters
* success on SQLite and Postgres
* failure on MySQL due to the limited charset that only supports up to 3 bytes

Add config option to update charset of mysql to utf8mb4

* fully optional
* requires additional options set in the database

only disable unicode test on mysql

Fixing ctor call

Adding docker based unit test execution for mysql utf8mb4

Add mysqlmb4 test configuration to Jenkinsfile

fix collation on utf8mb4

Properly setup charset and collation in the doctrine connection

Allow files containing 4-byte chars in case the database supports it

During setup of a mysql database we try to detect if charset 'utf8mb4' can be used

Fix mysql settings

Add console command to migrate the charset

Set ROW_FORMAT before setting collation to mb4

Also select tables with wrong collation

Faster MySQL docker

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2017-03-21 16:42:12 -06:00
..
QueryBuilder Add tests 2016-11-02 21:10:51 +01:00
schemDiffData Various database migration fixes (#25209) 2016-06-29 14:54:41 +02:00
ConnectionTest.php Fixed failing test which was ignoring a required (not null) column (#26303) 2017-03-17 00:09:07 -06:00
DBSchemaTest.php remove static:// stream wrapper 2017-01-04 15:57:02 +01:00
LegacyDBTest.php remove static:// stream wrapper 2017-01-04 15:57:02 +01:00
MDB2SchemaManagerTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
MDB2SchemaReaderTest.php Adding tests for 4 byte unicode characters 2017-03-21 16:42:12 -06:00
MigratorTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
MySqlMigrationTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
SchemaDiffTest.php Adding tests for 4 byte unicode characters 2017-03-21 16:42:12 -06:00
SqliteMigrationTest.php Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
testschema.xml Fixed failing test which was ignoring a required (not null) column (#26303) 2017-03-17 00:09:07 -06:00
ts-autoincrement-after.xml Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00
ts-autoincrement-before.xml Move tests/ to PSR-4 (#24731) 2016-05-20 15:38:20 +02:00