chart47: #i111552# ApiTest: LineDash Property is tested with wrong type

This commit is contained in:
Ingrid Halama 2010-05-12 11:15:00 +02:00
parent e5fdcb5c6b
commit 1afc67a4f5

View file

@ -80,21 +80,7 @@ public class _LineProperties extends MultiPropertyTest {
LineDash aLineDash2 = new LineDash(); LineDash aLineDash2 = new LineDash();
aLineDash.DashLen = 5; aLineDash.DashLen = 5;
aLineDash2.DashLen = 1; aLineDash2.DashLen = 1;
PropertyValue[] firstValue = new PropertyValue[2]; testProperty("LineDash",aLineDash,aLineDash2);
firstValue[0] = new PropertyValue();
firstValue[0].Name = "Name";
firstValue[0].Value = "Name1";
firstValue[1] = new PropertyValue();
firstValue[1].Name = "LineDash";
firstValue[1].Value = aLineDash;
PropertyValue[] secondValue = new PropertyValue[2];
secondValue[0] = new PropertyValue();
secondValue[0].Name = "Name";
secondValue[0].Value = "Name2";
secondValue[1] = new PropertyValue();
secondValue[1].Name = "LineDash";
secondValue[1].Value = aLineDash2;
testProperty("LineDash",firstValue,secondValue);
} }
} }