[gjs: 3/5] Add test to testEverythingBasic



commit 03a97ae66f046c692614fee3aad73ec9dd2df2d8
Author: Danielle Madeley <danielle madeley collabora co uk>
Date:   Fri Jun 18 15:42:49 2010 +1000

    Add test to testEverythingBasic

 test/js/testEverythingBasic.js |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/test/js/testEverythingBasic.js b/test/js/testEverythingBasic.js
index ee837fc..fa22908 100644
--- a/test/js/testEverythingBasic.js
+++ b/test/js/testEverythingBasic.js
@@ -440,4 +440,13 @@ function testObjTortureSignature1Success() {
     assertEquals(q, 14);
 }
 
+function testStrvInGValue() {
+    let v = Everything.test_strv_in_gvalue();
+
+    assertEquals(v.length, 3);
+    assertEquals(v[0], "one");
+    assertEquals(v[1], "two");
+    assertEquals(v[2], "three");
+}
+
 gjstestRun();



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