diff options
author | Dr. Michael Lauer <mickey@vanille-media.de> | 2018-02-23 16:27:59 +0100 |
---|---|---|
committer | Rico Tzschichholz <ricotz@ubuntu.com> | 2018-02-23 16:27:59 +0100 |
commit | 75bc6dddb9893607ef913191b91cf8969acf0a99 (patch) | |
tree | 4ce63e86c43f791c9110c294c56971a5bbee9eb4 | |
parent | 32330196c74b66714b1607970d1059fbef533235 (diff) | |
download | vala-75bc6dddb9893607ef913191b91cf8969acf0a99.tar.gz |
tests: Extend "properties" tests to increase coverage
Based on test-case from https://bugzilla.gnome.org/show_bug.cgi?id=683160
-rw-r--r-- | tests/objects/properties.vala | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/objects/properties.vala b/tests/objects/properties.vala index 3035b99d8..1a40e95e0 100644 --- a/tests/objects/properties.vala +++ b/tests/objects/properties.vala @@ -141,6 +141,19 @@ class Maman.Baz : Object, Ibaz { } } +interface Maman.IBiz : Object { + public abstract int number { get; construct; } +} + +abstract class Maman.ABiz : Object, IBiz { + public int number { get; construct; } + public abstract int number2 { get; construct; } +} + +class Maman.Biz : ABiz { + public override int number2 { get; construct; } +} + void main () { Sample.main (); } |