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
}
		};
		session.setResourceLocator( testLocator );
		assertEquals( testLocator, session.getResourceLocator( ) );
	}
	/**
	 * Tests default value of session.
	 * 
	 * @throws Exception
	 *             if any exception.
	 */
	public void testDefaultValue( ) throws Exception
	{
		session.setDefaultValue( Style.BORDER_BOTTOM_COLOR_PROP, "#00ffff" ); 
		session.setDefaultValue( Style.BORDER_TOP_COLOR_PROP, "#ff0000" ); 
		session.setDefaultValue( Style.BORDER_LEFT_COLOR_PROP, "#0000ff" ); 
		assertEquals(
				"65535", session.getDefaultValue( Style.BORDER_BOTTOM_COLOR_PROP ).toString( ) ); 
		assertEquals(
				"16711680", session.getDefaultValue( Style.BORDER_TOP_COLOR_PROP ).toString( ) ); 
		assertEquals(
				"255", session.getDefaultValue( Style.BORDER_LEFT_COLOR_PROP ).toString( ) ); 
	}
	/**
	 * Tests to open the design as streams with the system id. Test cases are:
	 * 
	 * <ul>
	 * <li></li>
	 * </ul>
	 *