refactor(test): Remove unnecessary noSuchMethod

Remove trivial implementations in many spy objects which just calls the
parent's `noSuchMethod`.

Closes #6410

Closes #6491
This commit is contained in:
Tim Blasi
2016-01-12 11:36:58 -08:00
committed by Timothy Blasi
parent bd015f14e8
commit e19b31db29
9 changed files with 27 additions and 88 deletions
@@ -60,15 +60,9 @@ main() {
@proxy
class SpyMessageEvent extends SpyObject implements MessageEvent {
SpyMessageEvent() : super(SpyMessageEvent);
noSuchMethod(m) {
return super.noSuchMethod(m);
}
}
@proxy
class SpyWebSocket extends SpyObject implements WebSocket {
SpyWebSocket() : super(SpyWebSocket);
noSuchMethod(m) {
return super.noSuchMethod(m);
}
}