Transformed

This commit is contained in:
Tim Schaub
2017-12-11 16:29:33 -07:00
parent 1cdb6a66f0
commit 7f47883c48
737 changed files with 22216 additions and 21609 deletions

View File

@@ -1,13 +1,11 @@
goog.require('ol.structs.LinkedList');
import _ol_structs_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 _ol_structs_LinkedList_();
});
it('defaults to circular', function() {
@@ -61,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 _ol_structs_LinkedList_(false);
ll.insertItem(item);
ll.insertItem(item2);
ll.insertItem(item3);
@@ -70,7 +68,7 @@ describe('ol.structs.LinkedList', function() {
});
it('empties a list with only one item', function() {
ll = new ol.structs.LinkedList();
ll = new _ol_structs_LinkedList_();
ll.insertItem(item);
ll.removeItem();
expect(ll.length_).to.be(0);
@@ -204,7 +202,7 @@ describe('ol.structs.LinkedList', function() {
var ll2, item3;
beforeEach(function() {
item3 = {};
ll2 = new ol.structs.LinkedList();
ll2 = new _ol_structs_LinkedList_();
ll2.insertItem(item);
ll2.insertItem(item2);
ll2.insertItem(item3);
@@ -244,7 +242,7 @@ describe('ol.structs.LinkedList', function() {
describe('when circular', function() {
beforeEach(function() {
ll = new ol.structs.LinkedList();
ll = new _ol_structs_LinkedList_();
ll.insertItem(item);
});