[gjs: 4/9] tests: Add skipped tests for new Regress functionality



commit b5fb0ece360ab00ee12ce5a64c8bc4fce7519a22
Author: Philip Chimento <philip chimento gmail com>
Date:   Sun Aug 19 16:58:57 2018 -0400

    tests: Add skipped tests for new Regress functionality
    
    See #193 and gobject-introspection!59. These tests will be skipped until
    the latter merge request is merged and released.

 installed-tests/js/testEverythingBasic.js | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
---
diff --git a/installed-tests/js/testEverythingBasic.js b/installed-tests/js/testEverythingBasic.js
index 970a9993..4b50f655 100644
--- a/installed-tests/js/testEverythingBasic.js
+++ b/installed-tests/js/testEverythingBasic.js
@@ -484,6 +484,25 @@ describe('Life, the Universe and Everything', function () {
         });
     });
 
+    xdescribe('Overridden properties on interfaces', function () {
+        it('set and get properly', function () {
+            const o = new Regress.TestSubObj();
+            o.number = 4;
+            expect(o.number).toEqual(4);
+        });
+
+        it('default properly', function () {
+            const o = new Regress.TestSubObj();
+            expect(o.number).toBeDefined();
+            expect(o.number).toEqual(0);
+        });
+
+        it('construct properly', function () {
+            const o = new Regress.TestSubObj({number: 4});
+            expect(o.number).toEqual(4);
+        });
+    }).pend('https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/59');
+
     describe('Signal connection', function () {
         let o;
         beforeEach(function () {


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