[gjs] [GIMarshallingTest] Disable a few tests



commit dd1e36572040870f74a7e84a80034aeac0dd9d38
Author: Johan Dahlin <johan gnome org>
Date:   Mon Jun 21 21:26:50 2010 -0300

    [GIMarshallingTest] Disable a few tests
    
    Disable a few tests due to https://bugzilla.gnome.org/show_bug.cgi?id=622335

 test/js/testGIMarshalling.js |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 deletions(-)
---
diff --git a/test/js/testGIMarshalling.js b/test/js/testGIMarshalling.js
index 62c05b2..a4a4420 100644
--- a/test/js/testGIMarshalling.js
+++ b/test/js/testGIMarshalling.js
@@ -5,11 +5,14 @@ const Gio = imports.gi.Gio;
 const Lang = imports.lang;
 
 function testGArray() {
-    var array = GIMarshallingTests.garray_int_none_return();
-    assertEquals(-1, array[0]);
-    assertEquals(0, array[1]);
-    assertEquals(1, array[2]);
-    assertEquals(2, array[3]);
+    var array;
+    // Tests disabled due to do g-i typelib compilation bug
+    // https://bugzilla.gnome.org/show_bug.cgi?id=622335
+    //array = GIMarshallingTests.garray_int_none_return();
+    //assertEquals(-1, array[0]);
+    //assertEquals(0, array[1]);
+    //assertEquals(1, array[2]);
+    //assertEquals(2, array[3]);
     array = GIMarshallingTests.garray_utf8_none_return()
     assertEquals("0", array[0]);
     assertEquals("1", array[1]);
@@ -23,7 +26,7 @@ function testGArray() {
     assertEquals("1", array[1]);
     assertEquals("2", array[2]);
 
-    GIMarshallingTests.garray_int_none_in([-1, 0, 1, 2])
+    // GIMarshallingTests.garray_int_none_in([-1, 0, 1, 2])
     // GIMarshallingTests.garray_utf8_none_in(["0", "1", "2"])
 
     array = GIMarshallingTests.garray_utf8_none_out()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]