vala-tests r46 - trunk/tests/bugs
- From: juergbi svn gnome org
- To: svn-commits-list gnome org
- Subject: vala-tests r46 - trunk/tests/bugs
- Date: Sat, 25 Oct 2008 07:15:07 +0000 (UTC)
Author: juergbi
Date: Sat Oct 25 07:15:07 2008
New Revision: 46
URL: http://svn.gnome.org/viewvc/vala-tests?rev=46&view=rev
Log:
Fix test case for bug 536863 to really test described bug
Modified:
trunk/tests/bugs/536863.vala
Modified: trunk/tests/bugs/536863.vala
==============================================================================
--- trunk/tests/bugs/536863.vala (original)
+++ trunk/tests/bugs/536863.vala Sat Oct 25 07:15:07 2008
@@ -1,7 +1,7 @@
using GLib;
public class Foo : Object {
- public int property {
+ public int prop {
get; set;
}
@@ -11,7 +11,7 @@
}
public interface Foobar {
- public abstract int property {
+ public abstract int prop {
get; set;
}
@@ -29,8 +29,8 @@
public static void main ( string[] args ) {
Bar b = new Bar ();
- b.property = 3;
- assert(b.property == 3);
+ b.prop = 3;
+ assert(b.prop == 3);
assert(b.get_name () == "Foo");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]