From ae05ed903bceaf1f7622963e64e21b73b1d6e7cf Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Mon, 1 Dec 2014 19:45:23 -0800 Subject: [PATCH] [Plot] Add skeleton specs Add skeleton specs for remaining plot scripts. WTD-533. --- platform/features/plot/test/GLChartSpec.js | 14 ++++++++++++++ platform/features/plot/test/MCTChartSpec.js | 14 ++++++++++++++ .../features/plot/test/elements/PlotAxisSpec.js | 14 ++++++++++++++ .../plot/test/elements/PlotFormatterSpec.js | 14 ++++++++++++++ .../features/plot/test/elements/PlotPaletteSpec.js | 14 ++++++++++++++ .../plot/test/elements/PlotPanZoomStackSpec.js | 14 ++++++++++++++ .../plot/test/elements/PlotPositionSpec.js | 14 ++++++++++++++ .../plot/test/elements/PlotPreparerSpec.js | 14 ++++++++++++++ .../plot/test/elements/PlotTickGeneratorSpec.js | 14 ++++++++++++++ platform/features/plot/test/suite.json | 11 ++++++++++- 10 files changed, 136 insertions(+), 1 deletion(-) create mode 100644 platform/features/plot/test/GLChartSpec.js create mode 100644 platform/features/plot/test/MCTChartSpec.js create mode 100644 platform/features/plot/test/elements/PlotAxisSpec.js create mode 100644 platform/features/plot/test/elements/PlotFormatterSpec.js create mode 100644 platform/features/plot/test/elements/PlotPaletteSpec.js create mode 100644 platform/features/plot/test/elements/PlotPanZoomStackSpec.js create mode 100644 platform/features/plot/test/elements/PlotPositionSpec.js create mode 100644 platform/features/plot/test/elements/PlotPreparerSpec.js create mode 100644 platform/features/plot/test/elements/PlotTickGeneratorSpec.js diff --git a/platform/features/plot/test/GLChartSpec.js b/platform/features/plot/test/GLChartSpec.js new file mode 100644 index 0000000000..267794aea6 --- /dev/null +++ b/platform/features/plot/test/GLChartSpec.js @@ -0,0 +1,14 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MergeModelsSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../src/GLChart"], + function (GLChart) { + "use strict"; + + describe("A WebGL chart", function () { + }); + } +); \ No newline at end of file diff --git a/platform/features/plot/test/MCTChartSpec.js b/platform/features/plot/test/MCTChartSpec.js new file mode 100644 index 0000000000..d298691d28 --- /dev/null +++ b/platform/features/plot/test/MCTChartSpec.js @@ -0,0 +1,14 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MergeModelsSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../src/MCTChart"], + function (MCTChart) { + "use strict"; + + describe("The mct-chart directive", function () { + }); + } +); \ No newline at end of file diff --git a/platform/features/plot/test/elements/PlotAxisSpec.js b/platform/features/plot/test/elements/PlotAxisSpec.js new file mode 100644 index 0000000000..c778e79e03 --- /dev/null +++ b/platform/features/plot/test/elements/PlotAxisSpec.js @@ -0,0 +1,14 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MergeModelsSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../../src/elements/PlotAxis"], + function (PlotAxis) { + "use strict"; + + describe("A plot axis", function () { + }); + } +); \ No newline at end of file diff --git a/platform/features/plot/test/elements/PlotFormatterSpec.js b/platform/features/plot/test/elements/PlotFormatterSpec.js new file mode 100644 index 0000000000..f5b74917dc --- /dev/null +++ b/platform/features/plot/test/elements/PlotFormatterSpec.js @@ -0,0 +1,14 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MergeModelsSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../../src/elements/PlotFormatter"], + function (PlotFormatter) { + "use strict"; + + describe("The plot formatter", function () { + }); + } +); \ No newline at end of file diff --git a/platform/features/plot/test/elements/PlotPaletteSpec.js b/platform/features/plot/test/elements/PlotPaletteSpec.js new file mode 100644 index 0000000000..6396235102 --- /dev/null +++ b/platform/features/plot/test/elements/PlotPaletteSpec.js @@ -0,0 +1,14 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MergeModelsSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../../src/elements/PlotPalette"], + function (PlotPalette) { + "use strict"; + + describe("The plot palette", function () { + }); + } +); \ No newline at end of file diff --git a/platform/features/plot/test/elements/PlotPanZoomStackSpec.js b/platform/features/plot/test/elements/PlotPanZoomStackSpec.js new file mode 100644 index 0000000000..77b3b1e3cc --- /dev/null +++ b/platform/features/plot/test/elements/PlotPanZoomStackSpec.js @@ -0,0 +1,14 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MergeModelsSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../../src/elements/PlotPanZoomStack"], + function (PlotPanZoomStack) { + "use strict"; + + describe("A plot pan-zoom stack", function () { + }); + } +); \ No newline at end of file diff --git a/platform/features/plot/test/elements/PlotPositionSpec.js b/platform/features/plot/test/elements/PlotPositionSpec.js new file mode 100644 index 0000000000..dbc42c86ef --- /dev/null +++ b/platform/features/plot/test/elements/PlotPositionSpec.js @@ -0,0 +1,14 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MergeModelsSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../../src/elements/PlotPosition"], + function (PlotPosition) { + "use strict"; + + describe("A plot position", function () { + }); + } +); \ No newline at end of file diff --git a/platform/features/plot/test/elements/PlotPreparerSpec.js b/platform/features/plot/test/elements/PlotPreparerSpec.js new file mode 100644 index 0000000000..25832d61ab --- /dev/null +++ b/platform/features/plot/test/elements/PlotPreparerSpec.js @@ -0,0 +1,14 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MergeModelsSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../../src/elements/PlotPreparer"], + function (PlotPreparer) { + "use strict"; + + describe("A plot preparer", function () { + }); + } +); \ No newline at end of file diff --git a/platform/features/plot/test/elements/PlotTickGeneratorSpec.js b/platform/features/plot/test/elements/PlotTickGeneratorSpec.js new file mode 100644 index 0000000000..8edd24613a --- /dev/null +++ b/platform/features/plot/test/elements/PlotTickGeneratorSpec.js @@ -0,0 +1,14 @@ +/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/ + +/** + * MergeModelsSpec. Created by vwoeltje on 11/6/14. + */ +define( + ["../../src/elements/PlotTickGenerator"], + function (PlotTickGenerator) { + "use strict"; + + describe("A plot tick generator", function () { + }); + } +); \ No newline at end of file diff --git a/platform/features/plot/test/suite.json b/platform/features/plot/test/suite.json index fa100f3e4c..712238f559 100644 --- a/platform/features/plot/test/suite.json +++ b/platform/features/plot/test/suite.json @@ -1,4 +1,13 @@ [ - "PlotController" + "GLChart", + "MCTChart", + "PlotController", + "elements/PlotAxis", + "elements/PlotFormatter", + "elements/PlotPalette", + "elements/PlotPanZoomStack", + "elements/PlotPosition", + "elements/PlotPreparer", + "elements/PlotTickGenerator" ]