Make WordPress Core


Ignore:
Timestamp:
08/08/2022 11:39:06 PM (4 years ago)
Author:
azaozz
Message:

Build/Test Tools: Add @covers tags to the l10n and i18n tests.

Props pbearne, jrf, hellofromTonya, patopaiar, ironprogrammer, antonvlasenko, SergeyBiryukov, costdev.
See #39265.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/l10n.php

    r53543 r53866  
    1818    /**
    1919     * @ticket 35961
     20     *
     21     * @covers ::_n_noop
    2022     */
    2123    public function test_n_noop() {
     
    3133    /**
    3234     * @ticket 35961
     35     *
     36     * @covers ::_nx_noop
    3337     */
    3438    public function test_nx_noop() {
     
    4549    /**
    4650     * @ticket 35073
     51     *
     52     * @covers ::before_last_bar
    4753     */
    4854    public function test_before_last_bar() {
     
    5460    /**
    5561     * @ticket 35950
     62     *
     63     * @covers ::get_available_languages
    5664     */
    5765    public function test_get_available_languages() {
     
    6876    /**
    6977     * @ticket 35284
     78     *
     79     * @covers ::wp_get_installed_translations
    7080     */
    7181    public function test_wp_get_installed_translations_for_core() {
     
    90100    /**
    91101     * @ticket 35294
     102     *
     103     * @covers ::wp_dropdown_languages
    92104     */
    93105    public function test_wp_dropdown_languages() {
     
    112124    /**
    113125     * @ticket 38632
     126     *
     127     * @covers ::wp_dropdown_languages
    114128     */
    115129    public function test_wp_dropdown_languages_site_default() {
     
    136150    /**
    137151     * @ticket 44494
     152     *
     153     * @covers ::wp_dropdown_languages
    138154     */
    139155    public function test_wp_dropdown_languages_exclude_en_us() {
     
    154170    /**
    155171     * @ticket 38632
     172     *
     173     * @covers ::wp_dropdown_languages
    156174     */
    157175    public function test_wp_dropdown_languages_en_US_selected() {
     
    176194    /**
    177195     * Add site default language to ja_JP in dropdown
     196     *
     197     * @covers ::wp_dropdown_languages
    178198     */
    179199    public function test_wp_dropdown_languages_site_default_ja_JP() {
     
    200220    /**
    201221     * Select dropdown language from de_DE to ja_JP
     222     *
     223     * @covers ::wp_dropdown_languages
    202224     */
    203225    public function test_wp_dropdown_languages_ja_JP_selected() {
     
    247269    /**
    248270     * @ticket 35284
     271     *
     272     * @covers ::wp_get_pomo_file_data
    249273     */
    250274    public function test_wp_get_pomo_file_data() {
     
    273297    /**
    274298     * @ticket 44541
     299     *
     300     * @covers ::the_excerpt
    275301     */
    276302    public function test_length_of_excerpt_should_be_counted_by_words() {
     
    297323    /**
    298324     * @ticket 44541
     325     *
     326     * @covers ::the_excerpt
    299327     */
    300328    public function test_length_of_excerpt_should_be_counted_by_chars() {
     
    321349    /**
    322350     * @ticket 44541
     351     *
     352     * @covers ::the_excerpt
    323353     */
    324354    public function test_length_of_excerpt_should_be_counted_by_chars_in_japanese() {
     
    345375    /**
    346376     * @ticket 44541
     377     *
     378     * @covers ::the_excerpt_rss
    347379     */
    348380    public function test_length_of_excerpt_rss_should_be_counted_by_words() {
     
    369401    /**
    370402     * @ticket 44541
     403     *
     404     * @covers ::the_excerpt_rss
    371405     */
    372406    public function test_length_of_excerpt_rss_should_be_counted_by_chars() {
     
    394428    /**
    395429     * @ticket 44541
     430     *
     431     * @covers ::wp_dashboard_recent_drafts
    396432     */
    397433    public function test_length_of_draft_should_be_counted_by_words() {
     
    418454    /**
    419455     * @ticket 44541
     456     *
     457     * @covers ::wp_dashboard_recent_drafts
    420458     */
    421459    public function test_length_of_draft_should_be_counted_by_chars() {
     
    442480    /**
    443481     * @ticket 44541
     482     *
     483     * @covers ::wp_dashboard_recent_drafts
    444484     */
    445485    public function test_length_of_draft_should_be_counted_by_chars_in_japanese() {
     
    466506    /**
    467507     * @ticket 44541
     508     *
     509     * @covers ::get_comment_excerpt
    468510     */
    469511    public function test_length_of_comment_excerpt_should_be_counted_by_words() {
     
    484526    /**
    485527     * @ticket 44541
     528     *
     529     * @covers ::get_comment_excerpt
    486530     */
    487531    public function test_length_of_comment_excerpt_should_be_counted_by_chars() {
     
    502546    /**
    503547     * @ticket 44541
     548     *
     549     * @covers ::get_comment_excerpt
    504550     */
    505551    public function test_length_of_comment_excerpt_should_be_counted_by_chars_in_Japanese() {
Note: See TracChangeset for help on using the changeset viewer.