Browse Source

fix vml test case

pull/21/head
Tony Qu 11 years ago
parent
commit
b81d4f86b3
  1. 4
      testcases/ooxml/XSSF/UserModel/TestXSSFVMLDrawing.cs

4
testcases/ooxml/XSSF/UserModel/TestXSSFVMLDrawing.cs

@ -48,14 +48,14 @@ namespace NPOI.XSSF.UserModel
Assert.AreEqual("21600,21600", type.coordsize);
Assert.AreEqual(202.0f, type.spt);
Assert.AreEqual("m,l,21600r21600,l21600,xe", type.path2);
Assert.AreEqual("_xssf_cell_comment", type.id);
Assert.IsTrue(type.id.StartsWith("_x0000_"));
Assert.AreEqual(ST_TrueFalse.t, type.path.gradientshapeok);
Assert.AreEqual(ST_ConnectType.rect, type.path.connecttype);
CT_Shape shape = vml.newCommentShape();
Assert.AreEqual(3, items.Count);
Assert.AreSame(items[2], shape);
Assert.AreEqual("#_xssf_cell_comment", shape.type);
Assert.IsTrue(shape.type.StartsWith("#_x0000_"));
Assert.AreEqual("position:absolute; visibility:hidden", shape.style);
Assert.AreEqual("#ffffe1", shape.fillcolor);
Assert.AreEqual(ST_InsetMode.auto, shape.insetmode);

Loading…
Cancel
Save