@@ -17,7 +17,7 @@ import (
17
17
func Test_GetPullRequest (t * testing.T ) {
18
18
// Verify tool definition once
19
19
mockClient := github .NewClient (nil )
20
- tool , _ := getPullRequest (mockClient , translations .NullTranslationHelper )
20
+ tool , _ := GetPullRequest (mockClient , translations .NullTranslationHelper )
21
21
22
22
assert .Equal (t , "get_pull_request" , tool .Name )
23
23
assert .NotEmpty (t , tool .Description )
@@ -94,7 +94,7 @@ func Test_GetPullRequest(t *testing.T) {
94
94
t .Run (tc .name , func (t * testing.T ) {
95
95
// Setup client with mock
96
96
client := github .NewClient (tc .mockedClient )
97
- _ , handler := getPullRequest (client , translations .NullTranslationHelper )
97
+ _ , handler := GetPullRequest (client , translations .NullTranslationHelper )
98
98
99
99
// Create call request
100
100
request := createMCPRequest (tc .requestArgs )
@@ -129,7 +129,7 @@ func Test_GetPullRequest(t *testing.T) {
129
129
func Test_ListPullRequests (t * testing.T ) {
130
130
// Verify tool definition once
131
131
mockClient := github .NewClient (nil )
132
- tool , _ := listPullRequests (mockClient , translations .NullTranslationHelper )
132
+ tool , _ := ListPullRequests (mockClient , translations .NullTranslationHelper )
133
133
134
134
assert .Equal (t , "list_pull_requests" , tool .Name )
135
135
assert .NotEmpty (t , tool .Description )
@@ -221,7 +221,7 @@ func Test_ListPullRequests(t *testing.T) {
221
221
t .Run (tc .name , func (t * testing.T ) {
222
222
// Setup client with mock
223
223
client := github .NewClient (tc .mockedClient )
224
- _ , handler := listPullRequests (client , translations .NullTranslationHelper )
224
+ _ , handler := ListPullRequests (client , translations .NullTranslationHelper )
225
225
226
226
// Create call request
227
227
request := createMCPRequest (tc .requestArgs )
@@ -259,7 +259,7 @@ func Test_ListPullRequests(t *testing.T) {
259
259
func Test_MergePullRequest (t * testing.T ) {
260
260
// Verify tool definition once
261
261
mockClient := github .NewClient (nil )
262
- tool , _ := mergePullRequest (mockClient , translations .NullTranslationHelper )
262
+ tool , _ := MergePullRequest (mockClient , translations .NullTranslationHelper )
263
263
264
264
assert .Equal (t , "merge_pull_request" , tool .Name )
265
265
assert .NotEmpty (t , tool .Description )
@@ -336,7 +336,7 @@ func Test_MergePullRequest(t *testing.T) {
336
336
t .Run (tc .name , func (t * testing.T ) {
337
337
// Setup client with mock
338
338
client := github .NewClient (tc .mockedClient )
339
- _ , handler := mergePullRequest (client , translations .NullTranslationHelper )
339
+ _ , handler := MergePullRequest (client , translations .NullTranslationHelper )
340
340
341
341
// Create call request
342
342
request := createMCPRequest (tc .requestArgs )
@@ -370,7 +370,7 @@ func Test_MergePullRequest(t *testing.T) {
370
370
func Test_GetPullRequestFiles (t * testing.T ) {
371
371
// Verify tool definition once
372
372
mockClient := github .NewClient (nil )
373
- tool , _ := getPullRequestFiles (mockClient , translations .NullTranslationHelper )
373
+ tool , _ := GetPullRequestFiles (mockClient , translations .NullTranslationHelper )
374
374
375
375
assert .Equal (t , "get_pull_request_files" , tool .Name )
376
376
assert .NotEmpty (t , tool .Description )
@@ -448,7 +448,7 @@ func Test_GetPullRequestFiles(t *testing.T) {
448
448
t .Run (tc .name , func (t * testing.T ) {
449
449
// Setup client with mock
450
450
client := github .NewClient (tc .mockedClient )
451
- _ , handler := getPullRequestFiles (client , translations .NullTranslationHelper )
451
+ _ , handler := GetPullRequestFiles (client , translations .NullTranslationHelper )
452
452
453
453
// Create call request
454
454
request := createMCPRequest (tc .requestArgs )
@@ -486,7 +486,7 @@ func Test_GetPullRequestFiles(t *testing.T) {
486
486
func Test_GetPullRequestStatus (t * testing.T ) {
487
487
// Verify tool definition once
488
488
mockClient := github .NewClient (nil )
489
- tool , _ := getPullRequestStatus (mockClient , translations .NullTranslationHelper )
489
+ tool , _ := GetPullRequestStatus (mockClient , translations .NullTranslationHelper )
490
490
491
491
assert .Equal (t , "get_pull_request_status" , tool .Name )
492
492
assert .NotEmpty (t , tool .Description )
@@ -608,7 +608,7 @@ func Test_GetPullRequestStatus(t *testing.T) {
608
608
t .Run (tc .name , func (t * testing.T ) {
609
609
// Setup client with mock
610
610
client := github .NewClient (tc .mockedClient )
611
- _ , handler := getPullRequestStatus (client , translations .NullTranslationHelper )
611
+ _ , handler := GetPullRequestStatus (client , translations .NullTranslationHelper )
612
612
613
613
// Create call request
614
614
request := createMCPRequest (tc .requestArgs )
@@ -647,7 +647,7 @@ func Test_GetPullRequestStatus(t *testing.T) {
647
647
func Test_UpdatePullRequestBranch (t * testing.T ) {
648
648
// Verify tool definition once
649
649
mockClient := github .NewClient (nil )
650
- tool , _ := updatePullRequestBranch (mockClient , translations .NullTranslationHelper )
650
+ tool , _ := UpdatePullRequestBranch (mockClient , translations .NullTranslationHelper )
651
651
652
652
assert .Equal (t , "update_pull_request_branch" , tool .Name )
653
653
assert .NotEmpty (t , tool .Description )
@@ -735,7 +735,7 @@ func Test_UpdatePullRequestBranch(t *testing.T) {
735
735
t .Run (tc .name , func (t * testing.T ) {
736
736
// Setup client with mock
737
737
client := github .NewClient (tc .mockedClient )
738
- _ , handler := updatePullRequestBranch (client , translations .NullTranslationHelper )
738
+ _ , handler := UpdatePullRequestBranch (client , translations .NullTranslationHelper )
739
739
740
740
// Create call request
741
741
request := createMCPRequest (tc .requestArgs )
@@ -763,7 +763,7 @@ func Test_UpdatePullRequestBranch(t *testing.T) {
763
763
func Test_GetPullRequestComments (t * testing.T ) {
764
764
// Verify tool definition once
765
765
mockClient := github .NewClient (nil )
766
- tool , _ := getPullRequestComments (mockClient , translations .NullTranslationHelper )
766
+ tool , _ := GetPullRequestComments (mockClient , translations .NullTranslationHelper )
767
767
768
768
assert .Equal (t , "get_pull_request_comments" , tool .Name )
769
769
assert .NotEmpty (t , tool .Description )
@@ -851,7 +851,7 @@ func Test_GetPullRequestComments(t *testing.T) {
851
851
t .Run (tc .name , func (t * testing.T ) {
852
852
// Setup client with mock
853
853
client := github .NewClient (tc .mockedClient )
854
- _ , handler := getPullRequestComments (client , translations .NullTranslationHelper )
854
+ _ , handler := GetPullRequestComments (client , translations .NullTranslationHelper )
855
855
856
856
// Create call request
857
857
request := createMCPRequest (tc .requestArgs )
@@ -890,7 +890,7 @@ func Test_GetPullRequestComments(t *testing.T) {
890
890
func Test_GetPullRequestReviews (t * testing.T ) {
891
891
// Verify tool definition once
892
892
mockClient := github .NewClient (nil )
893
- tool , _ := getPullRequestReviews (mockClient , translations .NullTranslationHelper )
893
+ tool , _ := GetPullRequestReviews (mockClient , translations .NullTranslationHelper )
894
894
895
895
assert .Equal (t , "get_pull_request_reviews" , tool .Name )
896
896
assert .NotEmpty (t , tool .Description )
@@ -974,7 +974,7 @@ func Test_GetPullRequestReviews(t *testing.T) {
974
974
t .Run (tc .name , func (t * testing.T ) {
975
975
// Setup client with mock
976
976
client := github .NewClient (tc .mockedClient )
977
- _ , handler := getPullRequestReviews (client , translations .NullTranslationHelper )
977
+ _ , handler := GetPullRequestReviews (client , translations .NullTranslationHelper )
978
978
979
979
// Create call request
980
980
request := createMCPRequest (tc .requestArgs )
@@ -1013,7 +1013,7 @@ func Test_GetPullRequestReviews(t *testing.T) {
1013
1013
func Test_CreatePullRequestReview (t * testing.T ) {
1014
1014
// Verify tool definition once
1015
1015
mockClient := github .NewClient (nil )
1016
- tool , _ := createPullRequestReview (mockClient , translations .NullTranslationHelper )
1016
+ tool , _ := CreatePullRequestReview (mockClient , translations .NullTranslationHelper )
1017
1017
1018
1018
assert .Equal (t , "create_pull_request_review" , tool .Name )
1019
1019
assert .NotEmpty (t , tool .Description )
@@ -1341,7 +1341,7 @@ func Test_CreatePullRequestReview(t *testing.T) {
1341
1341
t .Run (tc .name , func (t * testing.T ) {
1342
1342
// Setup client with mock
1343
1343
client := github .NewClient (tc .mockedClient )
1344
- _ , handler := createPullRequestReview (client , translations .NullTranslationHelper )
1344
+ _ , handler := CreatePullRequestReview (client , translations .NullTranslationHelper )
1345
1345
1346
1346
// Create call request
1347
1347
request := createMCPRequest (tc .requestArgs )
@@ -1384,7 +1384,7 @@ func Test_CreatePullRequestReview(t *testing.T) {
1384
1384
func Test_CreatePullRequest (t * testing.T ) {
1385
1385
// Verify tool definition once
1386
1386
mockClient := github .NewClient (nil )
1387
- tool , _ := createPullRequest (mockClient , translations .NullTranslationHelper )
1387
+ tool , _ := CreatePullRequest (mockClient , translations .NullTranslationHelper )
1388
1388
1389
1389
assert .Equal (t , "create_pull_request" , tool .Name )
1390
1390
assert .NotEmpty (t , tool .Description )
@@ -1496,7 +1496,7 @@ func Test_CreatePullRequest(t *testing.T) {
1496
1496
t .Run (tc .name , func (t * testing.T ) {
1497
1497
// Setup client with mock
1498
1498
client := github .NewClient (tc .mockedClient )
1499
- _ , handler := createPullRequest (client , translations .NullTranslationHelper )
1499
+ _ , handler := CreatePullRequest (client , translations .NullTranslationHelper )
1500
1500
1501
1501
// Create call request
1502
1502
request := createMCPRequest (tc .requestArgs )
0 commit comments