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
GroupElementHandle groupElementHandle = new SimpleGroupElementHandle(
				designHandle, elements );
		Iterator iter = groupElementHandle.visiblePropertyIterator( );
		for ( ; iter.hasNext( ); )
		{
			GroupPropertyHandle propHandle = (GroupPropertyHandle) iter.next( );
			assertTrue( propHandle.isVisible( ) );
		}
	}
	/**
	 * Test shareSameValue().
	 * 
	 * @throws SemanticException
	 */
	public void testShareSameValue( ) throws SemanticException
	{
		
		ArrayList elements = new ArrayList( );
		LabelHandle label1 = elemFactory.newLabel( "Label1" ); 
		LabelHandle label2 = elemFactory.newLabel( "Label2" ); 
		elements.add( label1 );
		elements.add( label2 );
		GroupElementHandle groupElementHandle = new SimpleGroupElementHandle(
				designHandle, elements );
		assertFalse( groupElementHandle.shareSameValue( "not-defined-prop" ) ); 
		label1.setBookmark( "bookmark1" ); 
		label2.setBookmark( "bookmark1" ); 
		assertTrue( groupElementHandle.shareSameValue( Label.BOOKMARK_PROP ) );
		assertEquals(
				"bookmark1", groupElementHandle.getStringProperty( Label.BOOKMARK_PROP ) );