Lines Matching refs:expect
11 ], function(expect, codec, rect, sample, structs) { argument
53 expect(actualMemory).toEqual(expectedMemory);
57 expect(reader.payloadSize).toBe(payloadSize);
58 expect(reader.messageName).toBe(messageName);
62 expect(bar2.alpha).toBe(bar.alpha);
63 expect(bar2.beta).toBe(bar.beta);
64 expect(bar2.gamma).toBe(bar.gamma);
65 expect("extraProperty" in bar2).toBeFalsy();
121 expect(actualMemory).toEqual(expectedMemory);
127 expect(message.handles).toEqual(expectedHandles);
131 expect(reader.payloadSize).toBe(payloadSize);
132 expect(reader.messageName).toBe(messageName);
136 expect(foo2.x).toBe(foo.x);
137 expect(foo2.y).toBe(foo.y);
139 expect(foo2.a).toBe(foo.a & 1 ? true : false);
140 expect(foo2.b).toBe(foo.b & 1 ? true : false);
141 expect(foo2.c).toBe(foo.c & 1 ? true : false);
143 expect(foo2.bar).toEqual(foo.bar);
144 expect(foo2.data).toEqual(foo.data);
146 expect(foo2.extra_bars).toEqual(foo.extra_bars);
147 expect(foo2.name).toBe(foo.name);
148 expect(foo2.source).toEqual(foo.source);
150 expect(foo2.array_of_bools).toEqual(foo.array_of_bools);
174 expect(result.name).toEqual("rectangle");
175 expect(result.rects[0]).toEqual(createRect(1, 2, 3, 4));
176 expect(result.rects[1]).toEqual(createRect(10, 20, 30, 40));
189 expect(reader.payloadSize).toBe(payloadSize);
190 expect(reader.messageName).toBe(messageName);
192 expect(result).toEqual(expectedResult);
233 expect(codec.align(i)).toBe(aligned[i]);
254 expect(actualMemory.length).toEqual(expectedMemory.length);
255 expect(actualMemory).toEqual(expectedMemory);
258 expect(reader.payloadSize).toBe(payloadSize);
259 expect(reader.messageName).toBe(messageName);
261 expect(str2).toEqual(str);
285 expect(function() {