PHP Class Madcoda\Youtube\Tests\YoutubeTest

Author: Jason Leung ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: madcoda/php-youtube-api

Protected Properties

Property Type Description
$youtube Madcoda\Youtube

Public Methods

Method Description
MalFormURLProvider ( )
setUp ( )
tearDown ( )
testConstructorFail ( )
testConstructorFail2 ( )
testGetActivitiesByChannelId ( )
testGetActivitiesByChannelIdException ( )
testGetChannelById ( )
testGetChannelByName ( )
testGetChannelFromURL ( )
testGetPlaylistById ( )
testGetPlaylistItemsByPlaylistId ( )
testGetPlaylistsByChannelId ( )
testGetVideoInfo ( )
testGetVideosInfo ( )
testInvalidApiKey ( )
testNotFoundAPICall ( ) Test skipped for now, since the API returns Error 500
testNotFoundAPICall2 ( ) Test skipped for now, since the API returns Error 500
testParseVIdException ( )
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

testGetVideoInfo() public method

public testGetVideoInfo ( )

testGetVideosInfo() public method

public testGetVideosInfo ( )

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

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 protected property

protected Youtube,Madcoda $youtube
return Madcoda\Youtube