Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Logger and TestLogger now rendering correctly. I need to go through a…

…ll the test and example files to remove the cajita.log reassignment of YAHOO.log to enable the messages to show through. Also, due to Caja bug 1103, LogReader skin is not applied unless the LogReader (or TestLogger) is constructed with an existing DOM target.
  • Loading branch information...
commit 48d69c27679ec253b29f47463ec7350c7f27af5f 1 parent 7b5ecc3
@lsmith lsmith authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 tests/yuitests/yahoo.html
View
7 tests/yuitests/yahoo.html
@@ -2,7 +2,7 @@
<head>
<title>YUI Tests</title>
<link type="text/css" rel="stylesheet" href="css/logger/assets/logger.css" />
-<link type="text/css" rel="stylesheet" href="css/yuitest/assets/yuitest.css" />
+<link type="text/css" rel="stylesheet" href="css/yuitest/assets/testlogger.css" />
<style type="text/css">
#xframe {
@@ -13,7 +13,7 @@
<script type="text/javascript">
-YAHOO.log = cajita.log;
+//YAHOO.log = cajita.log;
var g_modules=[];
@@ -26,6 +26,7 @@
</head>
<body>
+<div id="logr"></div>
<iframe name="xframe" id="xframe" src="assets/xframe.html"></iframe>
<h1>YAHOO test page</h1>
<p>This page contains tests being run by yuitest, the results of which<br />
@@ -424,7 +425,7 @@
// YAHOO.util.Event.onDomReady(function (){ // need to wait for the frame to load
// YAHOO.util.Event.on(window, "load", function (){
//create the logger
- var logger = new YAHOO.tool.TestLogger();
+ var logger = new YAHOO.tool.TestLogger('logr');
//add the tests
YAHOO.tool.TestRunner.add(suite);

0 comments on commit 48d69c2

Please sign in to comment.
Something went wrong with that request. Please try again.