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
{
		openDesign( scriptLibFileName, ULocale.ENGLISH );
		ScriptLib scriptLib = new ScriptLib( );
		scriptLib.setName( null );
		try
		{
			designHandle.addScriptLib( scriptLib );
			fail( "Not allowed set invalid value " );
		}
		catch ( SemanticException e )
		{
			assertEquals(
					PropertyValueException.DESIGN_EXCEPTION_VALUE_REQUIRED, e
							.getErrorCode( ) );
		}
		try
		{
			scriptLib.setName( "a.jar" );
			designHandle.addScriptLib( scriptLib );
			fail( "Not allowed set invalid value " );
		}
		catch ( SemanticException e )
		{
			assertEquals( PropertyValueException.DESIGN_EXCEPTION_VALUE_EXISTS,
					e.getErrorCode( ) );
		}
		scriptLib.setName( "x.jar" );
		assertEquals( 3, designHandle.getAllScriptLibs( ).size( ) );
		designHandle.addScriptLib( scriptLib );
		assertEquals( 4, designHandle.getAllScriptLibs( ).size( ) );