Upgrade legacy symbols in tests

- iD.Context -> iD.coreContext
- iD.Graph -> iD.coreGraph
- iD.Node -> iD.osmNode
- iD.Way -> iD.osmWay
- iD.Relation -> iD.osmRelation
This commit is contained in:
Bryan Housel
2019-01-30 15:43:02 -05:00
parent 7138acc652
commit 71b2d2c6b7
51 changed files with 1642 additions and 1653 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ describe('iD.behaviorHash', function () {
var hash, context;
beforeEach(function () {
context = iD.Context();
context = iD.coreContext();
var container = d3.select(document.createElement('div'));
context.container(container);
container.call(context.map());
+1 -1
View File
@@ -2,7 +2,7 @@ describe('iD.behaviorLasso', function () {
var context, lasso;
beforeEach(function () {
context = iD.Context();
context = iD.coreContext();
d3.select(document.createElement('div'))
.attr('id', 'map')
.call(context.map());
+3 -3
View File
@@ -3,10 +3,10 @@ describe('iD.behaviorSelect', function() {
beforeEach(function() {
container = d3.select('body').append('div');
context = iD.Context().container(container);
context = iD.coreContext().container(container);
a = iD.Node({loc: [0, 0]});
b = iD.Node({loc: [0, 0]});
a = iD.osmNode({loc: [0, 0]});
b = iD.osmNode({loc: [0, 0]});
context.perform(iD.actionAddEntity(a), iD.actionAddEntity(b));