Needs work
Project:
SimpleTest
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
4 Mar 2009 at 20:08 UTC
Updated:
21 Sep 2021 at 20:41 UTC
Jump to comment: Most recent
Comments
Comment #2
c960657 commentedI think drupalGetTestFile() and drupalGetTestFiles() should take the same parameters, so the former can be a simple wrapper around the latter. Perhaps drupalGetTestFiles() could take an additional $count parameter.
I don't know why the existing implementation uses stat() rather than filesize(). Using filesize() seems like the obvious choice.
For now, positional parameters is probably fine, but it may be an idea to array-itize the parameters (like it was done in #255551: DX: Array-itize file_scan_directory()'s parameters).
Comment #3
boombatower commentedI might just replace drupalGetTestFiles().
Comment #4
hass commented+
Comment #5
boombatower commentedComment #6
Anonymous (not verified) commented