Changeset 22567 for branches/version-2_12-dev/tests/class/helper/SC_Helper_Purchase/SC_Helper_Purchase_isAddPointTest.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/helper/SC_Helper_Purchase/SC_Helper_Purchase_isAddPointTest.php
r22206 r22567 32 32 * @version $Id$ 33 33 */ 34 class SC_Helper_Purchase_isAddPointTest extends SC_Helper_Purchase_TestBase { 34 class SC_Helper_Purchase_isAddPointTest extends SC_Helper_Purchase_TestBase 35 { 35 36 36 protected function setUp() { 37 protected function setUp() 38 { 37 39 parent::setUp(); 38 40 } 39 41 40 protected function tearDown() { 42 protected function tearDown() 43 { 41 44 parent::tearDown(); 42 45 } 43 46 44 47 ///////////////////////////////////////// 45 public function testIsAddPoint_新規注文の場合_FALSEが返る() { 48 public function testIsAddPoint_新規注文の場合_FALSEが返る() 49 { 46 50 $this->expected = FALSE; 47 51 $this->actual = SC_Helper_Purchase::isAddPoint(ORDER_NEW); … … 50 54 } 51 55 52 public function testIsAddPoint_入金待ちの場合_FALSEが返る() { 56 public function testIsAddPoint_入金待ちの場合_FALSEが返る() 57 { 53 58 $this->expected = FALSE; 54 59 $this->actual = SC_Helper_Purchase::isAddPoint(ORDER_PAY_WAIT); … … 57 62 } 58 63 59 public function testIsAddPoint_入金済みの場合_FALSEが返る() { 64 public function testIsAddPoint_入金済みの場合_FALSEが返る() 65 { 60 66 $this->expected = FALSE; 61 67 $this->actual = SC_Helper_Purchase::isAddPoint(ORDER_PRE_END); … … 64 70 } 65 71 66 public function testIsAddPoint_キャンセルの場合_FALSEが返る() { 72 public function testIsAddPoint_キャンセルの場合_FALSEが返る() 73 { 67 74 $this->expected = FALSE; 68 75 $this->actual = SC_Helper_Purchase::isAddPoint(ORDER_CANCEL); … … 71 78 } 72 79 73 public function testIsAddPoint_取り寄せ中の場合_FALSEが返る() { 80 public function testIsAddPoint_取り寄せ中の場合_FALSEが返る() 81 { 74 82 $this->expected = FALSE; 75 83 $this->actual = SC_Helper_Purchase::isAddPoint(ORDER_BACK_ORDER); … … 78 86 } 79 87 80 public function testIsAddPoint_発送済みの場合_TRUEが返る() { 88 public function testIsAddPoint_発送済みの場合_TRUEが返る() 89 { 81 90 $this->expected = TRUE; 82 91 $this->actual = SC_Helper_Purchase::isAddPoint(ORDER_DELIV); … … 85 94 } 86 95 87 public function testIsAddPoint_その他の場合_FALSEが返る() { 96 public function testIsAddPoint_その他の場合_FALSEが返る() 97 { 88 98 $this->expected = FALSE; 89 99 $this->actual = SC_Helper_Purchase::isAddPoint(ORDER_PENDING);
Note: See TracChangeset
for help on using the changeset viewer.