Add more tests

This commit is contained in:
James Westman 2021-11-04 00:05:38 -05:00
parent 08a74acb37
commit a4b31f2cb0
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
24 changed files with 89 additions and 8 deletions

View file

@ -0,0 +1,3 @@
using Gtk 4.0;
template TestTemplate : Gtk.NotARealClass {}

View file

@ -0,0 +1 @@
3,25,17,Namespace Gtk does not contain a class called NotARealClass

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
Box {
orientation: diagonal;
}

View file

@ -0,0 +1 @@
4,16,8,diagonal is not a member of Gtk.Orientation

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
Label {
visible: maybe;
}

View file

@ -0,0 +1 @@
4,12,5,Expected 'true' or 'false' for boolean value

View file

@ -0,0 +1,3 @@
using Gtk 4.0;
template TestTemplate : Gtk.Orientable {}

View file

@ -0,0 +1 @@
3,25,14,Gtk.Orientable is not a class

View file

@ -0,0 +1,3 @@
using Gtk 4.0;
template TestTemplate : Adw.ApplicationWindow {}

View file

@ -0,0 +1 @@
3,25,21,Namespace Adw was not imported

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
Label {
not-a-real-property: "Hello, world!";
}

View file

@ -0,0 +1 @@
4,3,19,Class Gtk.Label does not contain a property called not-a-real-property

View file

@ -0,0 +1,5 @@
using Gtk 4.0;
Button {
eaten-by-velociraptors => on_eaten_by_velociraptors();
}

View file

@ -0,0 +1 @@
4,3,22,Class Gtk.Button does not contain a signal called eaten-by-velociraptors

View file

@ -1 +1 @@
2,7,17,Namespace NotARealNamespace-2.0 could not be found
2,7,21,Namespace NotARealNamespace-2.0 could not be found