[vala/0.48] tests: Extend "access virtual signal of interface" test to increase coverage
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] tests: Extend "access virtual signal of interface" test to increase coverage
- Date: Tue, 19 Oct 2021 08:00:25 +0000 (UTC)
commit f405b7533c8356250c393cd85a8d31924fa95657
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Mon Oct 18 12:23:21 2021 +0200
tests: Extend "access virtual signal of interface" test to increase coverage
tests/objects/bug642809.vala | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/tests/objects/bug642809.vala b/tests/objects/bug642809.vala
index 91ba53e48..ca248875f 100644
--- a/tests/objects/bug642809.vala
+++ b/tests/objects/bug642809.vala
@@ -5,7 +5,13 @@ interface Foo : Object {
class Bar : Object, Foo {
}
+class Manam : Object, Foo {
+ public override void virtual_signal () { }
+}
+
void main () {
var bar = new Bar ();
bar.virtual_signal ();
+ var manam = new Manam ();
+ manam.virtual_signal ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]