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/util/BaseTestCase.java
if ( os == null )
			return false;
		InputStream streamB = new ByteArrayInputStream( os.toByteArray( ) );
		InputStreamReader readerA = new InputStreamReader( streamA );
		InputStreamReader readerB = new InputStreamReader( streamB );
		return compareFile( readerA, readerB );
	}
	/**
	 * Compares the two text files.
	 * 
	 * @param goldenReader
	 *            the reader for golden file
	 * @param outputReader
	 *            the reader for output file
	 * @return true if two text files are same.
	 * @throws Exception
	 *             if any exception
	 */
	private boolean compareFile( Reader goldenReader, Reader outputReader )
			throws Exception
	{
		StringBuffer errorText = new StringBuffer( );
		BufferedReader lineReaderA = null;
		BufferedReader lineReaderB = null;
		boolean same = true;
		int lineNo = 1;
		try
		{
			lineReaderA = new BufferedReader( goldenReader );
			lineReaderB = new BufferedReader( outputReader );