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
assertTrue( element instanceof ListGroupHandle );
		element = factory.newElement( ReportDesignConstants.LIST_ITEM, null );
		assertTrue( element instanceof ListHandle );
		element = factory.newElement(
				ReportDesignConstants.MASTER_PAGE_ELEMENT, null );
		assertNull( element );
		element = factory.newElement( ReportDesignConstants.TEXT_DATA_ITEM,
				null );
		assertTrue( element instanceof TextDataHandle );
		element = factory.newElement(
				ReportDesignConstants.PARAMETER_GROUP_ELEMENT, null );
		assertTrue( element instanceof ParameterGroupHandle );
		element = factory.newElement( ReportDesignConstants.RECTANGLE_ITEM,
				null );
		assertTrue( element instanceof RectangleHandle );
		element = factory.newElement(
				ReportDesignConstants.REPORT_DESIGN_ELEMENT, null );
		assertTrue( element instanceof ReportDesignHandle );
		element = factory.newElement( ReportDesignConstants.REPORT_ITEM, null );
		assertNull( element );
		element = factory.newElement( ReportDesignConstants.ROW_ELEMENT, null );
		assertTrue( element instanceof RowHandle );
		element = factory.newElement(
				ReportDesignConstants.SCALAR_PARAMETER_ELEMENT, null );
		assertTrue( element instanceof ScalarParameterHandle );
		element = factory.newElement( ReportDesignConstants.SCRIPT_DATA_SOURCE,
				null );
		assertTrue( element instanceof ScriptDataSourceHandle );
		element = factory.newElement(
				ReportDesignConstants.SIMPLE_MASTER_PAGE_ELEMENT, null );