summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/import/test/unit/test_csv_import_quote.js
diff options
context:
space:
mode:
Diffstat (limited to 'comm/mailnews/import/test/unit/test_csv_import_quote.js')
-rw-r--r--comm/mailnews/import/test/unit/test_csv_import_quote.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/comm/mailnews/import/test/unit/test_csv_import_quote.js b/comm/mailnews/import/test/unit/test_csv_import_quote.js
new file mode 100644
index 0000000000..67b469bac5
--- /dev/null
+++ b/comm/mailnews/import/test/unit/test_csv_import_quote.js
@@ -0,0 +1,11 @@
+/**
+ * Tests importing quoted csv address books.
+ */
+function run_test() {
+ // Due to the import code using nsIAbManager off the main thread, we need
+ // to ensure that it is initialized before we start the main test.
+ MailServices.ab;
+
+ let file = do_get_file("resources/quote.csv");
+ new AbImportHelper(file, "csv", "quote", "quote_csv").beginImport();
+}