projects
/
gnome.seed
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tests: Ditch the python test framework, use standard make check with a small
[gnome.seed]
/
tests
/
javascript
/
out-test.js
1
#!/usr/bin/env seed
2
3
testsuite = imports.testsuite
4
Gtk = imports.gi.Gtk
5
6
Gtk.init(Seed.argv)
7
8
w = new Gtk.Window({width_request: 5, height_request: 100})
9
o1 = { }
10
o2 = { }
11
12
w.get_size_request(o1, o2)
13
14
testsuite.assert(o1.value == 5)
15
testsuite.assert(o2.value == 100)