blob: adb80f9e272a2603162fb9026d54dc71b6f5c067 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
var MockNotificationHelper = {
send: function(title, body, icon, clickCB, closeCB) {
this.mTitle = title;
this.mBody = body;
this.mIcon = icon;
this.mClickCB = clickCB;
this.mCloseCB = closeCB;
},
mTitle: null,
mBody: null,
mIcon: null,
mClickCB: null,
mCloseCB: null,
mTeardown: function teardown() {
this.mTitle = null;
this.mBody = null;
this.mIcon = null;
this.mClickCB = null;
this.mCloseCB = null;
}
};
|