Commit 35c8cfa
committed
Push method code coverage bar to 50 percent
This change adds or update a swath of tests to push method code coverage numbers up.
Yes, method coverage is not super meaningful, but it is one metric that we can use to
ensure at least minimal coverage of this library.
Almost no product changes in here.1 parent 8e6dbf3 commit 35c8cfa
258 files changed
Lines changed: 49288 additions & 2256 deletions
File tree
- src
- main/java/org/kohsuke/github
- test
- java/org/kohsuke/github
- resources/org/kohsuke/github
- AppTest/wiremock
- testCreateAndListDeployments
- __files
- mappings
- testCreateCommitComment
- __files
- mappings
- testEventApi
- __files
- mappings
- testGetDeploymentStatuses
- __files
- mappings
- testIssueWithNoComment
- __files
- mappings
- testTreesRecursive
- __files
- mappings
- tryHook
- __files
- mappings
- CommitTest/wiremock/testQueryCommits
- __files
- mappings
- GHPullRequestTest/wiremock/pullRequestReviewComments
- __files
- mappings
- GHRepositoryTest/wiremock
- listStargazers
- __files
- mappings
- subscription
- __files
- mappings
- GHTreeBuilderTest/wiremock
- testAdd
- __files
- mappings
- testShaEntry
- __files
- mappings
- GitHubTest/wiremock
- getOrgs
- __files
- mappings
- getRepository
- __files
- mappings
- Github2faTest/wiremock/test2faToken
- __files
- mappings
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | 156 | | |
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
162 | 160 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
168 | 167 | | |
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
172 | 171 | | |
173 | 172 | | |
174 | | - | |
175 | | - | |
176 | 173 | | |
177 | 174 | | |
178 | | - | |
179 | 175 | | |
180 | 176 | | |
181 | 177 | | |
182 | 178 | | |
183 | | - | |
184 | | - | |
185 | 179 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | 180 | | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | 181 | | |
196 | 182 | | |
197 | 183 | | |
198 | 184 | | |
199 | 185 | | |
200 | 186 | | |
201 | | - | |
202 | 187 | | |
203 | | - | |
204 | 188 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | 189 | | |
210 | 190 | | |
211 | 191 | | |
| |||
592 | 572 | | |
593 | 573 | | |
594 | 574 | | |
| 575 | + | |
| 576 | + | |
595 | 577 | | |
596 | 578 | | |
597 | 579 | | |
| |||
602 | 584 | | |
603 | 585 | | |
604 | 586 | | |
605 | | - | |
606 | | - | |
607 | | - | |
608 | 587 | | |
609 | 588 | | |
610 | 589 | | |
| |||
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
157 | 170 | | |
158 | 171 | | |
159 | 172 | | |
| |||
192 | 205 | | |
193 | 206 | | |
194 | 207 | | |
195 | | - | |
196 | | - | |
| 208 | + | |
197 | 209 | | |
198 | 210 | | |
199 | 211 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
0 commit comments