Skip to content

Commit

Permalink
Fix Core tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
D8H committed Nov 3, 2024
1 parent d0ce411 commit 48a3ac4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Core/tests/WholeProjectRefactorer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1534,10 +1534,12 @@ TEST_CASE("WholeProjectRefactorer", "[common]") {

// Create the objects container for the events function
gd::ObjectsContainer parametersObjectsContainer;
gd::VariablesContainer parameterVariablesContainer(
gd::VariablesContainer::SourceType::Parameters);
auto projectScopedContainers = gd::ProjectScopedContainers::
MakeNewProjectScopedContainersForFreeEventsFunction(
project, eventsExtension, eventsFunction,
parametersObjectsContainer);
parametersObjectsContainer, parameterVariablesContainer);

// Trigger the refactoring after the renaming of an object
gd::WholeProjectRefactorer::ObjectOrGroupRenamedInEventsFunction(
Expand All @@ -1562,10 +1564,12 @@ TEST_CASE("WholeProjectRefactorer", "[common]") {

// Create the objects container for the events function
gd::ObjectsContainer parametersObjectsContainer;
gd::VariablesContainer parameterVariablesContainer(
gd::VariablesContainer::SourceType::Parameters);
auto projectScopedContainers = gd::ProjectScopedContainers::
MakeNewProjectScopedContainersForFreeEventsFunction(
project, eventsExtension, eventsFunction,
parametersObjectsContainer);
parametersObjectsContainer, parameterVariablesContainer);

// Simulate a variable in ObjectWithMyBehavior, even if this is not
// supported by the editor.
Expand Down

0 comments on commit 48a3ac4

Please sign in to comment.