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
style2.setName( "style2" ); 
		theme.getStyles( ).add( style2 );
	}
	/**
	 * Tests the compatibility work when create the library. A default theme is
	 * created and the theme property of the library is set to be this default
	 * theme.
	 * 
	 * @throws Exception
	 * 
	 */
	public void testCreateLibrary( ) throws Exception
	{
		createLibrary( );
		assertEquals( 1, libraryHandle.getThemes( ).getCount( ) );
		saveLibrary( );
		assertTrue( compareFile( "CompatibleLibraryThemeEmpty_golden.xml" ) ); 
	}
	/**
	 * Tests the compatibility work to open a library without styles slot. A
	 * default theme is created and the theme property of the library is set to
	 * be this default theme.
	 * 
	 * @throws Exception
	 * 
	 */
	public void testCompatibleLibraryWithoutStyles( ) throws Exception
	{
		openLibrary( "CompatibleLibraryThemeWithoutStyles.xml" ); 
		saveLibrary( );