
Fixed tests that will be broken by goog.events refactoring,
which is reversing the role of goog.events and
goog.events.EventTarget. goog.events now delegate to
goog.events.EventTarget.

The fixes are usually variations of the following issues:
1) Use-after-dispose of an event target -- this no longer works.
2) Overly strick mock -- we now may call methods such as listen,
listenOnce, etc. on the event target.
3) Improperly set up mock -- if a mock is passed to e.g.
goog.events.listen before calling $replay, it will
incorrectly sets up expectation for listen() calls (because
goog.events.listen now calls EventTarget#listen).
4) Wrong calls/parameters in the first place. (EventTarget is
slightly stricter than goog.events.)

If you are unsure about what problem I am fixing exactly, feel
free to ping me on the CL thread.

This is part of goog.events leaking listeners clean up effort.

R=loreena
DELTA=1 (1 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6234


git-svn-id: 35241bd708fe29f1f6c7a4322d322e99ff93b95e@2493 0b95b8e8-c90f-11de-9d4f-f947ee5921c8

weitzj/closure-library,weitzj/closure-library