Bug 180089 BIRT model - TOC predefined styles
In ROM we need to support predefined styles for TOC too. This will allow user to easily create a TOC style, by creating one of two styles. Suggestion i have is - TOC ( Applies to all TOC nodes ) - TOC-level1 ( If defined applies to first level toc nodes ) - TOC-level2 ........... - TOC-level5
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ReportDesignHandleTest.java
* deisgn element. All thos operation should not go into command stack.
	 * 
	 * @throws SemanticException
	 * @throws IOException
	 */
	public void testInitializeReportDesign( ) throws SemanticException,
			IOException
	{
		SessionHandle sessionHandle = new SessionHandle( (ULocale) null );
		designHandle = sessionHandle.createDesign( );
		Map properties = new HashMap( );
		String createdBy = "test initialize"; 
		
		properties.put( "Build", "2006-12-25" );
		
		properties.put( ReportDesign.CREATED_BY_PROP, createdBy );
		designHandle.initializeModule( properties );
		assertEquals( 0, designHandle.getMasterPages( ).getCount( ) );
		assertNull( designHandle.getProperty( "Build" ) );
		assertEquals( createdBy, designHandle
				.getProperty( ReportDesign.CREATED_BY_PROP ) );
		CommandStack stack = designHandle.getCommandStack( );
		assertFalse( stack.canRedo( ) );
		assertFalse( stack.canUndo( ) );
	}
	/**
	 * Does the equal assert only when the platform is windows.
	 * 
	 * @param expected
	 * @param actual