mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
14 lines
490 B
JavaScript
14 lines
490 B
JavaScript
function run_test() {
|
|
Components.utils.import("resource://weave/log4moz.js");
|
|
Components.utils.import("resource://weave/faultTolerance.js");
|
|
|
|
// Just make sure the getter works and the service is a singleton.
|
|
FaultTolerance.Service._testProperty = "hi";
|
|
do_check_eq(FaultTolerance.Service._testProperty, "hi");
|
|
|
|
var log = Log4Moz.repository.rootLogger;
|
|
log.level = Log4Moz.Level.All;
|
|
log.info("Testing.");
|
|
do_check_eq(Log4Moz.repository.rootLogger.appenders.length, 1);
|
|
}
|