Commit graph

5 commits

Author SHA1 Message Date
Reedy
c14dd609a7 tests: Move Wikimedia tests into Wikimedia\Tests
Change-Id: I9c64a631b0b4e8e4fef8a72ee0f749d35f918052
2024-02-17 02:09:08 +00:00
Reedy
85396a9c99 tests: Fix @covers and @coversDefaultClass to have leading \
Change-Id: I5629f91387f2ac453ee4341bfe4bba310bd52f03
2024-02-16 22:43:56 +00:00
Amir Sarabadani
5dc9441b1d rdbms: Rename DatabaseMysqlBase to DatabaseMySQL
Now that we merged DatabaseMysqli with DatabaseMysqlBase, there is no
base anymore.

I could have gone with DatabaseMysql, and the naming is not that
consistent in rdbms:
amir@amir-ThinkPad-P1-Gen-3:~/core/includes/libs/rdbms$ find . | grep -i mysql
./platform/MySQLPlatform.php
./field/MySQLField.php
./dbal/MWMySQLPlatform.php
./database/DatabaseMysqlBase.php
./database/DatabaseMysqli.php
./database/position/MySQLPrimaryPos.php
./database/resultwrapper/MysqliResultWrapper.php
./database/replication/MysqlReplicationReporter.php

The majority is MySQL and since it's the correct form, I went with that
instead.

Change-Id: I3ee792f357dda974c855ba24b9b35e72fc73db06
2023-09-13 08:15:08 +01:00
Amir Sarabadani
291258adfd rdbms: Merge DatabaseMysqli into DatabaseMysqlBase
This should have been done long time ago.

Change-Id: I4935b0483a566266e5bc99542478387304843624
2023-08-07 20:37:09 +02:00
Timo Tijhof
702ad20e0a rdbms: move DatabaseFactoryTest to unit/ directory
This was the last remaining test file for libs/rdbms/ outside
either phpunit/integration or phpunit/unit.

Move it to where it belongs to reduce the number of places to look
and avoid mistakes where running a directory appears to result in
meaningful tests but actually runs just this one test.

Change-Id: I8cada26b51bc191dc9b7be4dad7c8abbe107629e
2023-04-10 14:00:14 -07:00
Renamed from tests/phpunit/includes/libs/rdbms/database/DatabaseFactoryTest.php (Browse further)