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
MockupElementDefn elemDefn1 = new MockupElementDefn( );
		MockupElementDefn elemDefn2 = new MockupElementDefn( );
		MockupElementDefn elemDefn3 = new MockupElementDefn( );
		MetaDataDictionary dd = MetaDataDictionary.getInstance( );
		PropertyType type = dd.getPropertyType( IPropertyType.STRING_TYPE );
		ElementPropertyDefn prop1 = new SystemPropertyDefn( );
		prop1.setName( "prop1" ); 
		prop1.setType( type );
		ElementPropertyDefn prop2 = new SystemPropertyDefn( );
		prop2.setName( "prop2" ); 
		prop2.setType( type );
		ElementPropertyDefn prop3 = new SystemPropertyDefn( );
		prop3.setName( "prop3" ); 
		prop3.setType( type );
		ElementPropertyDefn prop4 = new SystemPropertyDefn( );
		prop4.setName( "prop4" ); 
		prop4.setType( type );
		ElementPropertyDefn prop5 = new SystemPropertyDefn( );
		prop5.setName( "prop5" ); 
		prop5.setType( type );
		elemDefn1.addProperty( prop1 );
		elemDefn1.addProperty( prop2 );
		elemDefn1.addProperty( prop3 );
		elemDefn1.addProperty( prop4 );
		elemDefn1.addProperty( prop5 );
		elemDefn2.addProperty( prop1 );