[ Index ] |
PHP Cross Reference of DokuWiki |
[Summary view] [Print] [Text view]
1 <?php 2 3 class common_pagetemplate_test extends DokuWikiTest { 4 5 function test_none(){ 6 global $conf; 7 $conf['sepchar'] = '-'; 8 $data = array( 9 'id' => 'page-id-long', 10 'tpl' => '"@PAGE@" "@!PAGE@" "@!!PAGE@" "@!PAGE!@"', 11 ); 12 $this->assertEquals(parsePageTemplate($data), '"page id long" "Page id long" "Page Id Long" "PAGE ID LONG"'); 13 } 14 } 15 //Setup VIM: ex: et ts=4 :
title
Description
Body
title
Description
Body
title
Description
Body
title
Body