[seed] Add module test to check for undefined symbols and assist the coverage tool
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] Add module test to check for undefined symbols and assist the coverage tool
- Date: Sat, 4 Jul 2009 02:20:21 +0000 (UTC)
commit 7812a6eededd99df9e24e1937178be563a56e71d
Author: Tim Horton <hortont424 gmail com>
Date: Fri Jul 3 22:14:37 2009 -0400
Add module test to check for undefined symbols and assist the coverage tool
tests/javascript/modules.js | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
---
diff --git a/tests/javascript/modules.js b/tests/javascript/modules.js
new file mode 100755
index 0000000..106ef27
--- /dev/null
+++ b/tests/javascript/modules.js
@@ -0,0 +1,29 @@
+#!/usr/bin/env seed
+// Returns: 0
+// STDIN:
+// STDOUT:
+// STDERR:
+
+// This test is merely to appease the coverage checker (calls init in each
+// module); it will also catch unresolved symbol errors in the modules.
+
+try
+{
+ cairo = imports.cairo;
+ canvas = imports.canvas;
+ dbus = imports.dbus;
+ example = imports.example;
+ gettext = imports.gettext;
+ gtkbuilder = imports.gtkbuilder;
+ libxml = imports.libxml;
+ mpfr = imports.mpfr;
+ Multiprocessing = imports.Multiprocessing;
+ os = imports.os;
+ readline = imports.readline;
+ sandbox = imports.sandbox;
+ sqlite = imports.sqlite;
+}
+catch(e)
+{
+
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]