tools/ejabberdsql2prosody: Skip invalid XML in data, and print out errors.
[prosody.git] / tests / test.lua
index 38ef6191ad4191a2ae49a88fd24a6513e9478f19..db727ce157739265964312557af7ce937af5c19f 100644 (file)
@@ -9,13 +9,17 @@
 
 
 function run_all_tests()
+       package.loaded["net.connlisteners"] = { get = function () return {} end };
        dotest "util.jid"
        dotest "util.multitable"
+       dotest "util.rfc3484"
+       dotest "net.http"
        dotest "core.modulemanager"
        dotest "core.stanza_router"
        dotest "core.s2smanager"
        dotest "core.configmanager"
        dotest "util.stanza"
+       dotest "util.sasl.scram"
        
        dosingletest("test_sasl.lua", "latin1toutf8");
 end
@@ -216,7 +220,7 @@ function new_line_coverage_monitor(file)
                        for line, active in pairs(lines_hit) do
                                if active ~= nil then total_active_lines = total_active_lines + 1; end
                                if coverage_file then
-                                       if active == false then coverage_file:write(fn, "|", line, "|", name or "", "|miss\n"); 
+                                       if active == false then coverage_file:write(fn, "|", line, "|", name or "", "|miss\n");
                                        else coverage_file:write(fn, "|", line, "|", name or "", "|", tostring(success), "\n"); end
                                end
                        end