\JGithubRefsTest
Test class for JGithubGists.
Synopsis
class JGithubRefsTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JGithubHttp $client;
- protected JGithubGists $object;
- protected $sampleString;
- protected $errorString;
- // methods
- protected void setUp()
- public void testGet()
- public void testGetFailure()
- public void testCreate()
- public void testCreateFailure()
- public void testEdit()
- public void testEditFailure()
- public void testGetList()
- public void testGetListFailure()
Hierarchy
Extends
Members
protected
- $client — JGithubHttp
- $errorString — string
- $object — JGithubGists
- $options — JRegistry
- $sampleString — string
Methods
protected
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testCreate() — Tests the create method
- testCreateFailure() — Tests the create method - failure
- testEdit() — Tests the edit method
- testEditFailure() — Tests the edit method - failure
- testGet() — Tests the get method
- testGetFailure() — Tests the get method
- testGetList() — Tests the getList method
- testGetListFailure() — Tests the getList method - failure