Skip to content

Commit

Permalink
Update tests after last fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Mar 17, 2024
1 parent 5f34b66 commit 744bdd6
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ public void testAllRefactorings() throws Exception {
GitHistoryRefactoringMinerImpl detector = new GitHistoryRefactoringMinerImpl();
TestBuilder test = new TestBuilder(detector, REPOS, Refactorings.All.getValue());
RefactoringPopulator.feedRefactoringsInstances(Refactorings.All.getValue(), Systems.FSE.getValue(), test);
test.assertExpectationsWithGitHubAPI(12047, 20, 240);
test.assertExpectationsWithGitHubAPI(12050, 20, 240);
}
}
21 changes: 21 additions & 0 deletions src/test/resources/oracle/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -19594,6 +19594,13 @@
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Inline Variable",
"description": "Inline Variable url : URL in method public getServerUrl() : URL from class integration.util.graylog.GraylogControl",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}],
"refDiffExecutionTime": 0
}, {
Expand Down Expand Up @@ -52361,6 +52368,13 @@
"validation": "TP",
"detectionTools": "RefactoringMiner, GumTreeDiff",
"validators": null
}, {
"type": "Inline Variable",
"description": "Inline Variable callContext : CallContext in method protected createCallContext(taskName String, internalTenantContext InternalTenantContext) : CallContext from class org.killbill.billing.payment.core.janitor.CompletionTaskBase",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}],
"refDiffExecutionTime": 1250
}, {
Expand Down Expand Up @@ -56262,6 +56276,13 @@
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Extract Variable",
"description": "Extract Variable sysTray : SysTray in method public install(actions Actions, mainWindow JFrame) : SysTray from class org.neo4j.desktop.ui.SysTray",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}],
"refDiffExecutionTime": 2339
}, {
Expand Down
6 changes: 3 additions & 3 deletions src/test/resources/oracle/expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ a26b61201cd86c9a8773b418d9c84b446e95a601, 58, 0, 4
4712de476aabe69cd762233c9641dd3cf9f8361b, 53, 0, 2
dc199688d69416da58b370ca2aa728e935fc8e0d, 24, 1, 0
77fab3caea4495798a248035f0e928f745c7c2db, 91, 0, 2
d1a6ae2a16ba1d53b1de02eea8745d67c6a1a005, 6, 0, 0
d1a6ae2a16ba1d53b1de02eea8745d67c6a1a005, 7, 0, 0
8d9bedbf96b14beb027ebc1338bc6d5750e1feb5, 223, 0, 4
e0072aac53b3b88de787e7ca653c7e17f9499018, 51, 0, 2
03ece4f24163204d8a3948eb53576f1feaa86a61, 11, 0, 2
Expand Down Expand Up @@ -501,7 +501,7 @@ dd8753cfb0f67db4dde6c5254e2df3104b635dae, 4, 0, 0
66901e86e8bea2b999ed9f33e013fa5ed21507c7, 2, 0, 0
a896b8bf8f7067e41291eb7771deed76b3621fa0, 8, 0, 0
80d3ffb5aafa90992385c17e8338c2cc5def3cec, 2, 0, 0
2ef067fc70055fc4d55c75937303414ddcf07e0e, 26, 0, 2
2ef067fc70055fc4d55c75937303414ddcf07e0e, 27, 0, 2
f50f234b24e6ada29c82ce57830118508bf55d51, 39, 0, 1
e2de877a29217a50afbd142454a330e423d86045, 3, 0, 0
e9efc045fbc6fa893c66a03b72b7eedb388cf96c, 2, 0, 0
Expand Down Expand Up @@ -533,7 +533,7 @@ de7efe40dad0f4bb900c4fffa80ed377745532b3, 2, 0, 0
5cdabae35f0642e9fe243afe12e4c16b3378a150, 5, 0, 0
f25fa3ae35e4a60a2b7f79a88f14d46ce6cebf55, 2, 0, 0
f8d5cf01f123a1d0a65857aa2db0571fe9cd1911, 5, 0, 0
4b5b74b6467a28fb9b7712f8091e4aa61c2d64b6, 27, 0, 0
4b5b74b6467a28fb9b7712f8091e4aa61c2d64b6, 28, 0, 0
9dc3cbd59a20f03406f295a4a8f3b8676dbc939e, 3, 0, 0
abba5d83602c7ae23901bd579ba9fbb7dc36adc0, 27, 0, 4
2252ed3754bff8c39db48d172ac76ac5a4e15359, 1, 0, 0
Expand Down

0 comments on commit 744bdd6

Please sign in to comment.