-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b29d416
commit b699043
Showing
3 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/** | ||
* Test case for wp_print_font_faces(). | ||
* | ||
* @package WordPress | ||
* @subpackage Fonts | ||
*/ | ||
|
||
/** | ||
* This code is only needed if the Font API is enabled. | ||
* It should be removed after Font Manager is merged into Gutenberg. | ||
*/ | ||
if ( ! class_exists( 'WP_Font_Face' ) ) { | ||
require_once __DIR__ . '/../../../lib/experimental/fonts/class-wp-font-face.php'; | ||
require_once __DIR__ . '/../../../lib/experimental/fonts/class-wp-font-face-resolver.php'; | ||
require_once __DIR__ . '/../../../lib/experimental/fonts/fonts.php'; | ||
} | ||
|
||
/** | ||
* Test wp_print_font_faces(). | ||
* | ||
* @package WordPress | ||
* @subpackage Fonts | ||
* | ||
* @since X.X.X | ||
* @group fonts | ||
* @covers wp_print_font_faces | ||
*/ | ||
class Tests_Fonts_WPPrintFontFaces extends WP_UnitTestCase { | ||
|
||
} |