diff options
author | Björn Milcke <bm@openoffice.org> | 2003-10-06 15:01:51 +0000 |
---|---|---|
committer | Björn Milcke <bm@openoffice.org> | 2003-10-06 15:01:51 +0000 |
commit | 63fc0af692b1179ef57b996cd10937b4d0fd995f (patch) | |
tree | 22c9c4898e7f612b49657cb3a7aafb7a7d2d0f2d /chart2/qa | |
parent | use global LineProperties instead of own ones (esp. due to global ids) (diff) | |
download | core-63fc0af692b1179ef57b996cd10937b4d0fd995f.tar.gz core-63fc0af692b1179ef57b996cd10937b4d0fd995f.zip |
Axis: +one Line- and Character Property
Diffstat (limited to 'chart2/qa')
-rw-r--r-- | chart2/qa/TestCaseOldAPI.java | 9 |
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 ) { |