From: Rico Tzschichholz Date: Tue, 8 Feb 2022 23:05:24 +0000 (+0100) Subject: test/gtktemplate: Use correct class name X-Git-Tag: 0.55.3~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a6972feafd6c09254816486848c8854f99670a8;p=thirdparty%2Fvala.git test/gtktemplate: Use correct class name --- diff --git a/tests/gtktemplate/gtkcallback-incompatible.test b/tests/gtktemplate/gtkcallback-incompatible.test index 226408ff1..8a0d30996 100644 --- a/tests/gtktemplate/gtkcallback-incompatible.test +++ b/tests/gtktemplate/gtkcallback-incompatible.test @@ -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) { } diff --git a/tests/gtktemplate/gtkcallback-unknown.test b/tests/gtktemplate/gtkcallback-unknown.test index 3158da85e..e7d3464e4 100644 --- a/tests/gtktemplate/gtkcallback-unknown.test +++ b/tests/gtktemplate/gtkcallback-unknown.test @@ -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) { } diff --git a/tests/gtktemplate/gtkchild-field-assignment.test b/tests/gtktemplate/gtkchild-field-assignment.test index 4fc71f1d9..7d1538f7c 100644 --- a/tests/gtktemplate/gtkchild-field-assignment.test +++ b/tests/gtktemplate/gtkchild-field-assignment.test @@ -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; diff --git a/tests/gtktemplate/gtkchild-field-incompatible-type.test b/tests/gtktemplate/gtkchild-field-incompatible-type.test index 1ce026135..ad867410f 100644 --- a/tests/gtktemplate/gtkchild-field-incompatible-type.test +++ b/tests/gtktemplate/gtkchild-field-incompatible-type.test @@ -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; } diff --git a/tests/gtktemplate/gtkchild-field-out-assignment.test b/tests/gtktemplate/gtkchild-field-out-assignment.test index 3f82f4251..d062a2ceb 100644 --- a/tests/gtktemplate/gtkchild-field-out-assignment.test +++ b/tests/gtktemplate/gtkchild-field-out-assignment.test @@ -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; diff --git a/tests/gtktemplate/gtkchild-field-ref-assignment.test b/tests/gtktemplate/gtkchild-field-ref-assignment.test index e8dab2e1c..47148d8db 100644 --- a/tests/gtktemplate/gtkchild-field-ref-assignment.test +++ b/tests/gtktemplate/gtkchild-field-ref-assignment.test @@ -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; diff --git a/tests/gtktemplate/gtkchild-field-unknown.test b/tests/gtktemplate/gtkchild-field-unknown.test index 2e23ea0b4..9c6e68ae0 100644 --- a/tests/gtktemplate/gtkchild-field-unknown.test +++ b/tests/gtktemplate/gtkchild-field-unknown.test @@ -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; } diff --git a/tests/gtktemplate/gtkchild-property-assignment.test b/tests/gtktemplate/gtkchild-property-assignment.test index 4905ea87c..85b7df572 100644 --- a/tests/gtktemplate/gtkchild-property-assignment.test +++ b/tests/gtktemplate/gtkchild-property-assignment.test @@ -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; set; } diff --git a/tests/gtktemplate/gtkchild-property-not-automatic.test b/tests/gtktemplate/gtkchild-property-not-automatic.test index e46cee574..28329dc2b 100644 --- a/tests/gtktemplate/gtkchild-property-not-automatic.test +++ b/tests/gtktemplate/gtkchild-property-not-automatic.test @@ -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; } } } diff --git a/tests/gtktemplate/gtkchild-property-unknown.test b/tests/gtktemplate/gtkchild-property-unknown.test index caa6218f3..1d6651532 100644 --- a/tests/gtktemplate/gtkchild-property-unknown.test +++ b/tests/gtktemplate/gtkchild-property-unknown.test @@ -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; } } diff --git a/tests/gtktemplate/gtkchild-without-gtktemplate.test b/tests/gtktemplate/gtkchild-without-gtktemplate.test index 33d32ea4e..49e09c0ed 100644 --- a/tests/gtktemplate/gtkchild-without-gtktemplate.test +++ b/tests/gtktemplate/gtkchild-without-gtktemplate.test @@ -1,6 +1,6 @@ Invalid Code -public class GtkTemplate : Gtk.ApplicationWindow { +public class GtkTemplateTest : Gtk.ApplicationWindow { [GtkChild] public unowned Gtk.Button button0; } diff --git a/tests/gtktemplate/gtktemplate-gtkwidget-subclass.test b/tests/gtktemplate/gtktemplate-gtkwidget-subclass.test index bea1b3b86..55e7424bd 100644 --- a/tests/gtktemplate/gtktemplate-gtkwidget-subclass.test +++ b/tests/gtktemplate/gtktemplate-gtkwidget-subclass.test @@ -1,7 +1,7 @@ Invalid Code [GtkTemplate (ui = "/org/example/gtktemplate.ui")] -public class GtkTemplate : GLib.Object { +public class GtkTemplateTest : GLib.Object { } void main () { diff --git a/tests/gtktemplate/gtktemplate.vala b/tests/gtktemplate/gtktemplate.vala index 3919680e2..74dadb081 100644 --- a/tests/gtktemplate/gtktemplate.vala +++ b/tests/gtktemplate/gtktemplate.vala @@ -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; }