[gjs] testBoxed: add test for getter



commit d03c9ab24eeb67390005d0d8d2daf16639dacf6a
Author: Tim Lunn <tim feathertop org>
Date:   Tue Jan 8 07:51:05 2013 +1100

    testBoxed: add test for getter
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690982

 test/js/test0030basicBoxed.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/test/js/test0030basicBoxed.js b/test/js/test0030basicBoxed.js
index 57dbbe3..099d817 100644
--- a/test/js/test0030basicBoxed.js
+++ b/test/js/test0030basicBoxed.js
@@ -4,6 +4,7 @@ var Regress = imports.gi.Regress;
 function testBasicBoxed() {
     var a = new Regress.TestSimpleBoxedA();
     a.some_int = 42;
+    assertEquals(a.some_int, 42);
 }
 
 gjstestRun();



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