Bug 183918 get relative file path of linkage library
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/DesignLoadLibraryTest.java
assertEquals( strings1.length, strings2.length );
		for ( int i = 0; i < strings1.length; i++ )
		{
			assertEquals( strings1[i], strings2[i] );
		}
	}
	/**
	 * Tests the style resolution.
	 * 
	 * @throws Exception
	 *             if any exception
	 */
	public void testStyleResolver( ) throws Exception
	{
		openDesign( "DesignWithElementReferenceLibrary.xml" ); 
		
		LabelHandle label = (LabelHandle) designHandle.findElement( "label1" ); 
		assertEquals( "style3", label 
				.getStringProperty( LabelHandle.STYLE_PROP ) );
		StyleHandle libStyleHandle = label.getStyle( );
		assertNotNull( libStyleHandle );
		assertEquals( "style3", libStyleHandle.getName( ) ); 
		
		
		StyleHandle designStyleHandle = designHandle.getElementFactory( )
				.newStyle( "style3" ); 
		designHandle.getStyles( ).add( designStyleHandle );
		assertEquals( designStyleHandle, label.getStyle( ) );