Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
F15492910: D11231.id27038.diff
Sat, Apr 12, 7:36 PM
F15491886: D11231.id26974.diff
Sat, Apr 12, 8:36 AM
F15488690: D11231.id27039.diff
Fri, Apr 11, 1:34 AM
F15487627: D11231.id27039.diff
Thu, Apr 10, 3:37 PM
F15482775: D11231.id.diff
Wed, Apr 9, 7:59 AM
F15479201: D11231.diff
Tue, Apr 8, 5:30 AM
F15421172: D11231.id26972.diff
Fri, Mar 21, 9:26 PM
F15409041: D11231.id26974.diff
Wed, Mar 19, 3:00 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.