Ignore:
Timestamp:
2013/05/02 18:11:36 (11 years ago)
Author:
h_yoshimoto
Message:

#2236 2.12.3リリース以降の2.12-devへのコミット差し戻し

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/test/class/page/shopping/LC_Page_Shopping_LoadPaymentModule_Test.php

    r22567 r22796  
    3333 * @version $Id$ 
    3434 */ 
    35 class LC_Page_Shopping_LoadPaymentModule_Test extends PHPUnit_Framework_TestCase  
    36 { 
     35class LC_Page_Shopping_LoadPaymentModule_Test extends PHPUnit_Framework_TestCase { 
    3736 
    38     function setUp() 
    39     { 
     37    function setUp() { 
    4038        $this->objQuery =& SC_Query::getSingletonInstance(); 
    4139        $this->objQuery->begin(); 
     
    4341    } 
    4442 
    45     function tearDown() 
    46     { 
     43    function tearDown() { 
    4744        $this->objQuery->rollback(); 
    4845        $this->objPage = null; 
    4946    } 
    5047 
    51     function testGetOrderIdBySession() 
    52     { 
     48    function testGetOrderIdBySession() { 
    5349        $_SESSION['order_id'] = 1; 
    5450        $_GET['order_id'] = 2; 
     
    6157    } 
    6258 
    63     function testGetOrderIdByPOST() 
    64     { 
     59    function testGetOrderIdByPOST() { 
    6560        $_GET['order_id'] = 1; 
    6661        $_POST['order_id'] = 1; 
     
    7267    } 
    7368 
    74     function testGetOrderIdByGET() 
    75     { 
     69    function testGetOrderIdByGET() { 
    7670        $_GET['order_id'] = 2; 
    7771 
     
    8276    } 
    8377 
    84     function testGetOrderIdIsNull() 
    85     { 
     78    function testGetOrderIdIsNull() { 
    8679        $this->assertFalse($this->objPage->getOrderId()); 
    8780    } 
    8881 
    89     function testGetModulePath() 
    90     { 
     82    function testGetModulePath() { 
    9183        $order_id = 10000; 
    9284        $payment_id = 10000; 
     
    10092    } 
    10193 
    102     function testGetModulePathIsFailure() 
    103     { 
     94    function testGetModulePathIsFailure() { 
    10495        $order_id = 10000; 
    10596        $payment_id = 10000; 
     
    113104    } 
    114105 
    115     function verify() 
    116     { 
     106    function verify() { 
    117107        $this->assertEquals($this->expected, $this->actual); 
    118108    } 
    119109 
    120     function setPayment($order_id, $payment_id, $module_path) 
    121     { 
     110    function setPayment($order_id, $payment_id, $module_path) { 
    122111        $this->objQuery->insert('dtb_order', array('order_id' => $order_id, 
    123112                                                   'customer_id' => (int) 0, 
Note: See TracChangeset for help on using the changeset viewer.