Page MenuHomePhabricator

Add a `PhutilLibraryTestCase` class
ClosedPublic

Authored by joshuaspence on Jan 6 2015, 1:37 AM.
Tags
None
Referenced Files
F15283317: D11231.id27038.diff
Tue, Mar 4, 6:46 AM
Unknown Object (File)
Sat, Feb 15, 11:22 PM
Unknown Object (File)
Thu, Feb 13, 9:21 PM
Unknown Object (File)
Feb 8 2025, 12:51 AM
Unknown Object (File)
Feb 8 2025, 12:50 AM
Unknown Object (File)
Feb 8 2025, 12:50 AM
Unknown Object (File)
Feb 8 2025, 12:50 AM
Unknown Object (File)
Feb 8 2025, 12:50 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.