1<?php 2/** 3 * @group plugin_textrotate 4 * @group plugins 5 */ 6class plugin_textrotate_syntax_test extends DokuWikiTest { 7 8 protected $pluginsEnabled = array( 9 'textrotate' 10 ); 11 public function setup() { 12 parent::setup(); 13 $this->_createPages(); 14 } 15 16 17 public function test_basic_syntax() { 18 $xhtml = p_wiki_xhtml('test:plugin_textrotate'); 19 20 $this->assertContains("<span class='plugin_textrotate_rotated'>textrotate</span>", $xhtml); 21 22 } 23 24 protected function _createPages() { 25 saveWikiText('test:plugin_textrotate', '!!textrotate!!', 'test'); 26 27 } 28} 29