Changeset 22796 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetUniqRandomIdTest.php
- Timestamp:
- 2013/05/02 18:11:36 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetUniqRandomIdTest.php
r22567 r22796 33 33 * @version $Id$ 34 34 */ 35 class SC_Utils_sfGetUniqRandomIdTest extends Common_TestCase 36 { 35 class SC_Utils_sfGetUniqRandomIdTest extends Common_TestCase { 37 36 38 37 39 protected function setUp() 40 { 38 protected function setUp() { 41 39 // parent::setUp(); 42 40 } 43 41 44 protected function tearDown() 45 { 42 protected function tearDown() { 46 43 // parent::tearDown(); 47 44 } 48 45 49 46 ///////////////////////////////////////// 50 public function test_prefix指定が無い場合_21文字のランダムな文字列が生成される() 51 { 47 public function test_prefix指定が無い場合_21文字のランダムな文字列が生成される() { 52 48 $output1 = SC_Utils::sfGetUniqRandomId(); 53 49 $output2 = SC_Utils::sfGetUniqRandomId(); … … 58 54 } 59 55 60 public function test_prefix指定がある場合_prefixのあとに21文字のランダムな文字列が生成される() 61 { 56 public function test_prefix指定がある場合_prefixのあとに21文字のランダムな文字列が生成される() { 62 57 $output1 = SC_Utils::sfGetUniqRandomId('hello'); 63 58 $output2 = SC_Utils::sfGetUniqRandomId('hello');
Note: See TracChangeset
for help on using the changeset viewer.