Scope exported/imported objects to the test

Authored by davidedmundson on Dec 19 2017, 3:56 PM.

Description

Scope exported/imported objects to the test

Summary:
m_imported was parented to the TestForeign class, which lasts for all
the tests. This caused an error on teardown.

Test Plan: Ran with ASAN. Finally everything passes!

Reviewers: Plasma, graesslin

Reviewed By: Plasma, graesslin

Subscribers: plasma-devel, Frameworks

Tags: Frameworks, Plasma on Wayland

Differential Revision: https://phabricator.kde.org/D9407

Details

Committed
davidedmundsonDec 19 2017, 3:56 PM
Reviewer
Plasma
Differential Revision
D9407: Scope exported/imported objects to the test
Parents
R127:b13560ceac59: Fix ASAN warning on TestXdgForeign
Branches
Unknown
Tags
Unknown