\JGithubObjectTest
Test class for JGithub.
Synopsis
class JGithubObjectTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JGithubHttp $client;
- protected JGithubIssues $object;
- // methods
- protected void setUp()
- public array fetchUrlData()
- public void testFetchUrl()
- public void testFetchUrlBasicAuth()
- public void testFetchUrlToken()
Hierarchy
Extends
Members
protected
- $client — JGithubHttp
- $object — JGithubIssues
- $options — JRegistry
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- fetchUrlData() — Data provider method for the fetchUrl method tests.
- testFetchUrl() — Tests the fetchUrl method
- testFetchUrlBasicAuth() — Tests the fetchUrl method with basic authentication data
- testFetchUrlToken() — Tests the fetchUrl method using an oAuth token.