Lines Matching full:page
16 … saveWikiText($this->old_id, 'Old test content', 'Created old test page for indexer rename test');
25 …$this->assertTrue($this->indexer->renamePage($this->old_id, $newid), 'Renaming the page to a new i…
28 …otEquals($this->indexer->getPID($this->old_id), $oldpid, 'PID for the old page unchanged after ren…
29 … $this->assertEquals($this->indexer->getPID($newid), $oldpid, 'New page has not the old pid.');
31 …('old' => array($newid => 1)), $this->indexer->lookup($query), '"Old" doesn\'t find the new page');
36 saveWikiText($newid, 'Existing content', 'Created page for move_to_existing_page');
42 …$this->assertTrue($this->indexer->renamePage($this->old_id, $newid), 'Renaming the page to an exis…
44 …$this->assertNotEquals($this->indexer->getPID($this->old_id), $oldpid, 'PID for old page unchanged…
45 …indexer->getPID($this->old_id), $existingpid, 'PID for old page is now PID of the existing page.');
46 … $this->assertEquals($this->indexer->getPID($newid), $oldpid, 'New page has not the old pid.');
48 …s(array('existing' => array()), $this->indexer->lookup($query), 'Existing page hasn\'t been delete…
50 …('old' => array($newid => 1)), $this->indexer->lookup($query), '"Old" doesn\'t find the new page');
58 …$this->assertEquals(array(), $this->indexer->lookupKey('mkey', $query), 'Page can still be found u…
60 …$this->assertEquals(array($this->old_id), $this->indexer->lookupKey('mkey', $query), 'Page can\'t …
66 saveWikiText('newvalue', 'Test page', '');
70 saveWikiText('oldvalue', 'Test page', '');
76 …$this->assertEquals(array(), $this->indexer->lookupKey('mkey', $query), 'Page can still be found u…
79 … $this->assertContains($this->old_id, $result, 'Page with both values can\'t be found anymore');
80 $this->assertContains('newvalue', $result, 'Page with new value can\'t be found anymore');
81 …$this->assertContains('oldvalue', $result, 'Page with only the old value can\'t be found anymore');