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

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

Location:
branches/version-2_12-dev/tests/class/replace
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/tests/class/replace/SC_Display_Ex.php

    r22567 r22796  
    44 * テスト用にSC_Displayクラスを変更してユーザエージェントを自在に設定できるようにしたクラスです。 
    55 */ 
    6 class SC_Display_Ex extends SC_Display 
    7 { 
     6class SC_Display_Ex extends SC_Display { 
    87 
    98  /** テスト用に設定した端末種別 */ 
     
    1615   * @return    integer 端末種別ID 
    1716   */ 
    18   public static function detectDevice($reset = FALSE) 
    19   { 
     17  public static function detectDevice($reset = FALSE) { 
    2018    return self::$dummyDevice; 
    2119  } 
     
    2725   * @param     $deviceType 端末種別ID 
    2826   */ 
    29   public static function setDummyDevice($deviceType) 
    30   { 
     27  public static function setDummyDevice($deviceType) { 
    3128    self::$dummyDevice = $deviceType; 
    3229  } 
  • branches/version-2_12-dev/tests/class/replace/SC_Response_Ex.php

    r22567 r22796  
    44 * テスト用にexitしないSC_Responseクラスです。 
    55 */ 
    6 class SC_Response_Ex extends SC_Response 
    7 { 
     6class SC_Response_Ex extends SC_Response { 
    87 
    98  /** exitしたかどうかを保持するフラグ */ 
     
    1514   * SC_Response::actionExit()をラップし、PHPをexitさせないようにします。 
    1615   */ 
    17   function actionExit() 
    18   { 
     16  function actionExit() { 
    1917    $this->exited = TRUE; 
    2018  } 
     
    2422   * また、リダイレクト先のパスを取得できるようにします。 
    2523   */ 
    26   function sendRedirect($location, $arrQueryString = array(), $inheritQuerySring = false, $useSsl = null) 
    27   { 
     24  function sendRedirect($location, $arrQueryString = array(), $inheritQuerySring = false, $useSsl = null) { 
    2825    $this->exited = TRUE; 
    2926    $this->redirectPath = $location; 
     
    3330   * actionExit()が呼ばれたかどうかを取得します。 
    3431   */ 
    35   public function isExited() 
    36   { 
     32  public function isExited() { 
    3733    return $this->exited; 
    3834  } 
     
    4137   * sendRedirect()で指定されたパスを取得します。  
    4238   */ 
    43   public function getRedirectPath() 
    44   { 
     39  public function getRedirectPath() { 
    4540    return $this->redirectPath; 
    4641  } 
Note: See TracChangeset for help on using the changeset viewer.