Lines Matching full:this

15         $this->setSyntax('md');
20 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
21 $this->P->parse('Foo __Bar__ Baz');
34 $this->assertCalls($calls, $this->H->calls);
39 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
40 $this->P->parse('__x__');
42 $modes = array_column($this->H->calls, 0);
43 $this->assertContains('strong_open', $modes);
44 $this->assertContains('strong_close', $modes);
49 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
50 $this->P->parse('__one two three__');
52 $modes = array_column($this->H->calls, 0);
53 $this->assertContains('strong_open', $modes);
59 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
60 $this->P->parse('foo__bar__');
61 $this->assertNotContains('strong_open', array_column($this->H->calls, 0));
66 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
67 $this->P->parse('__ foo bar__');
68 $this->assertNotContains('strong_open', array_column($this->H->calls, 0));
73 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
74 $this->P->parse('__foo bar __');
75 $this->assertNotContains('strong_open', array_column($this->H->calls, 0));
80 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
81 $this->P->parse('____');
82 $this->assertNotContains('strong_open', array_column($this->H->calls, 0));
88 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
89 $this->P->parse('пристаням__стремятся__');
90 $this->assertNotContains('strong_open', array_column($this->H->calls, 0));
95 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
96 $this->P->parse('foo __für etwas__ bar');
97 $this->assertContains('strong_open', array_column($this->H->calls, 0));
98 $this->assertContains('strong_close', array_column($this->H->calls, 0));
103 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
104 $this->P->parse("__open\n\nclose__");
105 $this->assertNotContains('strong_open', array_column($this->H->calls, 0));
110 $this->assertSame(70, (new GfmStrongUnderscore())->getSort());
118 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
119 $this->P->parse('__x__');
121 $modes = array_column($this->H->calls, 0);
122 $this->assertContains('strong_open', $modes);
123 $this->assertNotContains('gfm_strong_underscore_open', $modes);
128 $this->P->addMode('gfm_strong_underscore', new GfmStrongUnderscore());
129 $this->P->parse('__ foo __bar__');
130 $this->assertContains('strong_open', array_column($this->H->calls, 0));
131 $this->assertStringContainsString('__ foo ', $this->H->calls[2][1][0]);