Ignore:
Timestamp:
2013/02/18 19:09:54 (11 years ago)
Author:
shutta
Message:

#2043 (typo修正・ソース整形・ソースコメントの改善 for 2.12.4)
Zend Framework PHP 標準コーディング規約のコーディングスタイルへ準拠。
classおよびfunctionの開始波括弧「{」のスタイルを修正。

File:
1 edited

Legend:

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

    r22206 r22567  
    3333 * @version $Id$ 
    3434 */ 
    35 class LC_Page_Shopping_LoadPaymentModule_Test extends PHPUnit_Framework_TestCase { 
     35class LC_Page_Shopping_LoadPaymentModule_Test extends PHPUnit_Framework_TestCase  
     36{ 
    3637 
    37     function setUp() { 
     38    function setUp() 
     39    { 
    3840        $this->objQuery =& SC_Query::getSingletonInstance(); 
    3941        $this->objQuery->begin(); 
     
    4143    } 
    4244 
    43     function tearDown() { 
     45    function tearDown() 
     46    { 
    4447        $this->objQuery->rollback(); 
    4548        $this->objPage = null; 
    4649    } 
    4750 
    48     function testGetOrderIdBySession() { 
     51    function testGetOrderIdBySession() 
     52    { 
    4953        $_SESSION['order_id'] = 1; 
    5054        $_GET['order_id'] = 2; 
     
    5761    } 
    5862 
    59     function testGetOrderIdByPOST() { 
     63    function testGetOrderIdByPOST() 
     64    { 
    6065        $_GET['order_id'] = 1; 
    6166        $_POST['order_id'] = 1; 
     
    6772    } 
    6873 
    69     function testGetOrderIdByGET() { 
     74    function testGetOrderIdByGET() 
     75    { 
    7076        $_GET['order_id'] = 2; 
    7177 
     
    7682    } 
    7783 
    78     function testGetOrderIdIsNull() { 
     84    function testGetOrderIdIsNull() 
     85    { 
    7986        $this->assertFalse($this->objPage->getOrderId()); 
    8087    } 
    8188 
    82     function testGetModulePath() { 
     89    function testGetModulePath() 
     90    { 
    8391        $order_id = 10000; 
    8492        $payment_id = 10000; 
     
    92100    } 
    93101 
    94     function testGetModulePathIsFailure() { 
     102    function testGetModulePathIsFailure() 
     103    { 
    95104        $order_id = 10000; 
    96105        $payment_id = 10000; 
     
    104113    } 
    105114 
    106     function verify() { 
     115    function verify() 
     116    { 
    107117        $this->assertEquals($this->expected, $this->actual); 
    108118    } 
    109119 
    110     function setPayment($order_id, $payment_id, $module_path) { 
     120    function setPayment($order_id, $payment_id, $module_path) 
     121    { 
    111122        $this->objQuery->insert('dtb_order', array('order_id' => $order_id, 
    112123                                                   'customer_id' => (int) 0, 
Note: See TracChangeset for help on using the changeset viewer.