Make WordPress Core

Ticket #39265: q-folder.patch

File q-folder.patch, 7.4 KB (added by pbearne, 4 years ago)

fixed Q folder

  • tests/phpunit/tests/query/commentCount.php

     
    11<?php
    22/**
    33 * @group query
     4 *
     5 * @covers WP_Query
    46 */
    57class Tests_Query_CommentCount extends WP_UnitTestCase {
    68        public static $post_ids = array();
  • tests/phpunit/tests/query/conditionals.php

     
    88 *
    99 * @group query
    1010 * @group rewrite
     11 *
     12 * @covers WP_Query
    1113 */
    1214class Tests_Query_Conditionals extends WP_UnitTestCase {
    1315
  • tests/phpunit/tests/query/date.php

     
    55 *
    66 * @group query
    77 * @group date
     8 *
     9 * @covers WP_Query
    810 */
    911class Tests_Query_Date extends WP_UnitTestCase {
    1012
  • tests/phpunit/tests/query/dateQuery.php

     
    88 * @group query
    99 * @group date
    1010 * @group datequery
     11 *
     12 * @covers WP_Query
    1113 */
    1214class Tests_Query_DateQuery extends WP_UnitTestCase {
    1315
  • tests/phpunit/tests/query/generatePostdata.php

     
    22
    33/**
    44 * @group query
     5 *
    56 * @covers ::generate_postdata
    67 */
    78class Tests_Query_GeneratePostdata extends WP_UnitTestCase {
  • tests/phpunit/tests/query/invalidQueries.php

     
    22
    33/**
    44 * @group query
     5 *
     6 * @covers WP_Query
    57 */
    68class Tests_Query_InvalidQueries extends WP_UnitTestCase {
    79
  • tests/phpunit/tests/query/isTerm.php

     
    99 * @group query
    1010 * @group rewrite
    1111 * @group taxonomy
     12 *
     13 * @covers WP_Query
    1214 */
    1315class Tests_Query_IsTerm extends WP_UnitTestCase {
    1416        protected $tag_id;
  • tests/phpunit/tests/query/metaQuery.php

     
    33/**
    44 * @group query
    55 * @group meta
     6 *
     7 * @covers WP_Query
    68 */
    79class Tests_Query_MetaQuery extends WP_UnitTestCase {
    810        public function test_meta_query_no_key() {
  • tests/phpunit/tests/query/noFoundRows.php

     
    22
    33/**
    44 * @group query
     5 *
     6 * @covers WP_Query
    57 */
    68class Tests_Query_NoFoundRows extends WP_UnitTestCase {
    79        public function test_no_found_rows_default() {
  • tests/phpunit/tests/query/parseQuery.php

     
    22
    33/**
    44 * @group query
     5 *
     6 * @covers WP_Query
    57 */
    68class Tests_Query_ParseQuery extends WP_UnitTestCase {
    79        /**
  • tests/phpunit/tests/query/postStatus.php

     
    22
    33/**
    44 * @group query
     5 *
     6 * @covers WP_Query
    57 */
    68class Tests_Query_PostStatus extends WP_UnitTestCase {
    79        public static $editor_user_id;
  • tests/phpunit/tests/query/results.php

     
    55 * We're testing against a known data set, so we can check that specific posts are included in the output.
    66 *
    77 * @group query
     8 *
     9 * @covers WP_Query
    810 */
    911class Tests_Query_Results extends WP_UnitTestCase {
    1012        protected $q;
  • tests/phpunit/tests/query/search.php

     
    22/**
    33 * @group query
    44 * @group search
     5 *
     6 * @covers WP_Query
    57 */
    68class Tests_Query_Search extends WP_UnitTestCase {
    79        protected $q;
  • tests/phpunit/tests/query/setupPostdata.php

     
    33/**
    44 * @group query
    55 * @covers ::setup_postdata
     6 *
     7 * @covers WP_Query
    68 */
    79class Tests_Query_SetupPostdata extends WP_UnitTestCase {
    810        protected $global_keys = array( 'id', 'authordata', 'currentday', 'currentmonth', 'page', 'pages', 'multipage', 'more', 'numpages' );
  • tests/phpunit/tests/query/stickies.php

     
    44 * Tests related to sticky functionality in WP_Query.
    55 *
    66 * @group query
     7 *
     8 * @covers WP_Query
    79 */
    810class Tests_Query_Stickies extends WP_UnitTestCase {
    911        public static $posts = array();
  • tests/phpunit/tests/query/taxQuery.php

     
    33/**
    44 * @group query
    55 * @group taxonomy
     6 *
     7 * @covers WP_Query
    68 */
    79class Tests_Query_TaxQuery extends WP_UnitTestCase {
    810        public function test_tax_query_single_query_single_term_field_slug() {
  • tests/phpunit/tests/query/vars.php

     
    44 * Tests to make sure query vars are as expected.
    55 *
    66 * @group query
     7 *
     8 * @covers WP_Query
    79 */
    810class Tests_Query_Vars extends WP_UnitTestCase {
    911
  • tests/phpunit/tests/query/verboseRewriteRules.php

     
    55/**
    66 * @group query
    77 * @group rewrite
     8 *
     9 * @covers WP_Query
    810 */
    911class Tests_Query_VerbosePageRules extends Tests_Query_Conditionals {
    1012        function setUp() {