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
assertEquals( "org.eclipse.birt.report.model.tests.box.Box", clazz 
				.getName( ) );
		List boxMethods = clazz.getMethods( );
		IMethodInfo boxMethod = (IMethodInfo) boxMethods.get( 0 );
		assertEquals( "getMethod1", boxMethod.getName( ) ); 
		assertEquals( "java.lang.String", boxMethod.getReturnType( ) ); 
		boxMethod = (IMethodInfo) boxMethods.get( 1 );
		assertEquals( "setMethod1", boxMethod.getName( ) ); 
		assertEquals( "void", boxMethod.getReturnType( ) ); 
		assertEquals( "void", boxMethod.getClassReturnType( ).getName( ) ); 
		IArgumentInfoList arguments = (IArgumentInfoList) boxMethod
				.argumentListIterator( ).next( );
		IArgumentInfo argument = (IArgumentInfo) arguments.argumentsIterator( )
				.next( );
		assertEquals( "", argument.getName( ) ); 
		assertEquals( "int", argument.getType( ) ); 
		assertEquals( "int", argument.getClassType( ).getName( ) ); 
		method = (IMethodInfo) retList.get( 1 );
		assertEquals( "beforeOnCreate", method.getName( ) ); 
		assertEquals( "javadoc for beforeOnCreate<br>", method.getJavaDoc( ) ); 
		Iterator arguList = method.argumentListIterator( );
		IArgumentInfoList argus = (IArgumentInfoList) arguList.next( );
		IArgumentInfo argu = argus.getArgument( "object" ); 
		clazz = argu.getClassType( );
		assertEquals( "org.eclipse.birt.report.model.tests.box.Box", clazz 
				.getName( ) );
		boxMethods = clazz.getMethods( );
		boxMethod = (IMethodInfo) boxMethods.get( 0 );
		assertEquals( "getMethod1", boxMethod.getName( ) ); 
		assertEquals( "java.lang.String", boxMethod.getReturnType( ) );