1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith <link type="text/css" rel="stylesheet" href="assets/test.css">
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min',
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith allowRollup: false,
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith // Can't use lazyEventFacade with resize tests because IE doesn't support
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith // simulating window.onresize, so the custom event proxy for the DOM
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith // subscriptions needs to be fire()d manualy, passing an object, rather than
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith // a browser event
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith // lazyEventFacade: true,
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith useBrowserConsole: false
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith.use('console-filters', 'event-resize-tests', function (Y) {
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith style: 'block',
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith entryTemplate: '<div class="{entry_class} {cat_class} {src_class}">'+
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith '<pre class="{entry_content_class}">{message}</pre>'+
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith entry: function (e) {
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith if (m.category === 'info' &&
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith /\s(?:case|suite)\s|yuitests\d+|began/.test(m.message)) {
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith } else if (m.category === 'fail') {
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith render: function () {
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith this.get('contentBox').insertBefore( this._foot, this._body );
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith pass: false,
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith status: false
cefe9be30f9a5722340b7d0cdf38cb03232fa963Luke Smith .render( "#log" );