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/ElementFactoryTest.java
assertNotNull( handle );
		handle = factory.newLabel( "new label" ); 
		assertNotNull( handle );
		handle = factory.newLineItem( "new line" ); 
		assertNotNull( handle );
		handle = factory.newList( "new list" ); 
		assertNotNull( handle );
		handle = factory.newListGroup( );
		assertNotNull( handle );
		handle = factory.newParameterGroup( "new parameter group" ); 
		assertNotNull( handle );
		handle = factory.newRectangle( "new rectangle" ); 
		assertNotNull( handle );
		handle = factory.newScalarParameter( null );
		assertEquals( "NewParameter", handle.getName( ) ); 
		handle = factory.newScalarParameter( "new scalar parameter" ); 
		assertNotNull( handle );
		handle = factory.newScriptDataSet( "new script data set" ); 
		assertNotNull( handle );
		handle = factory.newScriptDataSource( "new script data source" ); 
		assertNotNull( handle );
		handle = factory.newSimpleMasterPage( "new simple master page" ); 
		assertNotNull( handle );
		handle = factory.newStyle( "new style" ); 
		assertNotNull( handle );
		handle = factory.newTableColumn( );
		assertNotNull( handle );
		handle = factory.newTableGroup( );
		assertNotNull( handle );
		handle = factory.newTableItem( "new table" );