Bug 198624 Some unknow code in Thumbnail after import a preview image
Description: Some unknow code in Thumbnail after import a preview image Build number: 2.2.1.v20070802-0630 Steps to reproduce: 1, New a report 2, Import preview image(/templates/mailing_labels.gif) in general of Property editor 3, Go to Advanced and check the Thumbnail Expected result: I don't know what the code should be, but must not be the unknown code Actual result: Some unknow code such as BM.....I will attach a screen image to show you.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ElementExporterTest.java
*/
	private void testExportDesignToNewLibraryFile( String inputFile,
			String outputFile ) throws Exception
	{
		openDesign( inputFile, ULocale.ENGLISH );
		String libraryDir = getTempFolder( ) + OUTPUT_FOLDER;
		File file = new File( libraryDir );
		if ( !file.exists( ) )
			file.mkdirs( );
		String libraryFile = libraryDir + outputFile;
		file = new File( libraryFile );
		if ( file.exists( ) )
			file.delete( );
		ElementExportUtil.exportDesign( designHandle, libraryFile, true, true );
	}
	/**
	 * Tests exporting one label with user property.
	 * 
	 * @throws Exception
	 *             if any exception
	 */
	public void testExportingOneLabelWithUserProperty( ) throws Exception
	{
		openDesign( "ElementExporterTest.xml" ); 
		openLibrary( "ElementExporterTestLibrary.xml" ); 
		LabelHandle labelHandle = (LabelHandle) designHandle
				.findElement( "label5" ); 
		ElementExportUtil.exportElement( labelHandle, libraryHandle, false );
		saveLibrary( );
		assertTrue( compareFile( "ElementExporterTestLibrary_golden_11.xml" ) );