]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
test/gtktemplate: Use correct class name
authorRico Tzschichholz <ricotz@ubuntu.com>
Tue, 8 Feb 2022 23:05:24 +0000 (00:05 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 16 Feb 2022 17:47:39 +0000 (18:47 +0100)
tests/gtktemplate/gtkcallback-incompatible.test
tests/gtktemplate/gtkcallback-unknown.test
tests/gtktemplate/gtkchild-field-incompatible-type.test
tests/gtktemplate/gtkchild-field-unknown.test
tests/gtktemplate/gtkchild-property-not-automatic.test
tests/gtktemplate/gtkchild-property-unknown.test
tests/gtktemplate/gtkchild-without-gtktemplate.test
tests/gtktemplate/gtktemplate-gtkwidget-subclass.test
tests/gtktemplate/gtktemplate.vala

index 226408ff1149187a4f010de2b199e198159f0480..8a0d309967578fb4295f46b1e7c10c661e84aff8 100644 (file)
@@ -1,7 +1,7 @@
 Invalid Code
 
 [GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
        [GtkCallback]
        void on_clicked_cb (string s) {
        }
index 3158da85e89b3da023ee2dc92fcfd0cf77084b0b..e7d3464e485d8653156a29bc89e53a3c7f1512d5 100644 (file)
@@ -1,7 +1,7 @@
 Invalid Code
 
 [GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
        [GtkCallback]
        void on_unknown_cb (Gtk.Button button) {
        }
index 1ce026135045217441ca0d13dfb037458cb82059..ad867410fcaaaad02c0d9868a4f6fb18752195a0 100644 (file)
@@ -1,7 +1,7 @@
 Invalid Code
 
 [GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
        [GtkChild]
        public unowned Gtk.Box button0;
 }
index 2e23ea0b4636b0a275dc7828d18b6c5818982568..9c6e68ae004b016d7416b3ad796bead80c30be01 100644 (file)
@@ -1,7 +1,7 @@
 Invalid Code
 
 [GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
        [GtkChild]
        public unowned Gtk.Button unknown;
 }
index e46cee57488124e9bcc23eaaf11cba86e57c5208..28329dc2b6cc88273aa5468d657428ed5e45db3d 100644 (file)
@@ -1,7 +1,7 @@
 Invalid Code
 
 [GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
        [GtkChild]
        public unowned Gtk.Button button0 { get { return null; } }
 }
index caa6218f33040302b834be9d352b8515cb6a3ab6..1d6651532931b33a558bc9f758c77072c19a8a6b 100644 (file)
@@ -1,7 +1,7 @@
 Invalid Code
 
 [GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
        [GtkChild]
        public unowned Gtk.Button unknown { get; }
 }
index 33d32ea4e947b1c10f4d5b6508909abcbd4b55ab..49e09c0eda8c2a69a73755c7d3fe59b1e82f3408 100644 (file)
@@ -1,6 +1,6 @@
 Invalid Code
 
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
        [GtkChild]
        public unowned Gtk.Button button0;
 }
index bea1b3b86294e3cfc13cb8630f2ec4b21b407297..55e7424bd99605dc5897eeaca801942b15cc12ff 100644 (file)
@@ -1,7 +1,7 @@
 Invalid Code
 
 [GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : GLib.Object {
+public class GtkTemplateTest : GLib.Object {
 }
 
 void main () {
index fa6317ff0f68ee3e354105845431179dd304e363..737d94fb456edfc7a0f03ec393925ef543606fa6 100644 (file)
@@ -1,5 +1,5 @@
 [GtkTemplate (ui = "/org/example/gtktemplate.ui")]
-public class GtkTemplate : Gtk.ApplicationWindow {
+public class GtkTemplateTest : Gtk.ApplicationWindow {
        [GtkChild]
        public Gtk.Button button0 { get; set; }