jQPlot icon indicating copy to clipboard operation
jQPlot copied to clipboard

Add unit tests

Open svandecappelle opened this issue 9 years ago • 1 comments

svandecappelle avatar Jul 24 '15 11:07 svandecappelle

I think it would be best to define what we'll test. For instance, firstly we should make sure the core file: jqplot.core.js has a good test coverage. The file currently consists of multiple classes; we should create test cases for each class.

jqplot.core.js classes

  • [ ] JqPlot()
  • [ ] Axis()
  • [ ] Legend()
  • [ ] Title()
  • [ ] Series()
  • [ ] Grid()

jqplot.core.js - jQuery - functions

  • [ ] $.fn.emptyForce
  • [ ] $.fn.removeChildForce
  • [ ] $.fn.jqplot

Functions

  • [ ] checkIntersection

The methods of $.jqplot

  • [ ] $.jqplot.arrayMax
  • [ ] $.jqplot.arrayMin
  • [ ] $.jqplot.enablePlugins
  • [ ] $.jqplot.support_canvas
  • [ ] $.jqplot.support_canvas_text
  • [ ] $.jqplot.ElemContainer
  • [ ] $.jqplot.GenericCanvas
  • [ ] $.jqplot.HooksManager
  • [ ] $.jqplot.EventListenerManager
  • [ ] $.jqplot.computeHighlightColors
  • [ ] $.jqplot.ColorGenerator
  • [ ] $.jqplot.hex2rgb
  • [ ] $.jqplot.rgb2hex
  • [ ] $.jqplot.normalize2rgb
  • [ ] $.jqplot.getColorComponents
  • [ ] $.jqplot.isDarkColor
  • [ ] $.jqplot.getColorRGB
  • [ ] $.jqplot.colorKeywordMap

johanbove avatar Aug 07 '15 13:08 johanbove