Lines Matching refs:pages

18      * Setup - enable and load the include plugin and create the test pages
29 // for testing hidden pages
33 // pages on different levels
50 $pages = array();
54 $pages [] = $file;
58 return $pages;
65 * Test hiding of hidden pages in namespace includes
69 $pages = $this->helper->_get_included_pages('namespace', 'inclhidden:', '', '', $flags);
72 ), $pages);
80 $pages = $this->helper->_get_included_pages('namespace', 'incltest:', '', '', $flags);
83 ), $pages);
85 $pages = $this->helper->_get_included_pages('namespace', 'incltest:', '', '', $flags);
89 ), $pages);
91 $pages = $this->helper->_get_included_pages('namespace', 'incltest:ns', '', '', $flags);
95 ), $pages);
97 $pages = $this->helper->_get_included_pages('namespace', 'incltest:', '', '', $flags);
102 ), $pages);
106 $pages = $this->helper->_get_included_pages('namespace', ':', '', '', $flags);
107 $this->assertEquals(array(array('id' => 'mailinglist', 'exists' => true, 'parent_id' => '')), $pages);
109 $pages = $this->helper->_get_included_pages('namespace', ':', '', '', $flags);
128 // Add pages in namespace wiki
129 $dir = $this->getDirContent(dirname(__FILE__).'/../../../../_test/data/pages/wiki');
137 array_multisort($pages);
138 $this->assertEquals($expected, $pages);
147 $pages = $this->helper->_get_included_pages('namespace', 'inclorder:', '', '', $flags);
154 ), $pages);
157 $pages = $this->helper->_get_included_pages('namespace', 'inclorder:', '', '', $flags);
163 ), $pages);
165 $pages = $this->helper->_get_included_pages('namespace', 'inclorder:', '', '', $flags);
171 ), $pages);
174 $pages = $this->helper->_get_included_pages('namespace', 'inclorder:', '', '', $flags);
180 ), $pages);