Bug 176450 Support link to CSS Feature(Model Part)
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/LibraryThemeTest.java
.getProperty( Style.COLOR_PROP ) );
		assertEquals( ColorPropertyType.MAROON, label3
				.getProperty( Style.COLOR_PROP ) );
		assertEquals( ColorPropertyType.GRAY, list1
				.getProperty( Style.COLOR_PROP ) );
	}
	/**
	 * Test cases:
	 * 
	 * 1. when the theme is set, the property value of style should be changed.
	 * 2. when the theme is set, the notification is sent to the module.
	 * 
	 * @throws Exception
	 */
	public void testSetTheme( ) throws Exception
	{
		openDesign( "DesignWithThemeInLibrary.xml" ); 
		LabelHandle label2 = (LabelHandle) designHandle.findElement( "label2" ); 
		ListHandle list1 = (ListHandle) designHandle.findElement( "list1" ); 
		assertEquals( ColorPropertyType.LIME, label2
				.getProperty( Style.COLOR_PROP ) );
		assertEquals( ColorPropertyType.GRAY, list1
				.getProperty( Style.COLOR_PROP ) );
		ThemeHandle theme2 = designHandle.findTheme( "Theme.theme2" ); 
		assertNotNull( theme2 );
		designHandle.setTheme( theme2 );
		assertEquals( ColorPropertyType.AQUA, label2
				.getProperty( Style.COLOR_PROP ) );
		assertEquals( ColorPropertyType.BLUE, list1
				.getProperty( Style.COLOR_PROP ) );