Bug 195961 Toggle Visibility does not work for Marker Line/Range and Chart Area [13]
Description: Toggle Visibility does not work for Marker Line/Range and Chart Area. Build number: 2.2.0.v20070710-1223 Steps to reproduce: 1. New a Chart, in "Format Chart" tab, add interactivity for Chart Area or Marker Line/Range, Event: Mouse Click, Action: Toggle Visibility. 2. Preview, click the Chart Area or Marker Line/Range. Expected result: Interactivity works. Actual result: It does not work. Error log: N/A
chart/org.eclipse.birt.chart.tests/src/org/eclipse/birt/chart/tests/engine/util/TriggerSupportMatrixTest.java
}
		if ( supportSwing )
		{
			return "Swing"; 
		}
		return "&nbsp;"; 
	}
	public void testMatrixDataPointVisibility( )
	{
		
		TriggerSupportMatrix mat = new TriggerSupportMatrix( "svg", false ); 
		assertEquals( false, mat.check( TriggerCondition.ONCLICK_LITERAL,
				ActionType.TOGGLE_DATA_POINT_VISIBILITY_LITERAL ) );
		
		assertEquals( true, matSVG.check( TriggerCondition.ONCLICK_LITERAL,
				ActionType.TOGGLE_DATA_POINT_VISIBILITY_LITERAL ) );
	}
	public void testSupportedActionsDisplayName( )
	{
		String[] actions = matSVG.getSupportedActionsDisplayName( TriggerCondition.ONCLICK_LITERAL );
		assertEquals( 6, actions.length );
		actions = matSwing.getSupportedActionsDisplayName( TriggerCondition.ONCLICK_LITERAL );
		assertEquals( 2, actions.length );
		assertEquals( LiteralHelper.actionTypeSet.getDisplayNameByName( ActionType.URL_REDIRECT_LITERAL.getName( ) ),
				actions[0] );
		assertEquals( LiteralHelper.actionTypeSet.getDisplayNameByName( ActionType.INVOKE_SCRIPT_LITERAL.getName( ) ),
				actions[1] );
	}
}