public class PersonaStoreTests : EdsTest.TestCase
{
- private HashSet<string> _capabilities_received;
+ private HashSet<string>? _capabilities_received = null;
public PersonaStoreTests ()
{
this._capabilities_received = new HashSet<string> ();
}
+ public override void tear_down ()
+ {
+ this._capabilities_received = null;
+ base.tear_down ();
+ }
+
public void test_persona_store ()
{
Gee.HashMap<string, Value?> c1 = new Gee.HashMap<string, Value?> ();
public class IndividualPropertiesTests : TpfTest.TestCase
{
private int _test_timeout = 3;
- private HashSet<string> _changes_pending;
+ private HashSet<string>? _changes_pending = null;
public IndividualPropertiesTests ()
{
this._changes_pending = new HashSet<string> ();
}
+ public override void tear_down ()
+ {
+ this._changes_pending = null;
+
+ base.tear_down ();
+ }
+
public void test_individual_properties ()
{
var main_loop = new GLib.MainLoop (null, false);
public class PersonaStoreCapabilitiesTests : TpfTest.TestCase
{
- private HashSet<string> _capabilities_received;
+ private HashSet<string>? _capabilities_received = null;
private int _test_timeout = 3;
public PersonaStoreCapabilitiesTests ()
this._capabilities_received = new HashSet<string> ();
}
+ public override void tear_down ()
+ {
+ this._capabilities_received = null;
+
+ base.tear_down ();
+ }
+
public void test_persona_store_capabilities ()
{
var main_loop = new GLib.MainLoop (null, false);