Bug 132064 org.eclipse.birt.report.designer.tests compiles error in daily build 20060316
org.eclipse.birt.report.designer.tests compiles error in daily build 20060316. The error msg is below: [javac] E:\DailyBuild\eclipse\plugins\org.eclipse.birt.report.designer.tests\test\org\eclipse\birt\report\designer\ui\SimpleUITest.java:16: cannot resolve symbol [javac] symbol : class ReportEditorProxy [javac] location: package editors [javac] import org.eclipse.birt.report.designer.ui.editors.ReportEditorProxy; [javac] ^ [javac] E:\DailyBuild\eclipse\plugins\org.eclipse.birt.report.designer.tests\test\org\eclipse\birt\report\designer\ui\SimpleUITest.java:53: cannot resolve symbol [javac] symbol : class ReportEditorProxy [javac] location: class org.eclipse.birt.report.designer.ui.SimpleUITest [javac] assertTrue( tPart instanceof ReportEditorProxy ); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 2 errors Please see the attachment for details.
UI/org.eclipse.birt.report.designer.tests/test/org/eclipse/birt/report/designer/internal/ui/util/UIUtilUITest.java
import org.eclipse.birt.report.model.api.DataSetHandle;
import org.eclipse.birt.report.model.api.DataSourceHandle;
import org.eclipse.birt.report.model.api.LabelHandle;
import org.eclipse.birt.report.model.api.ListGroupHandle;
import org.eclipse.birt.report.model.api.ListHandle;
import org.eclipse.birt.report.model.api.ParameterGroupHandle;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.eclipse.birt.report.model.api.ScalarParameterHandle;
import org.eclipse.birt.report.model.api.TextItemHandle;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.ui.views.contentoutline.ContentOutlinePage;
/**
 * UI tests for UIUtil
 */
public class UIUtilUITest extends BirtUITestCase
{
	public void testIsReportEditorActivated( ) throws Exception
	{
		openEditor( );
		assertTrue( UIUtil.isReportEditorActivated( ) );
		closeEditor( );
		assertFalse( UIUtil.isReportEditorActivated( ) );
	}
	/*
	 * Class under test for ReportEditor getActiveReportEditor()
	 */
	public void testGetActiveReportEditor( ) throws Exception
	{
		openEditor( );
		assertTrue( UIUtil.getActiveReportEditor( ) != null );