提交 5774448d 编写于 作者: D dongwei 提交者: wanggang

add test cases

Signed-off-by: Ndongwei <dongwei@kaihongdigi.com>
上级 6f41a821
......@@ -400,7 +400,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeDasharray).assertEqual('2 3')
console.info("[circleProps] get inspector stroke-dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray));
console.info("[circleProps] get inspector dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray));
done();
});
......@@ -430,7 +430,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeDashoffset).assertEqual('23')
console.info("[circleProps] get inspector stroke-dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset));
console.info("[circleProps] get inspector dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset));
done();
});
......@@ -461,7 +461,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeLinejoin).assertEqual('bevel')
console.info("[circleProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin));
console.info("[circleProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin));
done();
});
......@@ -491,7 +491,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeLinejoin).assertEqual('miter')
console.info("[circleProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin));
console.info("[circleProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin));
done();
});
......@@ -521,7 +521,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeLinejoin).assertEqual('round')
console.info("[circleProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin));
console.info("[circleProps] get inspector linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin));
done();
});
......@@ -551,7 +551,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeLineCap).assertEqual('butt')
console.info("[circleProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap));
console.info("[circleProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap));
done();
});
......@@ -581,7 +581,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeLineCap).assertEqual('round')
console.info("[circleProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap));
console.info("[circleProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap));
done();
});
......@@ -611,7 +611,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeLineCap).assertEqual('square')
console.info("[circleProps] get inspector stroke-lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap));
console.info("[circleProps] get inspector lineCap value is: " + JSON.stringify(obj.$attrs.strokeLineCap));
done();
});
......@@ -641,7 +641,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeMiterlimit).assertEqual('10')
console.info("[circleProps] get inspector stroke-miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit));
console.info("[circleProps] get inspector miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit));
done();
});
......@@ -671,7 +671,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeOpacity).assertEqual('0.5')
console.info("[circleProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity));
console.info("[circleProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity));
done();
});
......@@ -701,7 +701,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeOpacity).assertEqual('1')
console.info("[circleProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity));
console.info("[circleProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity));
done();
});
......@@ -731,7 +731,7 @@
expect(obj.$attrs.stroke).assertEqual('red')
console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke));
expect(obj.$attrs.strokeOpacity).assertEqual('1.5')
console.info("[circleProps] get inspector stroke-opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity));
console.info("[circleProps] get inspector opacity value is: " + JSON.stringify(obj.$attrs.strokeOpacity));
done();
});
......@@ -788,7 +788,7 @@
console.info("[circleProps] get inspector cy value is: " + JSON.stringify(obj.$attrs.cy));
expect(obj.$attrs.r).assertEqual('10')
console.info("[circleProps] get inspector r value is: " + JSON.stringify(obj.$attrs.r));
expect(obj.$attrs.transform).assertEqual('translate(10,5) scale(0.5 1.3) rotate(20 40 90) skewX(10) skewY(-15)')
expect(obj.$attrs.transform).assertEqual('translate(10,5)scale(0.5 1.3)rotate(20 40 90)skewX(10)skewY(-15)')
console.info("[circleProps] get inspector transform value is: " + JSON.stringify(obj.$attrs.transform));
done();
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册