Bug 182062 Define and provide Date/Time format value
DateTime type has been supported in BIRT. Now, there's a proposal on support Date/Time type in BIRT Report Designer. In order to enable end user setting the format of Date/Time type, please define and provide format value for both Date and Time.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/StyleParseTest.java
openDesign( "StyleParseTest_obsolete.xml" ); 
		save( );
		assertTrue( compareFile( "StyleParseTest_obsolete_golden.xml" ) ); 
	}
	/**
	 * Tests the validation for font-family.
	 * 
	 * @throws Exception
	 */
	public void testFontFamily( ) throws Exception
	{
		openDesign( fileName );
		StyleHandle style = designHandle.getElementFactory( ).newStyle( null );
		designHandle.getStyles( ).add( style );
		
		String value = DesignChoiceConstants.FONT_FAMILY_CURSIVE;
		style.getFontFamilyHandle( ).setValue( value );
		assertEquals( DesignChoiceConstants.FONT_FAMILY_CURSIVE, style
				.getStringProperty( IStyleModel.FONT_FAMILY_PROP ) );
		
		value = "a b"; 
		style.getFontFamilyHandle( ).setValue( value );
		assertEquals(
				"\"a b\"", style.getStringProperty( IStyleModel.FONT_FAMILY_PROP ) ); 
		value = " a b, " + "\"cd\" ," + DesignChoiceConstants.FONT_FAMILY_FANTASY; 
		style.getFontFamilyHandle( ).setValue( value );
		assertEquals(
				"\"a b\", \"cd\", " + DesignChoiceConstants.FONT_FAMILY_FANTASY, style.getStringProperty( IStyleModel.FONT_FAMILY_PROP ) ); 
	}
}