Bug 186785 create equivalent of profiler test bucket for JVMTI support
Build ID: I20070503-1400 Steps To Reproduce: The current test cases from the profiler bucket test the agent controller using JVMPI. We need to extend or adapt this to be able to run the applicable cases with the new profiler as well. More information: Currently I am running these manually using the test descriptions in /org.eclipse.tptp.ac.testautomation/automation-files/TPTP-tests/Platform.Agents.JVMPI.Windows_IA32.testsuite but using the ti agent instead of pi or the jdk1.5+ options where available.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ParameterValidationUtilTest.java
testDateTimeByFormat( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_MEDIUM_TIME,
				value6 );
		String value7 = "1970-01-01 20:01:00"; 
		testDateTimeByFormat( DesignChoiceConstants.DATETIEM_FORMAT_TYPE_SHORT_TIME,
				value7 );
	}
	/**
	 * Tests the validation of the date time type.
	 * 
	 * @param format
	 *            the format choice string
	 * @param result
	 *            the validation result string
	 * 
	 * @throws Exception
	 * 
	 */
	private void testDateTimeByFormat( String format, String result )
			throws Exception
	{
		
		ThreadResources.setLocale( ULocale.JAPAN );
		String value = null;
		final SimpleDateFormat formatPattern = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss" ); 
		Calendar dateCal = Calendar.getInstance( ThreadResources.getLocale( ) );
		dateCal.set( 1998, 8, 13, 20, 1, 44 );
		DateFormatter formatter = new DateFormatter( ThreadResources.getLocale( ) );
		formatter.applyPattern( format );
		value = formatter.format( dateCal.getTime( ) );
		String resultJAP = formatPattern.format( ParameterValidationUtil.validate( DesignChoiceConstants.PARAM_TYPE_DATETIME,