diff options
author | Colin Walters <walters@verbum.org> | 2010-08-19 17:36:38 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2010-08-31 17:24:23 -0400 |
commit | 7c5a7dba08839fbb093ecdbcee4877e21a004c2a (patch) | |
tree | 660d6c1ea6c4f2bfccc7a62868be1b1d0221a870 /test | |
parent | 7d9651997d8bc949bca018ce93a0ae77faea55be (diff) | |
download | gjs-7c5a7dba08839fbb093ecdbcee4877e21a004c2a.tar.gz |
Port to new gobject-introspection tests
Everything is now Regress, and both it and GIMarshallingTests come
in .c form.
Disable the g_utf8_get_char test until gunichar becomes introspectable.
https://bugzilla.gnome.org/show_bug.cgi?id=627435
Diffstat (limited to 'test')
-rw-r--r-- | test/js/testEverythingBasic.js | 3 | ||||
-rw-r--r-- | test/js/testEverythingEncapsulated.js | 3 | ||||
-rw-r--r-- | test/js/testGI.js | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/test/js/testEverythingBasic.js b/test/js/testEverythingBasic.js index 03e0de03..a45a6da4 100644 --- a/test/js/testEverythingBasic.js +++ b/test/js/testEverythingBasic.js @@ -1,4 +1,5 @@ -const Everything = imports.gi.Everything; +// This used to be called "Everything" +const Everything = imports.gi.Regress; if (!('assertEquals' in this)) { /* allow running this test standalone */ imports.lang.copyPublicProperties(imports.jsUnit, this); gjstestRun = function() { return imports.jsUnit.gjstestRun(window); }; diff --git a/test/js/testEverythingEncapsulated.js b/test/js/testEverythingEncapsulated.js index 76d59912..30008ce2 100644 --- a/test/js/testEverythingEncapsulated.js +++ b/test/js/testEverythingEncapsulated.js @@ -1,4 +1,5 @@ -const Everything = imports.gi.Everything; +// This used to be called "Everything" +const Everything = imports.gi.Regress; if (!('assertEquals' in this)) { /* allow running this test standalone */ imports.lang.copyPublicProperties(imports.jsUnit, this); gjstestRun = function() { return imports.jsUnit.gjstestRun(window); }; diff --git a/test/js/testGI.js b/test/js/testGI.js index a800c419..08852ee5 100644 --- a/test/js/testGI.js +++ b/test/js/testGI.js @@ -1,7 +1,8 @@ function testUTF8() { const GLib = imports.gi.GLib; - assertEquals(0x2664, GLib.utf8_get_char("\u2664 utf8")); + // gunichar is temporarily not-introspectable + //assertEquals(0x2664, GLib.utf8_get_char("\u2664 utf8")); } function testThrows() { |