Lines Matching full:page
14 * Test basic page indexing via addPage
23 // page should be in the entity index
24 $pageIndex = new FileIndex('page');
26 $this->assertNotEmpty($result, 'testpage not found in page.idx');
40 // page entity persists in page.idx but data is cleared
41 $pageIndex = new FileIndex('page');
43 $this->assertNotEmpty($result, 'delpage should persist in page.idx');
53 saveWikiText('old_name', 'Old page content words.', 'Test initialization');
56 // move the page on disk
58 saveWikiText('new_name', 'Old page content words.', 'Renamed');
62 // new page should be indexed
63 $pageIndex = new FileIndex('page');
65 $this->assertNotEmpty($result, 'new_name not found in page.idx after rename');
79 $this->assertFileExists($conf['indexdir'] . '/page.idx');
83 $this->assertFileDoesNotExist($conf['indexdir'] . '/page.idx');