Wordpress/tests/phpunit/includes
Gary Pendergast 9254ae4a72 Blocks: Introduce `WP_Block_Type` and `WP_Block_Type_Registry` classes.
These are the foundational classes allowing blocks to be registered and used throughout WordPress.

This commit also includes the `has_block()` and `has_blocks()` functions, which are required for unit testing these classes.

Merges [43742] from the 5.0 branch to trunk.

Props adamsilverstein, danielbachhuber, desrosj.
Fixes #45097.
See #45109.


git-svn-id: https://develop.svn.wordpress.org/trunk@44108 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-13 09:43:29 +00:00
..
factory Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
bootstrap.php Blocks: Introduce `WP_Block_Type` and `WP_Block_Type_Registry` classes. 2018-12-13 09:43:29 +00:00
class-basic-object.php
class-basic-subclass.php
class-wp-fake-block-type.php Blocks: Introduce `WP_Block_Type` and `WP_Block_Type_Registry` classes. 2018-12-13 09:43:29 +00:00
class-wp-rest-test-search-handler.php REST API: Introduce controller for searching across post types. 2018-12-13 09:37:05 +00:00
exceptions.php
factory.php
functions.php
install.php
mock-fs.php
mock-image-editor.php
mock-mailer.php
object-cache.php
phpunit6-compat.php
plural-form-function.php
speed-trap-listener.php
spy-rest-server.php
testcase-ajax.php
testcase-canonical.php
testcase-rest-api.php
testcase-rest-controller.php REST API: Include permalink_template/generated_slug for Posts 2018-12-12 02:11:22 +00:00
testcase-rest-post-type-controller.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00
testcase-xmlrpc.php
testcase.php
trac.php
utils.php General: PHP7.3 throws an `E_WARNING` when using continue to target a switch 2018-09-23 22:49:02 +00:00
wp-profiler.php