summaryrefslogtreecommitdiff
path: root/chart2/qa
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2003-10-06 15:01:51 +0000
committerBjörn Milcke <bm@openoffice.org>2003-10-06 15:01:51 +0000
commit63fc0af692b1179ef57b996cd10937b4d0fd995f (patch)
tree22c9c4898e7f612b49657cb3a7aafb7a7d2d0f2d /chart2/qa
parentf2e08b5bc882b0d2b833939c1d9398b79d2ccfa2 (diff)
Axis: +one Line- and Character Property
Diffstat (limited to 'chart2/qa')
-rw-r--r--chart2/qa/TestCaseOldAPI.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/chart2/qa/TestCaseOldAPI.java b/chart2/qa/TestCaseOldAPI.java
index 6a022d22a53d..f916b58a0284 100644
--- a/chart2/qa/TestCaseOldAPI.java
+++ b/chart2/qa/TestCaseOldAPI.java
@@ -273,6 +273,15 @@ public class TestCaseOldAPI extends ComplexTestCase {
xProp.setPropertyValue( "Logarithmic", new Boolean( false ));
assure( "Scaling is not logarithmic",
! AnyConverter.toBoolean( xProp.getPropertyValue( "Logarithmic" )) );
+
+ int nNewColor = 0xcd853f; // peru
+ xProp.setPropertyValue( "LineColor", new Integer( nNewColor ));
+ assure( "Property LineColor",
+ AnyConverter.toInt( xProp.getPropertyValue( "LineColor" )) == nNewColor );
+ float fNewCharHeight = (float)(16.0);
+ xProp.setPropertyValue( "CharHeight", new Float( fNewCharHeight ));
+ assure( "Property CharHeight",
+ AnyConverter.toFloat( xProp.getPropertyValue( "CharHeight" )) == fNewCharHeight );
}
catch( Exception ex )
{