[libgee] Make TestFixture's setup and teardown methods virtual
- From: Didier 'Ptitjes' Villevalois <dvillevalois src gnome org>
- To: svn-commits-list gnome org
- Subject: [libgee] Make TestFixture's setup and teardown methods virtual
- Date: Mon, 27 Jul 2009 20:50:56 +0000 (UTC)
commit 2e53369e775da2a97f082c7b9201b53cf3f2440c
Author: Julien Peeters <contact julienpeeters fr>
Date: Mon Jul 27 22:50:00 2009 +0200
Make TestFixture's setup and teardown methods virtual
tests/testfixture.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/testfixture.vala b/tests/testfixture.vala
index 1ff7f51..861a3b6 100644
--- a/tests/testfixture.vala
+++ b/tests/testfixture.vala
@@ -44,8 +44,8 @@ public abstract class TestFixture: Object {
adaptor.teardown ));
}
- public abstract void setup ();
- public abstract void teardown ();
+ public virtual void setup () {}
+ public virtual void teardown () {}
public TestSuite get_suite () {
return this.suite;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]