Bug 123550 Unit test has errors on 20060112
Please see attached file.
UI/org.eclipse.birt.report.designer.tests/test/org/eclipse/birt/report/designer/internal/ui/util/UIUtilUITest.java
{
	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 );
		assertTrue( UIUtil.getActiveReportEditor( true ) != null );
		assertTrue( UIUtil.getActiveReportEditor( false ) != null );
		closeEditor( );
		assertTrue( UIUtil.getActiveReportEditor( ) == null );
		assertTrue( UIUtil.getActiveReportEditor( true ) == null );
		assertTrue( UIUtil.getActiveReportEditor( false ) == null );
	}
	public void testGetLayoutEditPartViewer( ) throws Exception
	{
		openEditor( );
		assertTrue( UIUtil.getLayoutEditPartViewer( ) != null );
		closeEditor( );
		assertTrue( UIUtil.getLayoutEditPartViewer( ) == null );