Skip to content

Commit

Permalink
Fix misspelling in event dispatcher test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean McBride committed Jan 13, 2011
1 parent 985aa6e commit e0f7ef0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src-test/core/eventdispatchertest.js
Expand Up @@ -7,7 +7,7 @@ EventDispatcherTest.prototype.setUp = function() {
this.fontLoading_ = '';
this.fontActiveEventCalled_ = false;
this.fontActive_ = '';
this.fontInactvieEventCalled_ = false;
this.fontInactiveEventCalled_ = false;
this.fontInactive_ = '';
this.activeEventCalled_ = false;
this.inactiveEventCalled_ = false;
Expand All @@ -34,7 +34,7 @@ EventDispatcherTest.prototype.setUp = function() {
self.fontActive_ = fontFamily + ' ' + fontDescription;
},
fontinactive: function(fontFamily, fontDescription) {
self.fontInactvieEventCalled_ = true;
self.fontInactiveEventCalled_ = true;
self.fontInactive_ = fontFamily + ' ' + fontDescription;
}
}, namespace);
Expand Down Expand Up @@ -82,7 +82,7 @@ EventDispatcherTest.prototype.testEventsOnInactiveFontButActive = function() {
assertTrue(this.fontLoadingEventCalled_);
assertEquals('fontFamilyLoading n4', this.fontLoading_);
this.eventDispatcher_.dispatchFontInactive('fontFamilyInactive', 'n4');
assertTrue(this.fontInactvieEventCalled_);
assertTrue(this.fontInactiveEventCalled_);
assertEquals('fontFamilyInactive n4', this.fontInactive_);
this.eventDispatcher_.dispatchActive();
assertTrue(this.activeEventCalled_);
Expand All @@ -106,7 +106,7 @@ EventDispatcherTest.prototype.testEventsOnInactiveLoad = function() {
assertTrue(this.fontLoadingEventCalled_);
assertEquals('fontFamilyLoading n4', this.fontLoading_);
this.eventDispatcher_.dispatchFontInactive('fontFamilyInactive', 'n4');
assertTrue(this.fontInactvieEventCalled_);
assertTrue(this.fontInactiveEventCalled_);
assertEquals('fontFamilyInactive n4', this.fontInactive_);
this.eventDispatcher_.dispatchInactive();
assertTrue(this.inactiveEventCalled_);
Expand Down

0 comments on commit e0f7ef0

Please sign in to comment.