Skip to content

Commit

Permalink
Update refactoring oracle
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Dec 28, 2024
1 parent 8dc4884 commit d630306
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,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(12371, 20, 233);
test.assertExpectationsWithGitHubAPI(12372, 20, 233);
}
}
7 changes: 7 additions & 0 deletions src/test/resources/oracle/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -22877,6 +22877,13 @@
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Extract Variable",
"description": "Extract Variable fileName : String in method private isSafeFile(uploadFile UploadFile) : boolean from class com.jfinal.upload.MultipartRequest",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}],
"refDiffExecutionTime": 1822
}, {
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/oracle/expected.txt
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ ed966510ccf8441115614e2258aea61df0ea55f5, 7, 0, 0
0ba343846f21649e29ffc600f30a7f3e463fb24c, 15, 0, 0
b0938501f1014cf663e33b44ed5bb9b24d19a358, 4, 0, 0
b7cba6a700d8c5e456cdeffe9c5bf54563eab7d3, 2, 0, 0
881baed894540031bd55e402933bcad28b74ca88, 266, 0, 13
881baed894540031bd55e402933bcad28b74ca88, 267, 0, 13
ab1d1dd78fe53edb50c4ede447e4ac5a55ee2ac9, 1, 0, 0
14a7dd79148f9306dcd2f748b56fd6550e9406ab, 4, 0, 0
5e08a9e8e93a2f117b5fbec9c6d54500d8e99a4d, 1, 0, 0
Expand Down

0 comments on commit d630306

Please sign in to comment.