変数名を揃えた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7151 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-03 20:41:11 +00:00
parent f7a2eb06c5
commit 426d5dca35

View File

@ -18,16 +18,16 @@ function tearDown()
function test_fireStateChangingEvent()
{
var shown = Math.random() + Date.now() + 'expanded';
var state = Math.random() + Date.now() + 'expanded';
var expanded = Math.random() + Date.now() + 'expanded';
var state = Math.random() + Date.now() + 'state';
owner.browser = new Mock('browser');
owner.browser.expect('dispatchEvent', TypeOf(Ci.nsIDOMEvent))
.then(function(aEvent) {
assert.equals(shown, aEvent.shown);
assert.equals(expanded, aEvent.shown);
assert.equals(state, aEvent.state);
});
Mock.expectGet(autoHide, 'expanded', shown);
Mock.expectGet(autoHide, 'expanded', expanded);
Mock.expectGet(autoHide, 'state', state);
autoHide.fireStateChangingEvent();