PHP Class Eccube\Tests\Repository\MemberRepositoryTest

Author: Kentaro Ohkouchi
Inheritance: extends Eccube\Tests\EccubeTestCase
Show file Open project: ec-cube/ec-cube

Protected Properties

Property Type Description
$Member

Public Methods

Method Description
setUp ( )
testCreateSalt ( )
testDelete ( )
testDeleteWithException ( )
testDown ( )
testDownWithException ( )
testEncryptPassword ( )
testLoadUserByUsername ( )
testLoadUserByUsernameSetSameRecord ( ) loadUserByUsername内のgetNullOrSingleResultが正しい値を返却するかを確認する ※getNullOrSingleResultは「NonUniqueResultException」をスローするが > > 同一IDのデーターを投入→取得した際にエラーがでないか確認を行う 投入データーは、同一レコード2件 2件のデータを投入しょうとしているが、本ケースでは、LoginIdがプライマリーキーのために > > 重複データーは作成されない 重複データーが作成されなければ、getNullOrSingleResultは「NonUniqueResultException」を > > スローしないため、重複データーが登録されない事、同一プライマリーをflushしてもエラーが > > 発生しない事を確認 結果としては、一件のレコードをかえされる事を期待
testLoadUserByUsernameWithException ( )
testRefreshUser ( )
testRefreshUserWithException ( )
testSave ( )
testSaveWithException ( )
testSaveWithRankNull ( )
testSupportedClass ( )
testUp ( )
testUpWithException ( )

Method Details

setUp() public method

public setUp ( )

testCreateSalt() public method

public testCreateSalt ( )

testDelete() public method

public testDelete ( )

testDeleteWithException() public method

testDown() public method

public testDown ( )

testDownWithException() public method

testEncryptPassword() public method

public testEncryptPassword ( )

testLoadUserByUsername() public method

testLoadUserByUsernameSetSameRecord() public method

loadUserByUsername内のgetNullOrSingleResultが正しい値を返却するかを確認する ※getNullOrSingleResultは「NonUniqueResultException」をスローするが > > 同一IDのデーターを投入→取得した際にエラーがでないか確認を行う 投入データーは、同一レコード2件 2件のデータを投入しょうとしているが、本ケースでは、LoginIdがプライマリーキーのために > > 重複データーは作成されない 重複データーが作成されなければ、getNullOrSingleResultは「NonUniqueResultException」を > > スローしないため、重複データーが登録されない事、同一プライマリーをflushしてもエラーが > > 発生しない事を確認 結果としては、一件のレコードをかえされる事を期待

testLoadUserByUsernameWithException() public method

testRefreshUser() public method

public testRefreshUser ( )

testRefreshUserWithException() public method

testSave() public method

public testSave ( )

testSaveWithException() public method

testSaveWithRankNull() public method

testSupportedClass() public method

public testSupportedClass ( )

testUp() public method

public testUp ( )

testUpWithException() public method

public testUpWithException ( )

Property Details

$Member protected property

protected $Member