Property | Type | Description | |
---|---|---|---|
$actual | |||
$expected |
Method | Description | |
---|---|---|
createApplication ( ) | ||
createCustomer ( string $email = null ) : |
Customer オブジェクトを生成して返す. | |
createCustomerAddress ( |
CustomerAddress を生成して返す. | |
createMember ( string $username = null ) : Eccube\Entity\Member | Member オブジェクトを生成して返す. | |
createNonMember ( string $email = null ) : |
非会員の Customer オブジェクトを生成して返す. | |
createOrder ( |
Order オブジェクトを生成して返す. | |
createPageLayout ( ) : Eccube\Entity\PageLayout | PageLayout オブジェクトを生成して返す | |
createPayment ( Eccube\Entity\Delivery $Delivery, string $method, integer $charge, integer $rule_min, integer $rule_max = 999999999 ) : Eccube\Entity\Payment | Payment オプジェクトを生成して返す. | |
createProduct ( string $product_name = null, integer $product_class_num = 3 ) : |
Product オブジェクトを生成して返す. | |
deleteAllRows ( array $tables ) | テーブルのデータを全て削除する. | |
getFaker ( string $locale = 'ja_JP' ) : Faker\Factory\Generator | Faker を生成する. | |
initializeDatabase ( ) | データベースを初期化する. | |
setUp ( ) | Applicaiton を生成しトランザクションを開始する. | |
tearDown ( ) | トランザクションをロールバックする. | |
verify ( string $message = '' ) | Expected と Actual を比較する. |
Method | Description | |
---|---|---|
checkMailCatcherStatus ( ) | MailCatcher の起動状態をチェックする. | |
cleanUpMailCatcherMessages ( ) | MailCatcher のメッセージをすべて削除する. | |
cleanUpProperties ( ) | PHPUnit_* インスタンスのプロパティを初期化する. | |
getMailCatcherMessage ( integer $id ) : object | MailCatcher のメッセージを ID を指定して取得する. | |
getMailCatcherMessages ( ) : array | MailCatcher のメッセージをすべて取得する. | |
initializeMailCatcher ( ) | MailCatcher を初期化する. | |
isSqliteInMemory ( ) | in the case of sqlite in-memory database. | |
parseMailCatcherSource ( object $Message ) : string | MailCatcher のメッセージソースをデコードする. |
protected checkMailCatcherStatus ( ) |
protected cleanUpMailCatcherMessages ( ) |
protected cleanUpProperties ( ) |
public createCustomer ( string $email = null ) : |
||
string | メールアドレス. null の場合は, ランダムなメールアドレスが生成される. | |
return |
public createCustomerAddress ( |
||
$Customer | 対象の Customer インスタンス | |
$is_nonmember | boolean | 非会員の場合 true |
return |
public createMember ( string $username = null ) : Eccube\Entity\Member | ||
$username | string | . null の場合は, ランダムなユーザーIDが生成される. |
return | Eccube\Entity\Member |
public createNonMember ( string $email = null ) : |
||
string | メールアドレス. null の場合は, ランダムなメールアドレスが生成される. | |
return |
public createOrder ( |
||
$Customer | Customer インスタンス | |
return |
public createPageLayout ( ) : Eccube\Entity\PageLayout | ||
return | Eccube\Entity\PageLayout |
public createPayment ( Eccube\Entity\Delivery $Delivery, string $method, integer $charge, integer $rule_min, integer $rule_max = 999999999 ) : Eccube\Entity\Payment | ||
$Delivery | Eccube\Entity\Delivery | デフォルトで設定する配送オブジェクト |
$method | string | 支払い方法名称 |
$charge | integer | 手数料 |
$rule_min | integer | 下限金額 |
$rule_max | integer | 上限金額 |
return | Eccube\Entity\Payment |
public createProduct ( string $product_name = null, integer $product_class_num = 3 ) : |
||
$product_name | string | 商品名. null の場合はランダムな文字列が生成される. |
$product_class_num | integer | 商品規格の生成数 |
return |
public deleteAllRows ( array $tables ) | ||
$tables | array | 削除対象のテーブル名の配列 |
protected getMailCatcherMessage ( integer $id ) : object | ||
$id | integer | メッセージの ID |
return | object | MailCatcher のメッセージ |
protected getMailCatcherMessages ( ) : array | ||
return | array | MailCatcher のメッセージの配列 |
public initializeDatabase ( ) |
protected initializeMailCatcher ( ) |
protected isSqliteInMemory ( ) |
protected parseMailCatcherSource ( object $Message ) : string | ||
$Message | object | MailCatcher のメッセージ |
return | string | デコードされた eml 形式のソース |