(queue, pass, name, attrs, customCallback, altPassValue)
| 163 | // queue that builds up a list of tests, and then executes them one at a |
| 164 | // time. |
| 165 | var SRIStyleTest = function(queue, pass, name, attrs, customCallback, altPassValue) { |
| 166 | this.pass = pass; |
| 167 | this.name = "Style: " + name; |
| 168 | this.customCallback = customCallback || function () {}; |
| 169 | this.attrs = attrs || {}; |
| 170 | this.passValue = altPassValue || "rgb(255, 255, 0)"; |
| 171 | |
| 172 | this.test = async_test(this.name); |
| 173 | |
| 174 | this.queue = queue; |
| 175 | this.queue.push(this); |
| 176 | } |
| 177 | |
| 178 | SRIStyleTest.prototype.execute = function() { |
| 179 | var that = this; |
nothing calls this directly
no test coverage detected