Added base class for testing ORMRow deriving classes and added a mock implementation...
authorjeroendedauw <jeroendedauw@gmail.com>
Fri, 25 May 2012 21:09:29 +0000 (23:09 +0200)
committerjeroendedauw <jeroendedauw@gmail.com>
Mon, 28 May 2012 15:35:05 +0000 (17:35 +0200)
commit298c8b4786344faa7c8bcaf8b61ce5883f0af44a
treef9a4692efb3fc06df45fb98eff816bf5ea70098b
parentdc16ea18a78a7f87bf313c6fe2af6a3605e943ec
Added base class for testing ORMRow deriving classes and added a mock implementation in order to test the abstract parent class itself

Patchset 2: attempt to fix sql error when using sqlite
Patchset 3: for great justice
Patchset 4: sqlite, not postgres... /facepalm
Patchset 5: joy, more sql divergence...
Patchset 7: handle inconsistencies in MWs database abstraction layer

Change-Id: I1948c4ad815008321801c93584eb249c1f597560
includes/db/ORMRow.php
includes/db/ORMTable.php
tests/phpunit/includes/db/ORMRowTest.php [new file with mode: 0644]
tests/phpunit/includes/db/TestORMRowTest.php [new file with mode: 0644]