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