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/IContentTest.java
assertNull( content.getBookmark( ) );
		content.setBookmark( "bookmark" );
		assertEquals( "bookmark", content.getBookmark( ) );
	}
	/**
	 * Test set/getExtension() methods.
	 */
	public void testExtension( )
	{
		assertNull( content.getExtension( 0 ) );
		assertNull( content.getExtension( 1 ) );
		content.setExtension( 0, "extension0" );
		assertEquals( "extension0", content.getExtension( 0 ) );
		content.setExtension( 1, null );
		assertNull( content.getExtension( 1 ) );
	}
	/**
	 * Test accept() method.
	 */
	public void testAccept( )
	{
		Object value = new Object( );
		IContentVisitor visitor = new ContentVisitorAdapter( );
		Object value1 = content.accept( visitor, value );
		assertEquals( value, value1 );
		value1 = content.accept( visitor, null );
		assertNull( value1 );
	}
}