Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
F18845781: D11231.diff
Wed, Oct 29, 2:20 PM
F18845231: D11231.id27038.diff
Wed, Oct 29, 10:35 AM
F18844259: D11231.id26972.diff
Wed, Oct 29, 4:18 AM
F18830213: D11231.id27039.diff
Sat, Oct 25, 5:13 AM
F18773112: D11231.id27038.diff
Thu, Oct 9, 7:13 AM
F18772593: D11231.id26972.diff
Thu, Oct 9, 3:13 AM
F18714472: D11231.id.diff
Sep 29 2025, 8:00 AM
F18670682: D11231.id.diff
Sep 25 2025, 1:07 AM
Subscribers

Details

Summary

Some discussion in D11052. Adds a base class for testing phutil libraries.

Test Plan

arc unit

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Add a `PhutilLibraryTestCase` class.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added reviewers: epriestley, btrahan.
epriestley edited edge metadata.
epriestley added inline comments.
src/__tests__/PhutilLibraryTestCase.php
46

Can we new ReflectionClass($this)->getFile() instead? This seems sketchier than that.

This revision is now accepted and ready to land.Jan 6 2015, 2:43 PM
joshuaspence edited edge metadata.

Use ReflectionClass::getFileName()

This revision was automatically updated to reflect the committed changes.