PHP Class Tests\Wallabag\ImportBundle\Import\PocketImportTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: wallabag/wallabag

Protected Properties

Property Type Description
$contentProxy
$em
$logHandler
$token
$user

Public Methods

Method Description
testImport ( ) Will sample results from https://getpocket.com/developer/docs/v3/retrieve.
testImportAndMarkAllAsRead ( ) Will sample results from https://getpocket.com/developer/docs/v3/retrieve.
testImportBadResponse ( )
testImportWithExceptionFromGraby ( )
testImportWithRabbit ( ) Will sample results from https://getpocket.com/developer/docs/v3/retrieve.
testImportWithRedis ( ) Will sample results from https://getpocket.com/developer/docs/v3/retrieve.
testInit ( )
testOAuthAuthorize ( )
testOAuthAuthorizeBadResponse ( )
testOAuthRequest ( )
testOAuthRequestBadResponse ( )

Private Methods

Method Description
getPocketImport ( $consumerKey = 'ConsumerKey' )

Method Details

testImport() public method

Will sample results from https://getpocket.com/developer/docs/v3/retrieve.
public testImport ( )

testImportAndMarkAllAsRead() public method

Will sample results from https://getpocket.com/developer/docs/v3/retrieve.

testImportBadResponse() public method

testImportWithExceptionFromGraby() public method

testImportWithRabbit() public method

Will sample results from https://getpocket.com/developer/docs/v3/retrieve.

testImportWithRedis() public method

Will sample results from https://getpocket.com/developer/docs/v3/retrieve.
public testImportWithRedis ( )

testInit() public method

public testInit ( )

testOAuthAuthorize() public method

public testOAuthAuthorize ( )

testOAuthAuthorizeBadResponse() public method

testOAuthRequest() public method

public testOAuthRequest ( )

testOAuthRequestBadResponse() public method

Property Details

$contentProxy protected property

protected $contentProxy

$em protected property

protected $em

$logHandler protected property

protected $logHandler

$token protected property

protected $token

$user protected property

protected $user