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
DimensionType y1 = new DimensionType( 1, "in" );
		content.setY( y1 );
		assertEquals( y1, content.getY( ) );
		content.setY( null );
		assertNull( content.getY( ) );
	}
	/**
	 * Test read/writeContent() methods.
	 * 
	 * @throws IOException
	 */
	public void testContent( ) throws IOException
	{
		IReportContent rContent = new ReportContent( );
		IContent content1 = new ContainerContent( rContent ), content2 = new ContainerContent(
				rContent );
		content1.setName( "myContent" );
		content1.setHelpText( "myHelpText" );
		ByteArrayOutputStream bos = new ByteArrayOutputStream( );
		DataOutputStream dos = new DataOutputStream( bos );
		( (ContainerContent) content1 ).setVersion( 1 );
		content1.writeContent( dos );
		InputStream is = new ByteArrayInputStream( bos.toByteArray( ) );
		DataInputStream dis = new DataInputStream( is );
		( (ContainerContent) content2 ).setVersion( 1 );
		content2.readContent( dis );
		assertEquals( content1.getName( ), content2.getName( ) );
		assertEquals( content1.getHelpText( ), content2.getHelpText( ) );
	}
	/**