Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
F13188815: D11231.diff
Sat, May 11, 5:31 AM
F13173539: D11231.id26974.diff
Tue, May 7, 8:05 PM
F13173538: D11231.id26972.diff
Tue, May 7, 8:05 PM
F13173537: D11231.id27038.diff
Tue, May 7, 8:04 PM
Unknown Object (File)
Tue, May 7, 6:40 AM
Unknown Object (File)
Fri, May 3, 8:55 AM
Unknown Object (File)
Thu, Apr 25, 2:42 AM
Unknown Object (File)
Tue, Apr 23, 6:02 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
Branch
master
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 3606
Build 3614: [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
43

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.