summaryrefslogtreecommitdiffstats
path: root/b2g/components/test/unit/test_logcapture.js
diff options
context:
space:
mode:
Diffstat (limited to 'b2g/components/test/unit/test_logcapture.js')
-rw-r--r--b2g/components/test/unit/test_logcapture.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/b2g/components/test/unit/test_logcapture.js b/b2g/components/test/unit/test_logcapture.js
new file mode 100644
index 000000000..9dbe2bc77
--- /dev/null
+++ b/b2g/components/test/unit/test_logcapture.js
@@ -0,0 +1,13 @@
+/**
+ * Testing non Gonk-specific code path
+ */
+function run_test() {
+ Components.utils.import("resource:///modules/LogCapture.jsm");
+ run_next_test();
+}
+
+// Trivial test just to make sure we have no syntax error
+add_test(function test_logCapture_loads() {
+ ok(LogCapture, "LogCapture object exists");
+ run_next_test();
+});