Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed memleaks in importer/exporter tests #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GermanAizek
Copy link

@GermanAizek GermanAizek changed the title Fixed memleaks in importer/exporter test Fixed memleaks in importer/exporter tests Aug 17, 2024
@GermanAizek
Copy link
Author

@luis-pereira

Copy link
Member

@luis-pereira luis-pereira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of your changes should not compile.
Did you compile it ?

p.s. Didn't do a full review.

@@ -246,6 +246,7 @@ void DBusMenuImporterTest::testActionsAreDeletedWhenImporterIs()
//qDebug() << child;
QVERIFY(child.isNull());
}
delete exporter;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not dynamically allocated.

@@ -312,6 +313,9 @@ void DBusMenuImporterTest::testInvisibleItem()
action->setVisible(true);
QTest::qWait(500);
QVERIFY(outputAction->isVisible());

delete importer;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not dynamically allocated.

@@ -312,6 +313,9 @@ void DBusMenuImporterTest::testInvisibleItem()
action->setVisible(true);
QTest::qWait(500);
QVERIFY(outputAction->isVisible());

delete importer;
delete exporter;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not dynamically allocated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants