Skip to content

Commit

Permalink
Merge pull request #141 from redbearsam/test/sunburst-integration
Browse files Browse the repository at this point in the history
Test/sunburst integration
  • Loading branch information
matt-hooper authored Apr 2, 2019
2 parents ba05ffe + f443e75 commit 8b7af78
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
--column_type-string--color: #ff8888;
--psp-text-field--border-color: #22a0ce;
--button-hover--color: #22a0ce;
--d3fc-legend-text: #bbbbbb;
--d3fc-legend--text: #bbbbbb;
--d3fc-axis--ticks: #bbbbbb;
--d3fc-axis--lines: #555555;
--d3fc-tooltip--background: #333333;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/******************************************************************************
*
* Copyright (c) 2017, the Perspective Authors.
*
* This file is part of the Perspective library, distributed under the terms of
* the Apache License 2.0. The full license can be found in the LICENSE file.
*
*/

const path = require("path");

const utils = require("@jpmorganchase/perspective-viewer/test/js/utils.js");
const simple_tests = require("@jpmorganchase/perspective-viewer/test/js/simple_tests.js");

const {withTemplate} = require("./simple-template");
withTemplate("sunburst", "d3_sunburst");

utils.with_server({}, () => {
describe.page(
"sunburst.html",
() => {
simple_tests.default();
},
{reload_page: false, root: path.join(__dirname, "..", "..", "..")}
);
});
15 changes: 14 additions & 1 deletion packages/perspective-viewer-d3fc/test/results/results.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,18 @@
"candlestick.html/filter by a single instrument.": "36d43f5905d6e74cc622ee6d7be44894",
"ohlc.html/filter by a single instrument.": "94d24188a2839ce1bd0b1dec71d20f33",
"ohlc.html/filter to date range.": "3313f803361d232b1180e32b9a5d8c17",
"__GIT_COMMIT__": "2b976ce8bcbcb938207b4462a2e6d9e47df798cb"
"__GIT_COMMIT__": "f1b6fc56a6888ed1cde5049a28c09f5e656108e5",
"sunburst.html/shows a grid without any settings applied.": "322cc928bded452cf3e9156eda5b6bc1",
"sunburst.html/pivots by a row.": "92855908f1a166c5549d69a2ec61de9d",
"sunburst.html/pivots by two rows.": "d37493821e0656e7b669263505067111",
"sunburst.html/pivots by a column.": "e646effbf8160539424d969172eaf3ea",
"sunburst.html/pivots by a row and a column.": "7b459be8078c7663e9f79c3126137d4f",
"sunburst.html/pivots by two rows and two columns.": "6a3c60bca46a30b031fa1b80bebd2c13",
"sunburst.html/sorts by a hidden column.": "3d278235f76780a31dc55538171bb291",
"sunburst.html/sorts by a numeric column.": "13c691031d82971288944bcfc1e012ef",
"sunburst.html/filters by a numeric column.": "c58f9b74ba273715703391b536237675",
"sunburst.html/filters by a datetime column.": "2652910970a04728abaa73771e6fba69",
"sunburst.html/highlights invalid filter.": "afe668c4bc37b683c75cd2c74fc30b4a",
"sunburst.html/sorts by an alpha column.": "3c7c8151509c47d68d073cc6e228848a",
"sunburst.html/displays visible columns.": "be0b92259f73cc5ed768dde48ba061f1"
}

0 comments on commit 8b7af78

Please sign in to comment.