Bug 186940 Style name in theme cannot be identify by auto when reopen the library[01]
Description: Style name in theme cannot be identify by auto when reopen the library[01] Step: 1.Open a library and add a theme 2.New a style on the theme and use the default name that is "NewStyle" 3.Save the library, close it and reopen it again. 4.New another style on the same theme Actual result: The default style name on second times is also "NewStyle" Exception result: The default style name on second times is "NewStyle1"
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/GroupElementHandleTest.java
.newSimpleMasterPage( "page1" ); 
		SimpleMasterPageHandle page2 = elemFactory
				.newSimpleMasterPage( "page2" ); 
		elements.add( page1 );
		elements.add( page2 );
		GroupElementHandle groupHandle = new SimpleGroupElementHandle(
				designHandle, elements );
		GroupPropertyHandle groupPropertyHandle = groupHandle
				.getPropertyHandle( SimpleMasterPageHandle.HEADER_HEIGHT_PROP );
		groupPropertyHandle.setValue( "500.0" ); 
		assertEquals( "5.000in", groupPropertyHandle.getDisplayValue( ) ); 
		assertEquals( "5000in", groupPropertyHandle.getStringValue( ) ); 
	}
	/**
	 * Test isPropertyReadOnly() & isPropertyVisible().
	 * 
	 * @throws SemanticException
	 */
	public void testIsPropertyReadOnlyAndIsPropertyVisible( )
			throws SemanticException
	{
		ArrayList elements = new ArrayList( );
		
		SimpleMasterPageHandle element = elemFactory
				.newSimpleMasterPage( "my page" );
		LabelHandle element1 = elemFactory.newLabel( "label1" ); 
		element.addElement( element1, SimpleMasterPage.PAGE_HEADER_SLOT );
		elements.add( element1 );
		GroupElementHandle groupHandle = new SimpleGroupElementHandle(
				designHandle, elements );