Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
F15528825: D11231.id26974.diff
Tue, Apr 22, 2:14 PM
F15508963: D11231.diff
Wed, Apr 16, 7:45 AM
F15507975: D11231.id26972.diff
Wed, Apr 16, 12:48 AM
F15505492: D11231.diff
Tue, Apr 15, 3:24 AM
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
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.