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( MARGIN_LEFT, style.getMarginLeft( ) );
		style.setMarginRight( MARGIN_RIGHT );
		assertEquals( MARGIN_RIGHT, style.getMarginRight( ) );
		style.setMarginTop( MARGIN_TOP );
		assertEquals( MARGIN_TOP, style.getMarginTop( ) );
		style.setMasterPage( MASTER_PAGE );
		assertEquals( MASTER_PAGE, style.getMasterPage( ) );
		style
				.setNumberFormat( DesignChoiceConstants.NUMBER_FORMAT_TYPE_CURRENCY );
		assertEquals( DesignChoiceConstants.NUMBER_FORMAT_TYPE_CURRENCY, style
				.getNumberFormat( ) );
		style
				.setNumberFormatCategory( DesignChoiceConstants.NUMBER_FORMAT_TYPE_PERCENT );
		assertEquals( DesignChoiceConstants.NUMBER_FORMAT_TYPE_PERCENT, style
				.getNumberFormatCategory( ) );
		style.setOrphans( ORPHANS );
		assertEquals( ORPHANS, style.getOrphans( ) );
		style.setPaddingBottom( PADDING_BOTTOM );
		assertEquals( PADDING_BOTTOM, style.getPaddingBottom( ) );
		style.setPaddingLeft( PADDING_LEFT );
		assertEquals( PADDING_LEFT, style.getPaddingLeft( ) );
		style.setPaddingRight( PADDING_RIGHT );
		assertEquals( PADDING_RIGHT, style.getPaddingRight( ) );
		style.setPaddingTop( PADDING_TOP );
		assertEquals( PADDING_TOP, style.getPaddingTop( ) );
		style.setPageBreakAfter( DesignChoiceConstants.PAGE_BREAK_AFTER_AVOID );
		assertEquals( DesignChoiceConstants.PAGE_BREAK_AFTER_AVOID, style
				.getPageBreakAfter( ) );
		style.setShowIfBlank( true );
		assertTrue( style.getShowIfBlank( ) );