Tests for Chart class
|
Chart |
Test to check the constructor behaviour with invalid data
|
Chart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
Chart#constructor |
should do nothing
|
- |
Test to check the do function behaviour with invalid data
|
Chart#do |
should return false
|
- |
Test to check the do "Grid Lines" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Tooltip" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Chart size" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Legend" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Interaction" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Rotate axis" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Axis labels" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Axis boundaries" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Data labels" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Line Chart hide points" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the do "Optional Grid Lines" function behaviour with valid data
|
Chart#do |
should generate the expected JSON string
|
- |
Test to check the generateJson function behaviour with valid data
|
Chart#generateJson |
should return default output json
|
- |
Tests for AreaChart class
|
AreaChart |
Test to check the constructor behaviour with invalid data
|
AreaChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
AreaChart#constructor |
should do nothing
|
- |
Test to check the do function behaviour with invalid data
|
AreaChart#do |
should throw an InvalidGrammarError
|
- |
Test to check the do "Area type" function behaviour with valid data
|
AreaChart#do |
should generate the expected JSON string
|
- |
Tests for BarChart class
|
BarChart |
Test to check the constructor behaviour with invalid data
|
BarChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
BarChart#constructor |
should do nothing
|
- |
Test to check the do function behaviour with invalid data
|
BarChart#do |
should throw an InvalidGrammarError
|
- |
Test to check the do "" function behaviour with valid data
|
BarChart#do |
should generate the expected JSON string
|
- |
Tests for DonutChart class
|
DonutChart |
Test to check the constructor behaviour with invalid data
|
DonutChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
DonutChart#constructor |
should do nothing
|
- |
Test to check the do function behaviour with invalid data
|
DonutChart#do |
should throw an InvalidGrammarError
|
- |
Test to check the do "Set title" function behaviour with valid data
|
DonutChart#do |
should generate the expected JSON string
|
- |
Tests for LineChart class
|
LineChart |
Test to check the constructor behaviour with invalid data
|
LineChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
LineChart#constructor |
should do nothing
|
- |
Tests for MultipleXYLineChart class
|
MultipleXYLineChart |
Test to check the constructor behaviour with invalid data
|
MultipleXYLineChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
MultipleXYLineChart#constructor |
should do nothing
|
- |
Test to check the do function behaviour with invalid data
|
MultipleXYLineChart#do |
should throw an InvalidGrammarError
|
- |
Test to check the do "Axis data mapping" function behaviour with valid data
|
MultipleXYLineChart#do |
should generate the expected JSON string
|
- |
Tests for PieChart class
|
PieChart |
Test to check the constructor behaviour with invalid data
|
LineChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
LineChart#constructor |
should do nothing
|
- |
Tests for ScatterPlot class
|
ScatterPlot |
Test to check the constructor behaviour with invalid data
|
ScatterPlot#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
ScatterPlot#constructor |
should do nothing
|
- |
Tests for SimpleXYLineChart class
|
SimpleXYLineChart |
Test to check the constructor behaviour with invalid data
|
SimpleXYLineChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
SimpleXYLineChart#constructor |
should do nothing
|
- |
Test to check the do function behaviour with invalid data
|
AreaChart#do |
should throw an InvalidGrammarError
|
- |
Test to check the do "X axis data label" function behaviour with valid data
|
SimpleXYLineChart#do |
should generate the expected JSON string
|
- |
Tests for SplineChart class
|
SplineChart |
Test to check the constructor behaviour with invalid data
|
SplineChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
SplineChart#constructor |
should do nothing
|
- |
Tests for StackedAreaChart class
|
StackedAreaChart |
Test to check the constructor behaviour with invalid data
|
StackedAreaChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
StackedAreaChart#constructor |
should do nothing
|
- |
Test to check the do function behaviour with invalid data
|
StackedAreaChart#do |
should throw an InvalidGrammarError
|
- |
Test to check the do "" function behaviour with valid data
|
StackedAreaChart#do |
should generate the expected JSON string
|
- |
Tests for StackedBarChart class
|
StackedBarChart |
Test to check the constructor behaviour with invalid data
|
StackedBarChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
StackedBarChart#constructor |
should do nothing
|
- |
Test to check the do function behaviour with invalid data
|
StackedBarChart#do |
should throw an InvalidGrammarError
|
- |
Test to check the do "" function behaviour with valid data
|
StackedBarChart#do |
should generate the expected JSON string
|
- |
Tests for StepChart class
|
StepChart |
Test to check the constructor behaviour with invalid data
|
StepChart#constructor |
should throw an InvalidGrammarError
|
- |
Test to check the constructor behaviour with valid data
|
StepChart#constructor |
should do nothing
|
- |
Test to check the do function behaviour with invalid data
|
StepChart#do |
should throw an InvalidGrammarError
|
- |
Test to check the do "" function behaviour with valid data
|
StepChart#do |
should generate the expected JSON string
|
- |
Tests for InvalidGrammarError class
|
InvalidGrammarError |
Test to check the constructor behaviour with valid data
|
InvalidGrammarError#constructor |
should do nothing
|
- |
Tests for InvalidOperationError class
|
InvalidOperationError |
Test to check the constructor behaviour with valid data
|
InvalidOperationError#constructor |
should do nothing
|
- |