Lines Matching refs:this
15 $this->pluginsEnabled[] = 'tag';
38 $this->assertTopicRefine(['tagged_page', 'negative_page', 'third_page'], '');
42 $this->assertTopicRefine(['tagged_page', 'third_page'], '-negative_tag');
46 $this->assertTopicRefine(['tagged_page'], 'mytag -negative_tag');
51 $this->assertTopicRefine(['tagged_page'], '+mytag +test2tag');
55 $this->assertTopicRefine(['tagged_page', 'third_page'], '+test2tag third_tag');
59 $this->assertTopicRefine(['tagged_page'], 'mytag +test2tag');
66 $this->hasPages([], $pages, 'Refine with empty input array and "mytag" query: ');
78 $pages = $helper->tagRefine($this->all_pages, $query);
79 $this->hasPages($expected, $pages, 'Refine: '.$query.': ');
81 $this->hasPages($expected, $pages, 'Topic: '.$query.': ');
100 $this->assertTrue($found, $msg_prefix.'Page '.$id.' expected but not found in the result');
104 $this->assertTrue(in_array($page['id'], $expected), $msg_prefix.'Page '.$page['id'].' is in the result but wasn\'t expected');