Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
F13297362: D11231.id27038.diff
Fri, Jun 7, 4:10 AM
F13297111: D11231.id26974.diff
Fri, Jun 7, 1:34 AM
F13296914: D11231.diff
Thu, Jun 6, 10:00 PM
F13296293: D11231.id26972.diff
Thu, Jun 6, 1:53 PM
F13287849: D11231.diff
Tue, Jun 4, 9:24 AM
F13275554: D11231.diff
Fri, May 31, 4:54 AM
F13262298: D11231.diff
Mon, May 27, 1:59 AM
F13247475: D11231.id27039.diff
Thu, May 23, 7:31 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.