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
/
enum.js
1
#!/usr/bin/env seed
2
3
testsuite = imports.testsuite
4
Gtk = imports.gi.Gtk;
5
6
Gtk.init(Seed.argv);
7
8
b = new Gtk.Button()
9
b.relief = Gtk.ReliefStyle.NONE
10
11
testsuite.assert(Gtk.ReliefStyle.NONE == 2)
12
testsuite.assert(b.relief == 2)
13