List list = designHandle.getErrorList( ); assertEquals( 1, list.size( ) ); assertEquals( SemanticError.DESIGN_EXCEPTION_CANNOT_SPECIFY_PAGE_SIZE, ( (ErrorDetail) list.get( 0 ) ).getErrorCode( ) );      designHandle.semanticCheck( );      list = designHandle.getErrorList( ); assertEquals( 1, list.size( ) ); assertEquals( SemanticError.DESIGN_EXCEPTION_CANNOT_SPECIFY_PAGE_SIZE, ( (ErrorDetail) list.get( 0 ) ).getErrorCode( ) );
	public void testReportDesignOtherMethods( )	{		DesignElement element = designHandle.getElement( );		assertTrue( element instanceof ReportDesign );		assertTrue( element == design );		assertTrue( designHandle.getDesign( ) == design );		assertTrue( designHandle.getDesignHandle( ) != null );		// error for master page size		List list = designHandle.getErrorList( );		assertEquals( 1, list.size( ) );		assertEquals( SemanticError.DESIGN_EXCEPTION_CANNOT_SPECIFY_PAGE_SIZE,				( (ErrorDetail) list.get( 0 ) ).getErrorCode( ) );		// assertEquals( SemanticError.DESIGN_EXCEPTION_MISSING_EXTENSION,		// ( (ErrorDetail) list.get( 1 ) ).getErrorCode( ) );		// assertEquals( SemanticError.DESIGN_EXCEPTION_MISSING_EXTENSION,		// ( (ErrorDetail) list.get( 2 ) ).getErrorCode( ) );		designHandle.semanticCheck( );		// should keep the same errors and warnings.		// error for master page size		list = designHandle.getErrorList( );		assertEquals( 1, list.size( ) );		assertEquals( SemanticError.DESIGN_EXCEPTION_CANNOT_SPECIFY_PAGE_SIZE,				( (ErrorDetail) list.get( 0 ) ).getErrorCode( ) );		// oda data set and data source can have no extension		// assertEquals( SemanticError.DESIGN_EXCEPTION_MISSING_EXTENSION,		// ( (ErrorDetail) list.get( 1 ) ).getErrorCode( ) );		// assertEquals( SemanticError.DESIGN_EXCEPTION_MISSING_EXTENSION,		// ( (ErrorDetail) list.get( 2 ) ).getErrorCode( ) );		ParameterHandle paramHandle = designHandle.findParameter( "Param 2" ); //$NON-NLS-1$		assertNotNull( paramHandle );	}