◆ constructDataProvider()
static WordOnlyMarkdownShapeTest::constructDataProvider |
( |
| ) |
|
|
static |
◆ setUp()
WordOnlyMarkdownShapeTest::setUp |
( |
| ) |
|
|
protected |
◆ stringComplianceDataProvider()
static WordOnlyMarkdownShapeTest::stringComplianceDataProvider |
( |
| ) |
|
|
static |
Definition at line 48 of file WordOnlyMarkdownShapeTest.php.
51 [
"This text has **bold** and _italic_ content",
true],
52 [
"> Quote block is not allowed",
false],
53 [
"Paragraphs\n\nare not allowed.",
false],
54 [
"Line breaks\\\nare not allowed.",
false],
55 [
"Also these \nline breaks are not allowed.",
false]
◆ testGetSupportedStructure()
WordOnlyMarkdownShapeTest::testGetSupportedStructure |
( |
Structure |
$dp_bold, |
|
|
Structure |
$dp_italic |
|
) |
| |
Definition at line 60 of file WordOnlyMarkdownShapeTest.php.
62 $supported_structure = $this->word_only_markdown_shape->getSupportedStructure();
68 $this->assertEquals($exptected, $supported_structure);
◆ testIsRawStringCompliant()
WordOnlyMarkdownShapeTest::testIsRawStringCompliant |
( |
string |
$markdown_string, |
|
|
bool |
$compliance |
|
) |
| |
Definition at line 72 of file WordOnlyMarkdownShapeTest.php.
74 $this->assertEquals($compliance, $this->word_only_markdown_shape->isRawStringCompliant($markdown_string));
◆ $word_only_markdown_shape
The documentation for this class was generated from the following file: