]> khamidou — GitHub mirrors - arcanist.git/commit
Improve the `ArcanistInfrastructureTestCase` unit tests
authorJoshua Spence <josh@joshuaspence.com>
Sat, 5 Jul 2014 15:50:53 +0000 (01:50 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Sat, 5 Jul 2014 15:50:53 +0000 (01:50 +1000)
commit9bac06cf606100f57a7b03e435f09749846ab5f1
tree53fa6243c394f82b29f68aa80ab97732f45b06cd
parentae680d9114cf0279ec07a351bcb4721fcb2e51ef
Improve the `ArcanistInfrastructureTestCase` unit tests

Summary:
Improve the `ArcanistInfrastructureTestCase` unit tests such that they will fail if any of the following conditions are satisfied:

- A symbol referenced in the `__phutil_library_map__.php` file no longer exists.
- A symbol exists in the library but is not referenced within the `__phutil_library_map__.php` file.
- A symbol extends from a different parent symbol than that declared in the `__phutil_library_map.php` file.

Test Plan: See D9824

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9826
src/__tests__/ArcanistInfrastructureTestCase.php