Bug 166308 org.eclipse.birt.report.engine.tests compile fail in daily build 20061130
org.eclipse.birt.report.engine.tests compile fail in daily build 20061130. The error msg is below: [javac] 23. ERROR in /home/adb/farrah/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/script/element/ElementTest.java (at line 139) [javac] cell.setColumnSpan( 3 ); [javac] ^^^^^^^^^^^^^ [javac] The method setColumnSpan(int) is undefined for the type ICell [javac] ---------- [javac] 24. ERROR in /home/adb/farrah/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/script/element/ElementTest.java (at line 140) [javac] assertEquals( 3, cell.getColumnSpan( ) ); [javac] ^^^^^^^^^^^^^ [javac] The method getColumnSpan() is undefined for the type ICell [javac] ---------- [javac] 25. ERROR in /home/adb/farrah/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/script/element/ElementTest.java (at line 145) [javac] cell.setRowSpan( 4 ); [javac] ^^^^^^^^^^ [javac] The method setRowSpan(int) is undefined for the type ICell [javac] ---------- [javac] 26. ERROR in /home/adb/farrah/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/script/element/ElementTest.java (at line 146) [javac] assertEquals( 4, cell.getRowSpan( ) ); [javac] ^^^^^^^^^^ [javac] The method getRowSpan() is undefined for the type ICell [javac] ---------- [javac] 27. ERROR in /home/adb/farrah/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/script/element/ElementTest.java (at line 176) [javac] IDataBinding[] bindings = item.getColumnBindings( ); [javac] ^^^^^^^^^^^^^^^^^ [javac] The method getColumnBindings() is undefined for the type IReportItem [javac] ---------- [javac] 28. ERROR in /home/adb/farrah/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/script/element/ElementTest.java (at line 205) [javac] assertEquals( "row[\"age\"]", item.getColumnBinding( "column1" ) );//$NON-NLS-1$//$NON-NLS-2$ [javac] ^^^^^^^^^^^^^^^^ [javac] The method getColumnBinding(String) is undefined for the type IReportItem [javac] ---------- [javac] 29. ERROR in /home/adb/farrah/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/script/element/ElementTest.java (at line 209) [javac] item.removeColumnBinding( "column2" );//$NON-NLS-1$ [javac] ^^^^^^^^^^^^^^^^^^^ [javac] The method removeColumnBinding(String) is undefined for the type IReportItem [javac] ---------- [javac] 30. ERROR in /home/adb/farrah/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/script/element/ElementTest.java (at line 210) [javac] assertNull( item.getColumnBinding( "column2" ) );//$NON-NLS-1$ [javac] ^^^^^^^^^^^^^^^^ [javac] The method getColumnBinding(String) is undefined for the type IReportItem [javac] ----------
engine/org.eclipse.birt.report.engine.tests/test/org/eclipse/birt/report/engine/api/script/element/ElementTest.java
assertEquals( WHITE, style.getColor( ) );
		style.setDateTimeFormat( YY_MM_DD );
		assertEquals( YY_MM_DD, style.getDateTimeFormat( ) );
		style
				.setDateTimeFormatCategory( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_MUDIUM_DATE );
		assertEquals( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_MUDIUM_DATE,
				style.getDateTimeFormatCategory( ) );
		style.setDisplay( DesignChoiceConstants.DISPLAY_INLINE );
		assertEquals( DesignChoiceConstants.DISPLAY_INLINE, style.getDisplay( ) );
		style.setFontFamily( DesignChoiceConstants.FONT_FAMILY_SANS_SERIF );
		assertEquals( DesignChoiceConstants.FONT_FAMILY_SANS_SERIF, style
				.getFontFamily( ) );
		style.setFontSize( FONT_SIZE );
		assertEquals( FONT_SIZE, style.getFontSize( ) );
		style.setFontStyle( DesignChoiceConstants.FONT_STYLE_ITALIC );
		assertEquals( DesignChoiceConstants.FONT_STYLE_ITALIC, style
				.getFontStyle( ) );
		style.setFontVariant( DesignChoiceConstants.FONT_VARIANT_SMALL_CAPS );
		assertEquals( DesignChoiceConstants.FONT_VARIANT_SMALL_CAPS, style
				.getFontVariant( ) );
		style.setFontWeight( DesignChoiceConstants.FONT_WEIGHT_BOLD );
		assertEquals( DesignChoiceConstants.FONT_WEIGHT_BOLD, style
				.getFontWeight( ) );
		style.setLetterSpacing( LETTER_SPACING );
		assertEquals( LETTER_SPACING, style.getLetterSpacing( ) );
		style.setLineHeight( LINE_HEIGHT );
		assertEquals( LINE_HEIGHT, style.getLineHeight( ) );
		style.setMarginBottom( MARGIN_BOTTOM );
		assertEquals( MARGIN_BOTTOM, style.getMarginBottom( ) );
		style.setMarginLeft( MARGIN_LEFT );