Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
F19828226: D11231.id27038.diff
Mon, Mar 9, 5:14 PM
F19810207: D11231.diff
Tue, Mar 3, 6:09 PM
F19539499: D11231.id27038.diff
Jan 21 2026, 7:31 PM
F19522923: D11231.id26972.diff
Jan 17 2026, 12:07 PM
F19513594: D11231.id27038.diff
Jan 13 2026, 2:21 PM
F19097398: D11231.diff
Dec 4 2025, 1:18 PM
F18904740: D11231.diff
Nov 8 2025, 10:54 AM
F18861195: D11231.id.diff
Nov 2 2025, 2:26 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
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3645
Build 3655: [Placeholder Plan] Wait for 30 Seconds

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.