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
assertEquals( "Group3 displayName", group3.getDisplayName( ) ); 
		CascadingParameterGroupHandle group4 = designHandle
				.findCascadingParameterGroup( "non-exsit-group" ); 
		assertNull( group4 );
	}
	/**
	 * Test cases: Test the getAllBookmarks method on the ModuleHandle which
	 * returns all the bookmarks defined in the report design.
	 * 
	 * @throws Exception
	 */
	public void testGetBookmarksAndTocs( ) throws Exception
	{
		openDesign( "ReportDesignBookmark.xml" ); 
		List bookmarks = designHandle.getAllBookmarks( );
		assertEquals( 4, bookmarks.size( ) );
		assertEquals( "bookmark_label", bookmarks.get( 0 ) ); 
		assertEquals( "\"bookmark_group\"", bookmarks.get( 1 ) ); 
		assertEquals( "bookmark_detail_row", bookmarks.get( 2 ) ); 
		assertEquals( "bookmark_detail_text", bookmarks.get( 3 ) ); 
		List tocs = designHandle.getAllTocs( );
		assertEquals( 3, tocs.size( ) );
		assertEquals( "Toc_label", tocs.get( 0 ) ); 
		assertEquals( "DateTimeSpan.days(2005/01/01, 2006/01/01)", tocs.get( 1 ) ); 
		assertEquals( "toc_detail_text", tocs.get( 2 ) ); 
	}
	/**
	 * Test the rerpot design initialize method. After the initialize method is
	 * called, there should be one master page created for the report. The
	 * properties values given by the argument should be set to the report