Files
openlayers/test/spec/ol/source/vectorsource.test.js
Tim Schaub 12bee3178e Moving the feature management to the layer
The source will be responsible for fetching vector data.
2013-03-05 12:46:55 +01:00

18 lines
391 B
JavaScript

goog.provide('ol.test.source.Vector');
describe('ol.source.Vector', function() {
describe('constructor', function() {
it('creates an instance', function() {
var source = new ol.source.Vector({});
expect(source).toBeA(ol.source.Vector);
expect(source).toBeA(ol.source.Source);
});
});
});
goog.require('ol.source.Source');
goog.require('ol.source.Vector');