Lines Matching full:this

19         $this->setSyntax('md');
24 $this->P->addMode('gfm_emphasis_strong', new GfmEmphasisStrong());
25 $this->P->parse('Foo ***Bar*** Baz');
40 $this->assertCalls($calls, $this->H->calls);
45 $this->P->addMode('gfm_emphasis_strong', new GfmEmphasisStrong());
46 $this->P->parse('***a***');
48 $modes = array_column($this->H->calls, 0);
49 $this->assertContains('emphasis_open', $modes);
50 $this->assertContains('strong_open', $modes);
51 $this->assertContains('strong_close', $modes);
52 $this->assertContains('emphasis_close', $modes);
57 $this->P->addMode('gfm_emphasis_strong', new GfmEmphasisStrong());
58 $this->P->parse('*** foo***');
59 $this->assertNotContains('emphasis_open', array_column($this->H->calls, 0));
64 $this->P->addMode('gfm_emphasis_strong', new GfmEmphasisStrong());
65 $this->P->parse('***foo ***');
66 $this->assertNotContains('emphasis_open', array_column($this->H->calls, 0));
71 $this->P->addMode('gfm_emphasis_strong', new GfmEmphasisStrong());
72 $this->P->parse("***foo\n\nbar***");
73 $this->assertNotContains('emphasis_open', array_column($this->H->calls, 0));
80 // closer), so this mode doesn't fire. It falls through to other
82 $this->P->addMode('gfm_emphasis_strong', new GfmEmphasisStrong());
83 $this->P->parse('****foo****');
84 $this->assertNotContains('emphasis_open', array_column($this->H->calls, 0));
92 $this->P->addMode('gfm_emphasis_strong', new GfmEmphasisStrong());
93 $this->P->parse('***foo**');
94 $this->assertNotContains('emphasis_open', array_column($this->H->calls, 0));
99 $this->assertSame(65, (new GfmEmphasisStrong())->getSort());
104 $this->P->addMode('gfm_emphasis_strong', new GfmEmphasisStrong());
105 $this->P->parse('*** foo ***bar***');
106 $this->assertContains('emphasis_open', array_column($this->H->calls, 0));
107 $this->assertStringContainsString('*** foo ', $this->H->calls[2][1][0]);