Changeset 22202 for branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetSearchPageMaxTest.php
- Timestamp:
- 2013/01/05 17:42:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/tests/class/util/SC_Utils/SC_Utils_sfGetSearchPageMaxTest.php
r22140 r22202 2 2 3 3 $HOME = realpath(dirname(__FILE__)) . "/../../../.."; 4 // テスト用に定数を指定5 define('SEARCH_PMAX', 20);6 4 require_once($HOME . "/tests/class/Common_TestCase.php"); 7 5 /* … … 64 62 public function testSfGetSearchPageMax_負の数が指定されている場合_デフォルト値が返る() { 65 63 66 $this->expected = 20;64 $this->expected = SEARCH_PMAX; 67 65 $this->actual = SC_Utils::sfGetSearchPageMax(-50); 68 66 … … 72 70 public function testSfGetSearchPageMax_指定がない場合_デフォルト値が返る() { 73 71 74 $this->expected = 20;72 $this->expected = SEARCH_PMAX; 75 73 $this->actual = SC_Utils::sfGetSearchPageMax(); 76 74
Note: See TracChangeset
for help on using the changeset viewer.