~unity-team/unity/trusty-1066971

« back to all changes in this revision

Viewing changes to tests/test_gsettings_scopes.cpp

  • Committer: Eleni Maria Stea
  • Date: 2013-11-06 11:21:43 UTC
  • mto: This revision was merged to the branch mainline in revision 3597.
  • Revision ID: elenimaria.stea@canonical.com-20131106112143-zeryl57kwa3oc8gc
added virtual destructors in classes that have virtual methods
to prevent future memory leaks

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
public:
53
53
  TestGSettingsScopes():scope_added(0),scope_removed(0),scopes_reordered(0)
54
54
  {}
 
55
  virtual ~TestGSettingsScopes() {}
55
56
 
56
57
  virtual void SetUp() { Utils::init_gsettings_test_environment(); }
57
58
  virtual void TearDown() { Utils::reset_gsettings_test_environment(); }