#35284 closed enhancement (fixed)
Unit tests for wp_get_pomo_file_data()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | has-unit-tests |
Focuses: | Cc: |
Description
I wrote an unit test for wp_get_pomo_file_data(). I needed also some header information in one of the po-files so I decided to modify the simple.po file too.
Attachments (4)
Change History (11)
#2
@
9 years ago
- Milestone changed from Awaiting Review to 4.5
- Owner set to ocean90
- Status changed from new to reviewing
- Version trunk deleted
#3
@
9 years ago
Attached 35284.2.patch and languages.zip.
The language files (Spanish and British English) need to be copied to tests/phpunit/data/languages
. The total size of them is ~2.7 MB and the test takes also > 650ms..
@swissspidy I remember that you've linked this ticket in another one, do you know which ticket it was?
#4
follow-up:
↓ 5
@
9 years ago
@ocean90 Perhaps you mean #34114 where I mentioned defining the constant like in your patch?
Otherwise I'll search again tomorrow.
Note: See
TracTickets for help on using
tickets.
Tests for wp_get_pomo_file_data and modified simple.po