diff --git a/test/support/test-client.js b/test/support/test-client.js index b52835f5..f5d3789c 100644 --- a/test/support/test-client.js +++ b/test/support/test-client.js @@ -33,6 +33,39 @@ module.exports.RESPONSE = { } }; +module.exports.CARTOCSS = { + POINTS: [ + '#layer{', + ' marker-placement: point;', + ' marker-allow-overlap: true;', + ' marker-line-opacity: 0.2;', + ' marker-line-width: 0.5;', + ' marker-opacity: 1;', + ' marker-width: 5;', + ' marker-fill: red;', + '}' + ].join('\n'), + + LINES: [ + '#lines {', + ' line-color: black;', + ' line-width: 1;', + ' line-opacity: 1;', + '}' + ].join('\n'), + + POLYGONS: [ + '#layer {', + ' polygon-fill: red;', + ' polygon-opacity: 0.6;', + ' polygon-opacity: 0.7;', + ' line-color: #FFF;', + ' line-width: 0.5;', + ' line-opacity: 1;', + '}' + ].join('\n') +}; + TestClient.prototype.getWidget = function(widgetName, params, callback) { var self = this;