Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 2:42 AM
Unknown Object (File)
Tue, Apr 23, 6:02 AM
Unknown Object (File)
Tue, Apr 9, 11:14 AM
Unknown Object (File)
Fri, Apr 5, 11:24 PM
Unknown Object (File)
Fri, Apr 5, 2:21 PM
Unknown Object (File)
Mar 28 2024, 5:35 AM
Unknown Object (File)
Mar 23 2024, 7:02 PM
Unknown Object (File)
Feb 13 2024, 5:11 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.