Bug 213401 Compile errors occur in org.eclipse.birt.report.tests.engine in 2.3 Daily Build 20071219
Compile errors occur in org.eclipse.birt.report.tests.engine in 2.3 Daily Build 20071219. The error message is below: [javac] ---------- [javac] ---------- [javac] 14. ERROR in /home/adb/releng.230/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/IAutoTextContentTest.java (at line 44) [javac] IAutoTextContent autoTextContent = new AutoTextContent( new ReportContent() ); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The constructor AutoTextContent(ReportContent) is not visible [javac] ---------- [javac] ---------- [javac] 15. ERROR in /home/adb/releng.230/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/IBandContentTest.java (at line 42) [javac] IBandContent bandContent = new AbstractBandContent( new ReportContent( ) ); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The constructor AbstractBandContent(IReportContent) is not visible [javac] ---------- [javac] ---------- [javac] 16. ERROR in /home/adb/releng.230/src/plugins/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/ICellContentTest.java (at line 28) [javac] cell = new CellContent( new ReportContent( ) ); [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [javac] The constructor CellContent(IReportContent) is not visible [javac] ---------- [javac] ----------
testsuites/org.eclipse.birt.report.tests.engine/src/org/eclipse/birt/report/tests/engine/api/IAutoTextContentTest.java
case 1 :
				assertTrue( ( (ArrayList) page.getPageHeader( ).getChildren( ) )
						.get( 0 ) instanceof ITableContent );
				IContent tableContent = (ITableContent) ( (ArrayList) page
						.getPageHeader( )
						.getChildren( ) ).get( 0 );
				IContent rowContent = (IContent) ( (ArrayList) tableContent
						.getChildren( ) ).get( 0 );
				IContent cellContent = (IContent) ( (ArrayList) rowContent
						.getChildren( ) ).get( 0 );
				assertTrue( ( (ArrayList) cellContent.getChildren( ) ).get( 0 ) instanceof IAutoTextContent );
				autoTextContent = (IAutoTextContent) ( (ArrayList) cellContent
						.getChildren( ) ).get( 0 );
				assertEquals( "2", autoTextContent.getText( ) );
				assertEquals( IAutoTextContent.PAGE_NUMBER, autoTextContent
						.getType( ) );
				cellContent = (IContent) ( (ArrayList) rowContent
						.getChildren( ) ).get( 2 );
				assertTrue( ( (ArrayList) cellContent.getChildren( ) ).get( 0 ) instanceof IAutoTextContent );
				autoTextContent = (IAutoTextContent) ( (ArrayList) cellContent
						.getChildren( ) ).get( 0 );
				assertEquals( "2", autoTextContent.getText( ) );
				assertEquals( IAutoTextContent.TOTAL_PAGE, autoTextContent
						.getType( ) );
				break;
		}
		count++;
	}
}