[gjs] testBoxed: add test for getter
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] testBoxed: add test for getter
- Date: Sat, 19 Jan 2013 13:07:48 +0000 (UTC)
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]