summaryrefslogtreecommitdiffstats
path: root/toolkit/components/commandlines/test/unit/test_classinfo.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/commandlines/test/unit/test_classinfo.js')
-rw-r--r--toolkit/components/commandlines/test/unit/test_classinfo.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/toolkit/components/commandlines/test/unit/test_classinfo.js b/toolkit/components/commandlines/test/unit/test_classinfo.js
new file mode 100644
index 000000000..a0fb1ff0a
--- /dev/null
+++ b/toolkit/components/commandlines/test/unit/test_classinfo.js
@@ -0,0 +1,9 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+function run_test() {
+ var clClass = Components.classes["@mozilla.org/toolkit/command-line;1"];
+ var commandLine = clClass.createInstance();
+ do_check_true("length" in commandLine);
+}