Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
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
Mon, Sep 29, 8:00 AM
F18670682: D11231.id.diff
Sep 25 2025, 1:07 AM
F18664991: D11231.diff
Sep 24 2025, 12:22 AM
F18650387: D11231.id26974.diff
Sep 21 2025, 12:33 AM
F18624197: D11231.diff
Sep 15 2025, 7:16 PM
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.