From: Robert Konigsberg Date: Fri, 16 Nov 2012 00:25:00 +0000 (-0600) Subject: testDrawHighlightPointCallback won't pass when the tests change because it requires... X-Git-Tag: v1.0.0~168^2~9 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=5b8095ec3b4e4119c06cf511291dfae95cc7cf6f;p=dygraphs.git testDrawHighlightPointCallback won't pass when the tests change because it requires mouse operations. Set it aside for now. --- diff --git a/auto_tests/tests/multiple_axes.js b/auto_tests/tests/multiple_axes.js index 3644e65..7b52c4c 100644 --- a/auto_tests/tests/multiple_axes.js +++ b/auto_tests/tests/multiple_axes.js @@ -330,42 +330,3 @@ MultipleAxesTestCase.prototype.testDrawPointCallback = function() { assertEquals(1, results.y2["Y3"]); assertEquals(1, results.y2["Y4"]); }; - -MultipleAxesTestCase.prototype.testDrawHighlightPointCallback = function() { - var data = MultipleAxesTestCase.getData(); - - var results = { y : {}, y2 : {}}; - var firstCallback = function(g, seriesName) { - results.y[seriesName] = 1; - }; - var secondCallback = function(g, seriesName) { - results.y2[seriesName] = 1; - }; - - g = new Dygraph( - document.getElementById("graph"), - data, - { - labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ], - drawPoints : true, - 'Y3': { - axis: { - } - }, - 'Y4': { - axis: 'Y3' // use the same y-axis as series Y3 - }, - axes: { - y2: { - drawHighlightPointCallback: secondCallback - } - }, - drawHighlightPointCallback: firstCallback - } - ); - - assertEquals(1, results.y["Y1"]); - assertEquals(1, results.y["Y2"]); - assertEquals(1, results.y2["Y3"]); - assertEquals(1, results.y2["Y4"]); -};