1
YUI.add('console-tests', function(Y) {
3
var suite = new Y.Test.Suite("Y.Console");
5
suite.add( new Y.Test.Case({
8
"test default construction": function () {
12
suite.add( new Y.Test.Case({
18
tearDown: function () {
21
"test log": function () {
24
"test clearConsole": function () {
27
"test reset": function () {
30
"test collapse": function () {
33
"test expand": function () {
36
"test scrollToLatest": function () {
39
"test render": function () {
42
"test printBuffer": function () {
46
suite.add( new Y.Test.Case({
49
"logEvent should be writeOnce": function () {
52
"logSource should be writeOnce": function () {
55
"test strings": function () {
58
"test paused": function () {
61
"test defaultCategory": function () {
64
"test defaultSource": function () {
67
"test entryTemplate": function () {
70
"test logLevel": function () {
73
"test printTimeout": function () {
76
"test printLimit": function () {
79
"test consoleLimit": function () {
82
"test newestOnTop": function () {
85
"test scrollIntoView": function () {
88
"test collapsed": function () {
91
"test style": function () {
96
suite.add( new Y.Test.Case({
97
name: "Runtime expectations",
102
tearDown: function () {
105
"test ": function () {
109
suite.add( new Y.Test.Case({
115
tearDown: function () {
118
"test ": function () {
122
Y.Test.Runner.add( suite );
125
}, '@VERSION@' ,{requires:['console', 'test']});