Remove unused variables in parsers
This commit is contained in:
@@ -298,7 +298,7 @@ describe('ol.parser.gml_v2', function() {
|
||||
it('Test boundedBy', function() {
|
||||
var url = 'spec/ol/parser/ogc/xml/gml_v2/boundedBy.xml';
|
||||
afterLoadXml(url, function(xml) {
|
||||
var obj = parser.read(xml);
|
||||
parser.read(xml);
|
||||
// TODO test bounds on feature
|
||||
// see https://github.com/openlayers/ol3/issues/566
|
||||
});
|
||||
|
||||
@@ -308,8 +308,7 @@ describe('ol.parser.gml_v3', function() {
|
||||
it('Read autoConfig', function() {
|
||||
var url = 'spec/ol/parser/ogc/xml/gml_v3/topp-states-wfs.xml';
|
||||
afterLoadXml(url, function(xml) {
|
||||
var obj = parser.read(xml);
|
||||
var features = obj.features;
|
||||
parser.read(xml);
|
||||
expect(parser.featureType).to.eql('states');
|
||||
expect(parser.featureNS).to.eql('http://www.openplans.org/topp');
|
||||
expect(parser.autoConfig === true).to.be.ok();
|
||||
|
||||
@@ -2,9 +2,6 @@ goog.provide('ol.test.parser.ogc.Versioned');
|
||||
|
||||
describe('ol.parser.ogc.versioned', function() {
|
||||
|
||||
var snippet = '<foo version="2.0.0"></foo>';
|
||||
var snippet2 = '<foo></foo>';
|
||||
|
||||
describe('test constructor', function() {
|
||||
var parser = new ol.parser.ogc.Versioned({version: '1.0.0'});
|
||||
it('new OpenLayers.Format.XML.VersionedOGC returns object', function() {
|
||||
|
||||
Reference in New Issue
Block a user