Delete UIDGenerator cache files after unit tests
authorBryan Davis <bd808@wikimedia.org>
Thu, 27 Mar 2014 22:13:47 +0000 (16:13 -0600)
committerBryanDavis <bdavis@wikimedia.org>
Wed, 2 Apr 2014 23:58:28 +0000 (23:58 +0000)
commite68e48c0509071918582dc62ddb1e58d80415639
tree9e2b4887d68e82298fa2aa2cbf31d9e0c9570508
parent49abc169d7446a7e5cbf63ba2148409c13357703
Delete UIDGenerator cache files after unit tests

Add a UIDGenerator::unitTestTearDown() method that can find an delete
cache files created by UIDGenerator. Call that cleanup method from the
tearDown() method of the UIDGenerator unit tests.

Bug: 44850
Change-Id: If342586d93bbc2a926af2dc388325dcb7c345e37
includes/utils/UIDGenerator.php
tests/phpunit/includes/utils/UIDGeneratorTest.php