[wp-trac] [WordPress Trac] #52922: WP_Test_Stream: Add seeking capability for testing streams

WordPress Trac noreply at wordpress.org
Tue Apr 20 03:02:09 UTC 2021


#52922: WP_Test_Stream: Add seeking capability for testing streams
--------------------------------------+-----------------------------
 Reporter:  hellofromTonya            |       Owner:  hellofromTonya
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  5.8
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------------
Changes (by peterwilsoncc):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50771" 50771]:
 {{{
 #!CommitTicketReference repository="" revision="50771"
 Build/Test Tools: Add seeking support to stream test library.

 Introduces seeking to the `WP_Test_Stream` stream wrapper. This allows the
 testing of `wp_getimagesize()` and `wp_read_image_metadata()` among
 others. Includes tests for the latter.

 Props hellofromTonya.
 Fixes #52922.
 See #52826.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52922#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list