Bug 163018 An error extension will lead the report contain chart can't be opened and can not new a report.
Details: An error extension will lead the report contain chart can't open In org.eclipse.birt.report.tests.model has an error extension. When run the birt use workbenck, the report contain chart can't be opened and it can not new a report.
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/extension/EncryptionHelperExtensionTest.java
* Tests the encryption helper from extension.
	 */
	public void testHelper( )
	{
		IEncryptionHelper helper = MetaDataDictionary.getInstance( )
				.getEncryptionHelper( );
		assertNotNull( helper );
		assertEquals(
				"org.eclipse.birt.report.model.tests.encryptionHelper.EncryptionHelperImpl", 
				helper.getClass( ).getName( ) );
		String testString = "something"; 
		assertEquals( " something ", helper.encrypt( testString ) ); 
		assertEquals( testString, helper.decrypt( helper.encrypt( testString ) ) );
	}
	/**
	 * Tests the encryption helper exists already.
	 */
	public void testExistingHelper( )
	{
		try
		{
			new EncryptionHelperExtensionLoader( ).load( );
			fail( );
		}
		catch ( MetaDataParserException e )
		{
		}
	}
}