Skip to content

Commit

Permalink
Fixed remaining failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Mar 27, 2024
1 parent 62d00fe commit 61ce7ef
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 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(12150, 20, 240);
test.assertExpectationsWithGitHubAPI(12152, 20, 240);
}
}
14 changes: 14 additions & 0 deletions src/test/resources/oracle/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -68232,6 +68232,20 @@
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Rename Variable",
"description": "Rename Variable dummyObject : GraphObjectMap to graphObject : GraphObject in method package handleObject(nodeFactory NodeFactory, relFactory RelationshipFactory, key String, value Object, includeHiddenAndDeleted boolean, publicOnly boolean, level int) : Object from class org.structr.core.graph.CypherQueryCommand",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}, {
"type": "Change Variable Type",
"description": "Change Variable Type dummyObject : GraphObjectMap to graphObject : GraphObject in method package handleObject(nodeFactory NodeFactory, relFactory RelationshipFactory, key String, value Object, includeHiddenAndDeleted boolean, publicOnly boolean, level int) : Object from class org.structr.core.graph.CypherQueryCommand",
"comment": null,
"validation": "TP",
"detectionTools": "RefactoringMiner",
"validators": null
}],
"refDiffExecutionTime": 2025
}, {
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 @@ -53,7 +53,7 @@ e068eb7f484f24dee285d29b8a910d9019592020, 4, 0, 0
e78cda0fcf23de3973b659bc54f58a4e9b1f3bd3, 73, 0, 4
cfe88fe3fbcc6b02ca55cee7b1f4ab13e249edea, 5, 0, 0
44dea1f292933192ea5287d9b3e14a7daaef3c0f, 5, 0, 0
15afd616cba5fb3d432d11a6de0d4f7805b202db, 6, 0, 0
15afd616cba5fb3d432d11a6de0d4f7805b202db, 8, 0, 0
da29a040ebae664274b28117b157044af0f525fa, 18, 0, 0
a5cdd8c4b10a738cb44819d7cc2fee5f5965d4a0, 34, 1, 4
14593c6379445f260baeb5287f618758da6d9952, 75, 0, 0
Expand Down

0 comments on commit 61ce7ef

Please sign in to comment.