Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 8, 12:51 AM
Unknown Object (File)
Sat, Feb 8, 12:50 AM
Unknown Object (File)
Sat, Feb 8, 12:50 AM
Unknown Object (File)
Sat, Feb 8, 12:50 AM
Unknown Object (File)
Sat, Feb 8, 12:50 AM
Unknown Object (File)
Fri, Feb 7, 9:48 AM
Unknown Object (File)
Thu, Jan 30, 7:59 PM
Unknown Object (File)
Thu, Jan 30, 11:09 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.