PHP Class Alaouy\Tests\YoutubeTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: alaouy/youtube

Public Properties

Property Type Description
$youtube Alaouy\Youtube\Youtube

Public Methods

Method Description
MalFormURLProvider ( )
setUp ( )
tearDown ( )
testConstructorFail ( )
testConstructorFail2 ( )
testGetActivitiesByChannelId ( )
testGetActivitiesByChannelIdException ( )
testGetChannelById ( )
testGetChannelByName ( )
testGetChannelFromURL ( )
testGetPlaylistById ( )
testGetPlaylistItemsByPlaylistId ( )
testGetPlaylistsByChannelId ( )
testGetPopularVideos ( )
testGetRelatedVideos ( )
testGetVideoInfo ( )
testGetVideoInfoMultiple ( )
testInvalidApiKey ( )
testNotFoundAPICall ( ) Test skipped for now, since the API returns Error 500
testNotFoundAPICall2 ( ) Test skipped for now, since the API returns Error 500
testParseVIdException ( )
testParseVIdFromEmbedURL ( )
testParseVIdFromURLException ( $url )
testParseVIdFromURLFull ( )
testParseVIdFromURLShort ( )
testSearch ( )
testSearchAdvanced ( )
testSearchChannelVideos ( )
testSearchVideos ( )

Method Details

MalFormURLProvider() public method

public MalFormURLProvider ( )

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

testConstructorFail() public method

public testConstructorFail ( )

testConstructorFail2() public method

testGetActivitiesByChannelId() public method

testGetActivitiesByChannelIdException() public method

testGetChannelById() public method

public testGetChannelById ( )

testGetChannelByName() public method

testGetChannelFromURL() public method

testGetPlaylistById() public method

public testGetPlaylistById ( )

testGetPlaylistItemsByPlaylistId() public method

testGetPlaylistsByChannelId() public method

testGetPopularVideos() public method

testGetRelatedVideos() public method

testGetVideoInfo() public method

public testGetVideoInfo ( )

testGetVideoInfoMultiple() public method

testInvalidApiKey() public method

public testInvalidApiKey ( )

testNotFoundAPICall() public method

Test skipped for now, since the API returns Error 500
public testNotFoundAPICall ( )

testNotFoundAPICall2() public method

Test skipped for now, since the API returns Error 500

testParseVIdException() public method

testParseVIdFromEmbedURL() public method

testParseVIdFromURLException() public method

testParseVIdFromURLFull() public method

testParseVIdFromURLShort() public method

testSearch() public method

public testSearch ( )

testSearchAdvanced() public method

public testSearchAdvanced ( )

testSearchChannelVideos() public method

testSearchVideos() public method

public testSearchVideos ( )

Property Details

$youtube public property

public Youtube,Alaouy\Youtube $youtube
return Alaouy\Youtube\Youtube