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
error.getErrorCode( ) );
		error = (ErrorDetail) errors.get( 2 );
		assertEquals(
				DesignParserException.DESIGN_EXCEPTION_UNDEFINED_PROPERTY,
				error.getErrorCode( ) );
	}
	/**
	 * Open the design file with syntax error.
	 */
	public void testOpenWithMissingStartingTagError( )
	{
		try
		{
			designHandle = session.openDesign( getResource(
					INPUT_FOLDER + missingStartingTagFileName ).toString( ) );
			fail( );
		}
		catch ( DesignFileException e )
		{
			System.out.println( e );
			assertNull( designHandle );
			assertEquals( DesignFileException.DESIGN_EXCEPTION_INVALID_XML, e
					.getErrorCode( ) );
			assertEquals( 2, e.getErrorList( ).size( ) );
		}
	}
	/**
	 * Open the design file with syntax error.
	 */
	public void testOpenWithUnmatchedTagError( )