Remove unused variables in parsers

This commit is contained in:
Tom Payne
2013-05-21 12:47:45 +02:00
parent 42b6ed5d2a
commit 268c18988b
5 changed files with 6 additions and 10 deletions

View File

@@ -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
});

View File

@@ -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();

View File

@@ -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() {