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/test/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/tests/class/test/util/Test_Utils.php

    r22567 r22796  
    2929 * @version $Id$ 
    3030 */ 
    31 class Test_Utils 
    32 { 
     31class Test_Utils { 
    3332 
    3433  /** 
     
    4140   * @return 指定したキーのみを持つ連想配列 
    4241   */ 
    43   public static function mapArray($input_array, $map_keys) 
    44   { 
     42  public static function mapArray($input_array, $map_keys) { 
    4543    $output_array = array(); 
    4644    foreach ($map_keys as $index => $map_key) { 
     
    6058   * @return 指定のキーだけを抜き出した配列 
    6159   */ 
    62   public static function mapCols($input_array, $key) 
    63   { 
     60  public static function mapCols($input_array, $key) { 
    6461    $output_array = array(); 
    6562    foreach ($input_array as $data) { 
     
    7875   * @param new_array 追加要素を持つ配列 
    7976   */ 
    80   public static function array_append(&$orig_array, $new_array) 
    81   { 
     77  public static function array_append(&$orig_array, $new_array) { 
    8278    foreach ($new_array as $element) { 
    8379      $orig_array[] = $element; 
  • branches/version-2_12-dev/tests/class/test/util/User_Utils.php

    r22567 r22796  
    55 * 
    66 */ 
    7 class User_Utils 
    8 { 
     7class User_Utils { 
    98 
    109  /** 
     
    1413   * @param deviceType  端末種別ID 
    1514   */ 
    16   public static function setDeviceType($deviceType) 
    17   { 
     15  public static function setDeviceType($deviceType) { 
    1816    SC_Display_Ex::setDummyDevice($deviceType); 
    1917  } 
     
    2523   * @param isLogin true:ログインしている、false:ログインしていない 
    2624   */ 
    27   public static function setLoginState($isLogin, $customer = null, $objQuery = null) 
    28   { 
     25  public static function setLoginState($isLogin, $customer = null, $objQuery = null) { 
    2926    if (!$isLogin) { 
    3027      $_SESSION['customer']['customer_id'] = null; 
     
    4239   * ユーザ情報を外部から設定しなかった場合のデフォルト値を取得します。 
    4340   */ 
    44   private static function getDefaultCustomer() 
    45   { 
     41  private static function getDefaultCustomer() { 
    4642    $arrValue['customer_id'] = '999999998'; 
    4743    $arrValue['name01'] = '苗字'; 
Note: See TracChangeset for help on using the changeset viewer.