Skip to content

Commit

Permalink
Adding new coverage files without full file paths in them
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Aug 8, 2012
1 parent 77d7e6c commit 68207a3
Show file tree
Hide file tree
Showing 292 changed files with 51,904 additions and 51,904 deletions.
150 changes: 75 additions & 75 deletions build/align-plugin/align-plugin-coverage.js

Large diffs are not rendered by default.

434 changes: 217 additions & 217 deletions build/anim-base/anim-base-coverage.js

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions build/anim-color/anim-color-coverage.js
Expand Up @@ -16,22 +16,22 @@ if (typeof _yuitest_coverage == "undefined"){
coverage.functions[funcId]++;
};
}
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-color.js"] = {
_yuitest_coverage["/build/anim-color/anim-color.js"] = {
lines: {},
functions: {},
coveredLines: 0,
calledLines: 0,
coveredFunctions: 0,
calledFunctions: 0,
path: "/home/yui/src/yui3/src/anim/build_tmp/anim-color.js",
path: "/build/anim-color/anim-color.js",
code: []
};
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-color.js"].code=["YUI.add('anim-color', function(Y) {","","/**"," * Adds support for color properties in <code>to</code>"," * and <code>from</code> attributes."," * @module anim"," * @submodule anim-color"," */","","var NUM = Number;","","Y.Anim.behaviors.color = {"," set: function(anim, att, from, to, elapsed, duration, fn) {"," from = Y.Color.re_RGB.exec(Y.Color.toRGB(from));"," to = Y.Color.re_RGB.exec(Y.Color.toRGB(to));",""," if (!from || from.length < 3 || !to || to.length < 3) {"," Y.error('invalid from or to passed to color behavior');"," }",""," anim._node.setStyle(att, 'rgb(' + ["," Math.floor(fn(elapsed, NUM(from[1]), NUM(to[1]) - NUM(from[1]), duration)),"," Math.floor(fn(elapsed, NUM(from[2]), NUM(to[2]) - NUM(from[2]), duration)),"," Math.floor(fn(elapsed, NUM(from[3]), NUM(to[3]) - NUM(from[3]), duration))"," ].join(', ') + ')');"," },"," "," // TODO: default bgcolor const"," get: function(anim, att) {"," var val = anim._node.getComputedStyle(att);"," val = (val === 'transparent') ? 'rgb(255, 255, 255)' : val;"," return val;"," }","};","","Y.each(['backgroundColor',"," 'borderColor',"," 'borderTopColor',"," 'borderRightColor', "," 'borderBottomColor', "," 'borderLeftColor'],"," function(v, i) {"," Y.Anim.behaviors[v] = Y.Anim.behaviors.color;"," }",");","","","}, '@VERSION@' ,{requires:['anim-base']});"];
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-color.js"].lines = {"1":0,"10":0,"12":0,"14":0,"15":0,"17":0,"18":0,"21":0,"30":0,"31":0,"32":0,"36":0,"43":0};
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-color.js"].functions = {"set:13":0,"get:29":0,"(anonymous 2):42":0,"(anonymous 1):1":0};
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-color.js"].coveredLines = 13;
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-color.js"].coveredFunctions = 4;
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 1);
_yuitest_coverage["/build/anim-color/anim-color.js"].code=["YUI.add('anim-color', function(Y) {","","/**"," * Adds support for color properties in <code>to</code>"," * and <code>from</code> attributes."," * @module anim"," * @submodule anim-color"," */","","var NUM = Number;","","Y.Anim.behaviors.color = {"," set: function(anim, att, from, to, elapsed, duration, fn) {"," from = Y.Color.re_RGB.exec(Y.Color.toRGB(from));"," to = Y.Color.re_RGB.exec(Y.Color.toRGB(to));",""," if (!from || from.length < 3 || !to || to.length < 3) {"," Y.error('invalid from or to passed to color behavior');"," }",""," anim._node.setStyle(att, 'rgb(' + ["," Math.floor(fn(elapsed, NUM(from[1]), NUM(to[1]) - NUM(from[1]), duration)),"," Math.floor(fn(elapsed, NUM(from[2]), NUM(to[2]) - NUM(from[2]), duration)),"," Math.floor(fn(elapsed, NUM(from[3]), NUM(to[3]) - NUM(from[3]), duration))"," ].join(', ') + ')');"," },"," "," // TODO: default bgcolor const"," get: function(anim, att) {"," var val = anim._node.getComputedStyle(att);"," val = (val === 'transparent') ? 'rgb(255, 255, 255)' : val;"," return val;"," }","};","","Y.each(['backgroundColor',"," 'borderColor',"," 'borderTopColor',"," 'borderRightColor', "," 'borderBottomColor', "," 'borderLeftColor'],"," function(v, i) {"," Y.Anim.behaviors[v] = Y.Anim.behaviors.color;"," }",");","","","}, '@VERSION@' ,{requires:['anim-base']});"];
_yuitest_coverage["/build/anim-color/anim-color.js"].lines = {"1":0,"10":0,"12":0,"14":0,"15":0,"17":0,"18":0,"21":0,"30":0,"31":0,"32":0,"36":0,"43":0};
_yuitest_coverage["/build/anim-color/anim-color.js"].functions = {"set:13":0,"get:29":0,"(anonymous 2):42":0,"(anonymous 1):1":0};
_yuitest_coverage["/build/anim-color/anim-color.js"].coveredLines = 13;
_yuitest_coverage["/build/anim-color/anim-color.js"].coveredFunctions = 4;
_yuitest_coverline("/build/anim-color/anim-color.js", 1);
YUI.add('anim-color', function(Y) {

/**
Expand All @@ -41,26 +41,26 @@ YUI.add('anim-color', function(Y) {
* @submodule anim-color
*/

_yuitest_coverfunc("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", "(anonymous 1)", 1);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 10);
_yuitest_coverfunc("/build/anim-color/anim-color.js", "(anonymous 1)", 1);
_yuitest_coverline("/build/anim-color/anim-color.js", 10);
var NUM = Number;

_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 12);
_yuitest_coverline("/build/anim-color/anim-color.js", 12);
Y.Anim.behaviors.color = {
set: function(anim, att, from, to, elapsed, duration, fn) {
_yuitest_coverfunc("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", "set", 13);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 14);
_yuitest_coverfunc("/build/anim-color/anim-color.js", "set", 13);
_yuitest_coverline("/build/anim-color/anim-color.js", 14);
from = Y.Color.re_RGB.exec(Y.Color.toRGB(from));
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 15);
_yuitest_coverline("/build/anim-color/anim-color.js", 15);
to = Y.Color.re_RGB.exec(Y.Color.toRGB(to));

_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 17);
_yuitest_coverline("/build/anim-color/anim-color.js", 17);
if (!from || from.length < 3 || !to || to.length < 3) {
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 18);
_yuitest_coverline("/build/anim-color/anim-color.js", 18);
Y.error('invalid from or to passed to color behavior');
}

_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 21);
_yuitest_coverline("/build/anim-color/anim-color.js", 21);
anim._node.setStyle(att, 'rgb(' + [
Math.floor(fn(elapsed, NUM(from[1]), NUM(to[1]) - NUM(from[1]), duration)),
Math.floor(fn(elapsed, NUM(from[2]), NUM(to[2]) - NUM(from[2]), duration)),
Expand All @@ -70,26 +70,26 @@ anim._node.setStyle(att, 'rgb(' + [

// TODO: default bgcolor const
get: function(anim, att) {
_yuitest_coverfunc("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", "get", 29);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 30);
_yuitest_coverfunc("/build/anim-color/anim-color.js", "get", 29);
_yuitest_coverline("/build/anim-color/anim-color.js", 30);
var val = anim._node.getComputedStyle(att);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 31);
_yuitest_coverline("/build/anim-color/anim-color.js", 31);
val = (val === 'transparent') ? 'rgb(255, 255, 255)' : val;
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 32);
_yuitest_coverline("/build/anim-color/anim-color.js", 32);
return val;
}
};

_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 36);
_yuitest_coverline("/build/anim-color/anim-color.js", 36);
Y.each(['backgroundColor',
'borderColor',
'borderTopColor',
'borderRightColor',
'borderBottomColor',
'borderLeftColor'],
function(v, i) {
_yuitest_coverfunc("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", "(anonymous 2)", 42);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-color.js", 43);
_yuitest_coverfunc("/build/anim-color/anim-color.js", "(anonymous 2)", 42);
_yuitest_coverline("/build/anim-color/anim-color.js", 43);
Y.Anim.behaviors[v] = Y.Anim.behaviors.color;
}
);
Expand Down
58 changes: 29 additions & 29 deletions build/anim-curve/anim-curve-coverage.js
Expand Up @@ -16,22 +16,22 @@ if (typeof _yuitest_coverage == "undefined"){
coverage.functions[funcId]++;
};
}
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js"] = {
_yuitest_coverage["/build/anim-curve/anim-curve.js"] = {
lines: {},
functions: {},
coveredLines: 0,
calledLines: 0,
coveredFunctions: 0,
calledFunctions: 0,
path: "/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js",
path: "/build/anim-curve/anim-curve.js",
code: []
};
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js"].code=["YUI.add('anim-curve', function(Y) {","","/**"," * Adds support for the <code>curve</code> property for the <code>to</code> "," * attribute. A curve is zero or more control points and an end point."," * @module anim"," * @submodule anim-curve"," */","","Y.Anim.behaviors.curve = {"," set: function(anim, att, from, to, elapsed, duration, fn) {"," from = from.slice.call(from);"," to = to.slice.call(to);"," var t = fn(elapsed, 0, 100, duration) / 100;"," to.unshift(from);"," anim._node.setXY(Y.Anim.getBezier(to, t));"," },",""," get: function(anim, att) {"," return anim._node.getXY();"," }","};","","/**"," * Get the current position of the animated element based on t."," * Each point is an array of \"x\" and \"y\" values (0 = x, 1 = y)"," * At least 2 points are required (start and end)."," * First point is start. Last point is end."," * Additional control points are optional. "," * @for Anim"," * @method getBezier"," * @static"," * @param {Array} points An array containing Bezier points"," * @param {Number} t A number between 0 and 1 which is the basis for determining current position"," * @return {Array} An array containing int x and y member data"," */","Y.Anim.getBezier = function(points, t) { "," var n = points.length;"," var tmp = [];",""," for (var i = 0; i < n; ++i){"," tmp[i] = [points[i][0], points[i][1]]; // save input"," }"," "," for (var j = 1; j < n; ++j) {"," for (i = 0; i < n - j; ++i) {"," tmp[i][0] = (1 - t) * tmp[i][0] + t * tmp[parseInt(i + 1, 10)][0];"," tmp[i][1] = (1 - t) * tmp[i][1] + t * tmp[parseInt(i + 1, 10)][1]; "," }"," }",""," return [ tmp[0][0], tmp[0][1] ]; ","","};","","","}, '@VERSION@' ,{requires:['anim-xy']});"];
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js"].lines = {"1":0,"10":0,"12":0,"13":0,"14":0,"15":0,"16":0,"20":0,"37":0,"38":0,"39":0,"41":0,"42":0,"45":0,"46":0,"47":0,"48":0,"52":0};
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js"].functions = {"set:11":0,"get:19":0,"getBezier:37":0,"(anonymous 1):1":0};
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js"].coveredLines = 18;
_yuitest_coverage["/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js"].coveredFunctions = 4;
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 1);
_yuitest_coverage["/build/anim-curve/anim-curve.js"].code=["YUI.add('anim-curve', function(Y) {","","/**"," * Adds support for the <code>curve</code> property for the <code>to</code> "," * attribute. A curve is zero or more control points and an end point."," * @module anim"," * @submodule anim-curve"," */","","Y.Anim.behaviors.curve = {"," set: function(anim, att, from, to, elapsed, duration, fn) {"," from = from.slice.call(from);"," to = to.slice.call(to);"," var t = fn(elapsed, 0, 100, duration) / 100;"," to.unshift(from);"," anim._node.setXY(Y.Anim.getBezier(to, t));"," },",""," get: function(anim, att) {"," return anim._node.getXY();"," }","};","","/**"," * Get the current position of the animated element based on t."," * Each point is an array of \"x\" and \"y\" values (0 = x, 1 = y)"," * At least 2 points are required (start and end)."," * First point is start. Last point is end."," * Additional control points are optional. "," * @for Anim"," * @method getBezier"," * @static"," * @param {Array} points An array containing Bezier points"," * @param {Number} t A number between 0 and 1 which is the basis for determining current position"," * @return {Array} An array containing int x and y member data"," */","Y.Anim.getBezier = function(points, t) { "," var n = points.length;"," var tmp = [];",""," for (var i = 0; i < n; ++i){"," tmp[i] = [points[i][0], points[i][1]]; // save input"," }"," "," for (var j = 1; j < n; ++j) {"," for (i = 0; i < n - j; ++i) {"," tmp[i][0] = (1 - t) * tmp[i][0] + t * tmp[parseInt(i + 1, 10)][0];"," tmp[i][1] = (1 - t) * tmp[i][1] + t * tmp[parseInt(i + 1, 10)][1]; "," }"," }",""," return [ tmp[0][0], tmp[0][1] ]; ","","};","","","}, '@VERSION@' ,{requires:['anim-xy']});"];
_yuitest_coverage["/build/anim-curve/anim-curve.js"].lines = {"1":0,"10":0,"12":0,"13":0,"14":0,"15":0,"16":0,"20":0,"37":0,"38":0,"39":0,"41":0,"42":0,"45":0,"46":0,"47":0,"48":0,"52":0};
_yuitest_coverage["/build/anim-curve/anim-curve.js"].functions = {"set:11":0,"get:19":0,"getBezier:37":0,"(anonymous 1):1":0};
_yuitest_coverage["/build/anim-curve/anim-curve.js"].coveredLines = 18;
_yuitest_coverage["/build/anim-curve/anim-curve.js"].coveredFunctions = 4;
_yuitest_coverline("/build/anim-curve/anim-curve.js", 1);
YUI.add('anim-curve', function(Y) {

/**
Expand All @@ -41,26 +41,26 @@ YUI.add('anim-curve', function(Y) {
* @submodule anim-curve
*/

_yuitest_coverfunc("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", "(anonymous 1)", 1);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 10);
_yuitest_coverfunc("/build/anim-curve/anim-curve.js", "(anonymous 1)", 1);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 10);
Y.Anim.behaviors.curve = {
set: function(anim, att, from, to, elapsed, duration, fn) {
_yuitest_coverfunc("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", "set", 11);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 12);
_yuitest_coverfunc("/build/anim-curve/anim-curve.js", "set", 11);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 12);
from = from.slice.call(from);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 13);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 13);
to = to.slice.call(to);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 14);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 14);
var t = fn(elapsed, 0, 100, duration) / 100;
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 15);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 15);
to.unshift(from);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 16);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 16);
anim._node.setXY(Y.Anim.getBezier(to, t));
},

get: function(anim, att) {
_yuitest_coverfunc("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", "get", 19);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 20);
_yuitest_coverfunc("/build/anim-curve/anim-curve.js", "get", 19);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 20);
return anim._node.getXY();
}
};
Expand All @@ -78,32 +78,32 @@ return anim._node.getXY();
* @param {Number} t A number between 0 and 1 which is the basis for determining current position
* @return {Array} An array containing int x and y member data
*/
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 37);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 37);
Y.Anim.getBezier = function(points, t) {
_yuitest_coverfunc("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", "getBezier", 37);
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 38);
_yuitest_coverfunc("/build/anim-curve/anim-curve.js", "getBezier", 37);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 38);
var n = points.length;
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 39);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 39);
var tmp = [];

_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 41);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 41);
for (var i = 0; i < n; ++i){
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 42);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 42);
tmp[i] = [points[i][0], points[i][1]]; // save input
}

_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 45);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 45);
for (var j = 1; j < n; ++j) {
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 46);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 46);
for (i = 0; i < n - j; ++i) {
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 47);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 47);
tmp[i][0] = (1 - t) * tmp[i][0] + t * tmp[parseInt(i + 1, 10)][0];
_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 48);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 48);
tmp[i][1] = (1 - t) * tmp[i][1] + t * tmp[parseInt(i + 1, 10)][1];
}
}

_yuitest_coverline("/home/yui/src/yui3/src/anim/build_tmp/anim-curve.js", 52);
_yuitest_coverline("/build/anim-curve/anim-curve.js", 52);
return [ tmp[0][0], tmp[0][1] ];

};
Expand Down

0 comments on commit 68207a3

Please sign in to comment.