summaryrefslogtreecommitdiff
path: root/qadevOOo/tests
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2010-05-12 11:15:00 +0200
committerIngrid Halama <iha@openoffice.org>2010-05-12 11:15:00 +0200
commit1afc67a4f5ccace415ce76de17913a6fc8256800 (patch)
tree76fc87ef2bcba6d1f7b21e3e4b378454c551898f /qadevOOo/tests
parente5fdcb5c6bbb0c65054c3c78abf3f782be963c23 (diff)
chart47: #i111552# ApiTest: LineDash Property is tested with wrong type
Diffstat (limited to 'qadevOOo/tests')
-rw-r--r--qadevOOo/tests/java/ifc/drawing/_LineProperties.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/qadevOOo/tests/java/ifc/drawing/_LineProperties.java b/qadevOOo/tests/java/ifc/drawing/_LineProperties.java
index a590bd5c5e1c..b6fb1f2186a1 100644
--- a/qadevOOo/tests/java/ifc/drawing/_LineProperties.java
+++ b/qadevOOo/tests/java/ifc/drawing/_LineProperties.java
@@ -80,21 +80,7 @@ public class _LineProperties extends MultiPropertyTest {
LineDash aLineDash2 = new LineDash();
aLineDash.DashLen = 5;
aLineDash2.DashLen = 1;
- PropertyValue[] firstValue = new PropertyValue[2];
- 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);
+ testProperty("LineDash",aLineDash,aLineDash2);
}
}