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 953b354 commit e70a555
Show file tree
Hide file tree
Showing 3 changed files with 37 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(12372, 20, 233);
test.assertExpectationsWithGitHubAPI(12377, 20, 233);
}
}
35 changes: 35 additions & 0 deletions src/test/resources/oracle/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -19231,6 +19231,41 @@
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Inline Variable",
"description": "Inline Variable ctx : Context in method public consume(rootRelation AnalyzedRelation, context ConsumerContext) : boolean from class io.crate.planner.consumer.QueryAndFetchConsumer",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Inline Variable",
"description": "Inline Variable ctx : Context in method public consume(rootRelation AnalyzedRelation, context ConsumerContext) : boolean from class io.crate.planner.consumer.DistributedGroupByConsumer",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Inline Variable",
"description": "Inline Variable ctx : Context in method public consume(rootRelation AnalyzedRelation, context ConsumerContext) : boolean from class io.crate.planner.consumer.NonDistributedGroupByConsumer",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Inline Variable",
"description": "Inline Variable ctx : Context in method public consume(rootRelation AnalyzedRelation, context ConsumerContext) : boolean from class io.crate.planner.consumer.InsertFromSubQueryConsumer",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Inline Variable",
"description": "Inline Variable ctx : Context in method public consume(rootRelation AnalyzedRelation, context ConsumerContext) : boolean from class io.crate.planner.consumer.ReduceOnCollectorGroupByConsumer",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}],
"refDiffExecutionTime": 3234
}, {
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 @@ -309,7 +309,7 @@ c50064efb325b0c94cc62788b4c8935b7c39ac40, 1, 0, 0
91cdfa1ffd937a4cb01cdc0052874ef7831955e2, 8, 0, 1
563d281b61e9f8748858e911eaa810e981f1e953, 9, 0, 0
f77804dad35c13d9ff96456e85737883cf7ddd99, 34, 0, 0
c7b6a7aa878aabd6400d2df0490e1eb2b810c8f9, 53, 0, 0
c7b6a7aa878aabd6400d2df0490e1eb2b810c8f9, 58, 0, 0
d5f10a4958f5e870680be906689d92d1efb42480, 6, 0, 0
2bd1557bc293cb8c2348374771aad832befbe26f, 2, 0, 0
72b5348307d86b1a118e546c24d97f1ac1895bdb, 73, 0, 1
Expand Down

0 comments on commit e70a555

Please sign in to comment.