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/SessionHandleTest.java
/**
	 * Tests values of system id and filename after open a design file.
	 * 
	 * @param designHandle
	 *            the report design handle
	 * @param file
	 *            the <code>File</code> instance of the design file
	 * @throws Exception
	 */
	private void testSystemIdAndFileName( ReportDesignHandle designHandle,
			URL url, URL parentUrl ) throws Exception
	{
		assertEquals( parentUrl.toString( ), designHandle.getSystemId( )
				.toString( ) );
		List libraries = designHandle.getLibraries( );
		assertEquals( 2, libraries.size( ) );
		LibraryHandle libHandle = (LibraryHandle) libraries.get( 0 );
		assertTrue( libHandle.isValid( ) );
		assertEquals( parentUrl.toString( ), libHandle.getSystemId( )
				.toString( ) );
		libHandle = (LibraryHandle) libraries.get( 1 );
		assertTrue( libHandle.isValid( ) );
		
		
		URL tmpUrl = getResource( "/org/eclipse/birt/report/model/library/" 
				+ INPUT_FOLDER );
		assertTrue( tmpUrl.sameFile( libHandle.getSystemId( ) ) );
	}
	/**
	 * Test open a generic module file