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/parser/UserPropertyTest.java
* @see TestCase#tearDown()
	 */
	protected void tearDown( ) throws Exception
	{
		super.tearDown( );
	}
	/**
	 * Test the exceptions parsing the user-defined properties.
	 * 
	 */
	public void testHandlerError( )
	{
		try
		{
			openDesign( "UserPropertyTest_1.xml" );  	
		}
		catch ( DesignFileException e )
		{
			assertEquals( 4, e.getErrorList( ).size( ) );
			int i = 0;
			assertEquals(
					UserPropertyException.DESIGN_EXCEPTION_DUPLICATE_NAME,
					( (ErrorDetail) e.getErrorList( ).get( i++ ) )
							.getErrorCode( ) );
			assertEquals(
					UserPropertyException.DESIGN_EXCEPTION_CHOICE_VALUE_REQUIRED,
					( (ErrorDetail) e.getErrorList( ).get( i++ ) )
							.getErrorCode( ) );
			assertEquals(
					DesignParserException.DESIGN_EXCEPTION_UNDEFINED_PROPERTY,