OSDN Git Service

Remove PHP closing tag
[ethna/ethna.git] / test / Plugin / Smarty / Ethna_Plugin_Smarty_modifier_select_Test.php
1 <?php
2 // vim: foldmethod=marker
3 /**
4  *  Ethna_Plugin_Smarty_modifier_select_Test.php
5  *
6  *  @author     Yoshinari Takaoka <takaoka@beatcraft.com>
7  *  @version    $Id$
8  */
9
10 require_once ETHNA_BASE . '/class/Plugin/Smarty/modifier.select.php';
11
12 //{{{    Ethna_Plugin_Smarty_modifier_select_Test.php
13 /**
14  *  Test Case For modifier.select.php
15  *
16  *  @access public
17  */
18 class Ethna_Plugin_Smarty_modifier_select_Test extends Ethna_UnitTestBase
19 {
20     // {{{ test_smarty_modifier_select
21     function test_smarty_modifier_select()
22     {
23         $r = smarty_modifier_select('a', 'b');
24         $this->assertNull($r);
25
26         $r = smarty_modifier_select('a', 'a');
27         $this->assertEqual($r, 'selected="selected"');
28     }
29     // }}}
30 }
31 // }}}
32