\JGithubPullsTest
Test class for JGithubPulls.
Synopsis
class JGithubPullsTest
extends PHPUnit_Framework_TestCase
{
- // members
- protected JRegistry $options;
- protected JGithubHttp $client;
- protected JGithubPulls $object;
- protected $sampleString;
- protected $errorString;
- // methods
- protected void setUp()
- protected string getMethod()
- public void testCreate()
- public void testCreateFailure()
- public void testCreateComment()
- public void testCreateCommentFailure()
- public void testCreateCommentReply()
- public void testCreateCommentReplyFailure()
- public void testCreateFromIssue()
- public void testCreateFromIssueFailure()
- public void testDeleteComment()
- public void testDeleteCommentFailure()
- public void testEdit()
- public void testEditFailure()
- public void testEditComment()
- public void testEditCommentFailure()
- public void testGet()
- public void testGetFailure()
- public void testGetComment()
- public void testGetCommentFailure()
- public void testGetComments()
- public void testGetCommentsFailure()
- public void testGetCommits()
- public void testGetCommitsFailure()
- public void testGetFiles()
- public void testGetFilesFailure()
- public void testGetList()
- public void testGetListFailure()
- public void testIsMergedTrue()
- public void testIsMergedFalse()
- public void testIsMergedFailure()
- public void testMerge()
- public void testMergeFailure()
Hierarchy
Extends
Members
protected
- $client — JGithubHttp
- $errorString — string
- $object — JGithubPulls
- $options — JRegistry
- $sampleString — string
Methods
protected
- getMethod() — Test...
- setUp() — Sets up the fixture, for example, opens a network connection.
public
- testCreate() — Tests the create method
- testCreateComment() — Tests the createComment method
- testCreateCommentFailure() — Tests the createComment method - failure
- testCreateCommentReply() — Tests the createCommentReply method
- testCreateCommentReplyFailure() — Tests the createCommentReply method - failure
- testCreateFailure() — Tests the create method - failure
- testCreateFromIssue() — Tests the createFromIssue method
- testCreateFromIssueFailure() — Tests the createFromIssue method - failure
- testDeleteComment() — Tests the deleteComment method
- testDeleteCommentFailure() — Tests the deleteComment method - failure
- testEdit() — Tests the edit method
- testEditComment() — Tests the editComment method
- testEditCommentFailure() — Tests the editComment method - failure
- testEditFailure() — Tests the edit method - failure
- testGet() — Tests the get method
- testGetComment() — Tests the getComment method
- testGetCommentFailure() — Tests the getComment method - failure
- testGetComments() — Tests the getComments method
- testGetCommentsFailure() — Tests the getComments method - failure
- testGetCommits() — Tests the getCommits method
- testGetCommitsFailure() — Tests the getCommits method - failure
- testGetFailure() — Tests the get method - failure
- testGetFiles() — Tests the getFiles method
- testGetFilesFailure() — Tests the getFiles method - failure
- testGetList() — Tests the getList method
- testGetListFailure() — Tests the getList method - failure
- testIsMergedFailure() — Tests the isMerged method when the request fails
- testIsMergedFalse() — Tests the isMerged method when the pull request has not been merged
- testIsMergedTrue() — Tests the isMerged method when the pull request has been merged
- testMerge() — Tests the merge method
- testMergeFailure() — Tests the merge method - failure