seed r82 - trunk/tests
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r82 - trunk/tests
- Date: Mon, 3 Nov 2008 09:52:47 +0000 (UTC)
Author: racarr
Date: Mon Nov 3 09:52:47 2008
New Revision: 82
URL: http://svn.gnome.org/viewvc/seed?rev=82&view=rev
Log:
Add namespace exception test.
Added:
trunk/tests/namespace-exception-test.js (contents, props changed)
Added: trunk/tests/namespace-exception-test.js
==============================================================================
--- (empty file)
+++ trunk/tests/namespace-exception-test.js Mon Nov 3 09:52:47 2008
@@ -0,0 +1,22 @@
+#!/usr/local/bin/seed
+// Returns: 0
+// STDIN:
+// STDOUT:No such namespace: CoreAnimation\nNo such namespace: Gtk \(version 3\.0\)
+// STDERR:
+try
+{
+ Seed.import_namespace("CoreAnimation");
+}
+catch(e)
+{
+ Seed.print(e.message);
+}
+
+try
+{
+ Seed.import_namespace("Gtk","3.0");
+}
+catch(e)
+{
+ Seed.print(e.message);
+}
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]