Bug 176450 Support link to CSS Feature(Model Part)
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/ReportDesignParseTest.java
.getErrorCode( ) );
		}
		try
		{
			EmbeddedImage tmp = new EmbeddedImage( "VarToAdd" ); 
			tmp.setData( "data".getBytes( EmbeddedImage.CHARSET ) ); 
			designHandle.addImage( tmp );
			tmp = new EmbeddedImage(
					"VarToAdd", DesignChoiceConstants.IMAGE_TYPE_IMAGE_BMP ); 
			tmp.setData( "data".getBytes( EmbeddedImage.CHARSET ) ); 
			designHandle.addImage( tmp );
			fail( );
		}
		catch ( SemanticException e )
		{
			assertEquals( PropertyValueException.DESIGN_EXCEPTION_VALUE_EXISTS,
					e.getErrorCode( ) );
		}
	}
	/**
	 * Checks the semantic error of ReportDesign.
	 * 
	 * @throws Exception
	 */
	public void testSemanticError( ) throws Exception
	{
		openDesign( semanticCheckFileName );
		List errors = design.getAllErrors( );
		printSemanticErrors( );
		assertEquals( 5, errors.size( ) );