Skip to content

Commit

Permalink
Remove reference to Polymer._toOverride, it seems like an incomplete …
Browse files Browse the repository at this point in the history
…feature/part of the test.
  • Loading branch information
rictic committed Jul 25, 2017
1 parent e03b2cc commit 981a760
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
8 changes: 0 additions & 8 deletions test/unit/behaviors.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@
this.__change = e.detail.value;
},

_toOverride: function() {
},

_computeProp: function(a) {
return a;
}
Expand Down Expand Up @@ -137,8 +134,6 @@
ready: function() {
this.__readyB = true;
},

_toOverride: function() {}
};

Polymer.BehaviorC = {
Expand Down Expand Up @@ -210,8 +205,6 @@
_fooChanged: function(foo) {
this.__foo = foo;
},

_toOverride: Polymer._toOverride
});

Polymer({
Expand Down Expand Up @@ -449,7 +442,6 @@
});

test('multi-behavior overrides ordering', function() {
assert.equal(el._toOverride, Polymer._toOverride, 'Behavior method was not overridden by prototype');
assert(el.overridableProperty, 'Behavior property was not overridden by prototype');
assert(el.overridablePropertyB, 'Behavior config-property was not overridden by sub-behavior');
});
Expand Down
6 changes: 0 additions & 6 deletions test/unit/mixin-behaviors.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,6 @@
this.__change = e.detail.value;
},

_toOverride: function() {
},

_computeProp: function(a) {
return a;
}
Expand Down Expand Up @@ -167,7 +164,6 @@
this.__readyB = true;
},

_toOverride: function() {}
};

Polymer.BehaviorC = {
Expand Down Expand Up @@ -241,7 +237,6 @@

constructor() {
super();
this._toOverride = Polymer._toOverride;
}

_fooChanged(foo) {
Expand Down Expand Up @@ -511,7 +506,6 @@
});

test('multi-behavior overrides ordering', function() {
assert.equal(el._toOverride, Polymer._toOverride, 'Behavior method was not overridden by prototype');
assert(el.overridableProperty, 'Behavior property was not overridden by prototype');
assert(el.overridablePropertyB, 'Behavior config-property was not overridden by sub-behavior');
});
Expand Down

0 comments on commit 981a760

Please sign in to comment.