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
theme1.getStyles( ).add( textSelector );
		assertEquals( ColorPropertyType.NAVY, text1
				.getProperty( Style.COLOR_PROP ) );
		assertEquals( 1, listener.counter );
		libraryHandle.getCommandStack( ).undo( );
		assertEquals( ColorPropertyType.BLACK, text1
				.getProperty( Style.COLOR_PROP ) );
		assertEquals( 2, listener.counter );
	}
	/**
	 * Test cases:
	 * <p>
	 * 1. remove/add themes in the library and see effects to the library.
	 * 
	 * @throws Exception
	 */
	public void testAddRemoveThemeLocally( ) throws Exception
	{
		openLibrary( "LibraryTheme.xml" ); 
		assertNotNull( libraryHandle.getTheme( ) );
		StyleHandle libStyle1 = libraryHandle.findStyle( "libStyle1" ); 
		libStyle1.drop( );
		libraryHandle.getCommandStack( ).undo( );
		LabelHandle label3 = (LabelHandle) libraryHandle.findElement( "label3" ); 
		assertEquals( "lime", label3.getStringProperty( Style.COLOR_PROP ) ); 
		ThemeHandle theme1 = libraryHandle.findTheme( "theme1" ); 
		assertNotNull( theme1 );
		
		TextItemHandle text1 = (TextItemHandle) libraryHandle
				.findElement( "text1" );