MetaDataDictionary.reset( ); ThreadResources.setLocale( ULocale.ENGLISH ); MetaDataReader .read( ReportDesign.class.getResourceAsStream( "rom.def" ) );
	public void testParseRom( ) throws MetaDataParserException	{		MetaDataDictionary.reset( );		ThreadResources.setLocale( ULocale.ENGLISH );		MetaDataReader				.read( ReportDesign.class.getResourceAsStream( "rom.def" ) ); //$NON-NLS-1$		// the default value;		IElementDefn ed = MetaDataDictionary.getInstance( ).getElement(				ReportDesignConstants.SIMPLE_DATA_SET_ELEMENT );		SystemPropertyDefn defn = (SystemPropertyDefn) ed				.getProperty( SimpleDataSet.AFTER_CLOSE_METHOD );		// the element reference type no choices.		assertTrue( defn.isEditable( ) );		ed = MetaDataDictionary.getInstance( ).getElement(				ReportDesignConstants.STYLE_ELEMENT );		// the extended choice		defn = (SystemPropertyDefn) ed.getProperty( Style.FONT_SIZE_PROP );		assertTrue( defn.isEditable( ) );		// the choice		defn = (SystemPropertyDefn) ed.getProperty( Style.FONT_VARIANT_PROP );		assertFalse( defn.isEditable( ) );		defn = (SystemPropertyDefn) ed.getProperty( Style.FONT_VARIANT_PROP );		assertFalse( defn.isEditable( ) );		defn = (SystemPropertyDefn) ed				.getProperty( Style.BACKGROUND_COLOR_PROP );		assertTrue( defn.isEditable( ) );	}