Bug 176436 Charts Imported from Libraries do not update when libraries change
During a live presentation of BIRT at EclipseCon, we came across a rather embarassing issue. When charts are included in a library, and imported into a report design from a library, any changes to the library instance of the chart do not reflect in the report itself.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/extension/PeerExtensionTest.java
method = (IMethodInfo) retList.get( 2 );
		assertEquals( "performOnCreate", method.getName( ) ); 
		assertEquals( "java.lang.String", method.getReturnType( ) ); 
		arguList = method.argumentListIterator( );
		argus = (IArgumentInfoList) arguList.next( );
		argu = (IArgumentInfo) argus.argumentsIterator( ).next( );
		clazz = argu.getClassType( );
		assertEquals( "java.lang.Boolean", clazz.getName( ) ); 
	}
	/**
	 * Tests newElementFrom and writer for extended item with element
	 * properties.
	 * 
	 * @throws Exception
	 */
	public void testElementProperty( ) throws Exception
	{
		openDesign( FILE_NAME_1 );
		designHandle.includeLibrary( "LibraryWithElementProperty.xml", "lib" ); 
		LibraryHandle lib = designHandle.getLibrary( "lib" ); 
		DesignElementHandle libBox = lib.findElement( "LibraryBox" ); 
		DesignElementHandle designBox = designHandle.getElementFactory( )
				.newElementFrom( libBox, "designBox" ); 
		designHandle.getBody( ).add( designBox );
		save( );
		assertTrue( compareFile( "PeerExtensionTest_golden_3.xml" ) ); 
	}
}