Rename _ol_structs_LinkedList_ to LinkedList
This commit is contained in:
@@ -5,7 +5,7 @@ import Polygon from '../../../../../src/ol/geom/Polygon.js';
|
||||
import _ol_render_webgl_PolygonReplay_ from '../../../../../src/ol/render/webgl/PolygonReplay.js';
|
||||
import _ol_render_webgl_polygonreplay_defaultshader_ from '../../../../../src/ol/render/webgl/polygonreplay/defaultshader.js';
|
||||
import _ol_render_webgl_polygonreplay_defaultshader_Locations_ from '../../../../../src/ol/render/webgl/polygonreplay/defaultshader/Locations.js';
|
||||
import _ol_structs_LinkedList_ from '../../../../../src/ol/structs/LinkedList.js';
|
||||
import LinkedList from '../../../../../src/ol/structs/LinkedList.js';
|
||||
import RBush from '../../../../../src/ol/structs/RBush.js';
|
||||
import _ol_style_Fill_ from '../../../../../src/ol/style/Fill.js';
|
||||
import _ol_style_Stroke_ from '../../../../../src/ol/style/Stroke.js';
|
||||
@@ -83,7 +83,7 @@ describe('ol.render.webgl.PolygonReplay', function() {
|
||||
describe('triangulating functions', function() {
|
||||
var list, rtree;
|
||||
beforeEach(function() {
|
||||
list = new _ol_structs_LinkedList_();
|
||||
list = new LinkedList();
|
||||
rtree = new RBush();
|
||||
});
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import _ol_structs_LinkedList_ from '../../../../src/ol/structs/LinkedList.js';
|
||||
import LinkedList from '../../../../src/ol/structs/LinkedList.js';
|
||||
|
||||
describe('ol.structs.LinkedList', function() {
|
||||
var ll;
|
||||
var item = {};
|
||||
var item2 = {};
|
||||
beforeEach(function() {
|
||||
ll = new _ol_structs_LinkedList_();
|
||||
ll = new LinkedList();
|
||||
});
|
||||
|
||||
it('defaults to circular', function() {
|
||||
@@ -59,7 +59,7 @@ describe('ol.structs.LinkedList', function() {
|
||||
});
|
||||
|
||||
it('otherwise sets the cursor to the prevous item', function() {
|
||||
ll = new _ol_structs_LinkedList_(false);
|
||||
ll = new LinkedList(false);
|
||||
ll.insertItem(item);
|
||||
ll.insertItem(item2);
|
||||
ll.insertItem(item3);
|
||||
@@ -68,7 +68,7 @@ describe('ol.structs.LinkedList', function() {
|
||||
});
|
||||
|
||||
it('empties a list with only one item', function() {
|
||||
ll = new _ol_structs_LinkedList_();
|
||||
ll = new LinkedList();
|
||||
ll.insertItem(item);
|
||||
ll.removeItem();
|
||||
expect(ll.length_).to.be(0);
|
||||
@@ -202,7 +202,7 @@ describe('ol.structs.LinkedList', function() {
|
||||
var ll2, item3;
|
||||
beforeEach(function() {
|
||||
item3 = {};
|
||||
ll2 = new _ol_structs_LinkedList_();
|
||||
ll2 = new LinkedList();
|
||||
ll2.insertItem(item);
|
||||
ll2.insertItem(item2);
|
||||
ll2.insertItem(item3);
|
||||
@@ -242,7 +242,7 @@ describe('ol.structs.LinkedList', function() {
|
||||
|
||||
describe('when circular', function() {
|
||||
beforeEach(function() {
|
||||
ll = new _ol_structs_LinkedList_();
|
||||
ll = new LinkedList();
|
||||
ll.insertItem(item);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user