Skip to content

Commit

Permalink
No longer need to convert colours into hex to compare them due to fix…
Browse files Browse the repository at this point in the history
… in 2.26.0
  • Loading branch information
Ardesco committed Nov 3, 2012
1 parent 012c1e9 commit 7286c15
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void validateColumnChart() {
assertThat(chartObject.isLegendDisplayed(), is(equalTo(true)));

chartObject.hoverOverPrimarySeriesAtXAxisLabel("Bananas");
assertThat(chartObject.getPrimarySeriesColourForXAxisLabel("Bananas").asHex(), is(equalTo(Color.fromString("#4572A7").asHex())));
assertThat(chartObject.getPrimarySeriesColourForXAxisLabel("Bananas"), is(equalTo(Color.fromString("#4572A7"))));

assertThat(chartObject.isTooltipDisplayed(), is(equalTo(true)));
assertThat(chartObject.getToolTipLine(1), is(equalTo("Bananas")));
Expand All @@ -62,7 +62,7 @@ public void validateColumnChart() {
assertThat(chartObject.getToolTipLine(4), is(equalTo("0")));

chartObject.hoverOverSecondarySeriesAtXAxisLabel("Bananas");
assertThat(chartObject.getSecondarySeriesColourForXAxisLabel("Bananas").asHex(), is(equalTo(Color.fromString("#AA4643").asHex())));
assertThat(chartObject.getSecondarySeriesColourForXAxisLabel("Bananas"), is(equalTo(Color.fromString("#AA4643"))));

assertThat(chartObject.isTooltipDisplayed(), is(equalTo(true)));
assertThat(chartObject.getToolTipLine(1), is(equalTo("Bananas")));
Expand Down

0 comments on commit 7286c15

Please sign in to comment.