#35284 closed enhancement (fixed)
Unit tests for wp_get_pomo_file_data()
| Reported by: | realloc | Owned by: | ocean90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.5 |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | has-unit-tests |
| Cc: | Focuses: |
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)
#3
@
11 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
@
11 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Tests for wp_get_pomo_file_data and modified simple.po