Lines Matching refs:calls

28         var calls = {
35 calls.attachEvents += 1;
40 calls.create += 1;
46 Assert.areSame(0, calls.create, 'create() should not be called before the container is retrieved');
47 Assert.areSame(0, calls.attachEvents, 'attachEvents() should not be called before the container is retrieved');
50 Assert.areSame(1, calls.create, 'create() should be called the first time the container is retrieved');
51 Assert.areSame(1, calls.attachEvents, 'attachEvents() should be called the first time the container is retrieved');
54 Assert.areSame(1, calls.create, 'create() should not be called more than once');
55 Assert.areSame(1, calls.attachEvents, 'attachEvents() should not be called more than once');
59 var calls = {
66 calls.attachEvents += 1;
71 calls.create += 1;
85 Assert.areSame(0, calls.create, 'create() should not be called before the container is retrieved');
86 Assert.areSame(0, calls.attachEvents, 'attachEvents() should not be called before the container is retrieved');
89 Assert.areSame(0, calls.create, 'create() should not be called when the container is retrieved');
90 Assert.areSame(1, calls.attachEvents, 'attachEvents() should be called the first time the container is retrieved');
93 Assert.areSame(1, calls.attachEvents, 'attachEvents() should not be called more than once');
97 var calls = {
104 calls.attachEvents += 1;
109 calls.create += 1;
121 Assert.areSame(0, calls.create, 'create() should not be called before the container is retrieved');
122 Assert.areSame(0, calls.attachEvents, 'attachEvents() should not be called before the container is retrieved');
125 Assert.areSame(0, calls.create, 'create() should not be called');
126 Assert.areSame(1, calls.attachEvents, 'attachEvents() should be called the first time the container is retrieved');
129 Assert.areSame(1, calls.attachEvents, 'attachEvents() should not be called more than once');
211 var calls = 0,
218 calls += 1;
234 Assert.areSame(1, calls);