Lines Matching refs:assertFails
49 function assertFails(func) { function
63 assertFails(function() {
69 assertFails(function() {writer.writeUint64(-1, 1);});
74 assertFails(function() {writer.writeInt32(1, -Infinity);});
75 assertFails(function() {writer.writeInt32(1, Infinity);});
77 assertFails(function() {writer.writeInt64(1, -Infinity);});
78 assertFails(function() {writer.writeInt64(1, Infinity);});
80 assertFails(function() {writer.writeUint32(1, -1);});
81 assertFails(function() {writer.writeUint32(1, Infinity);});
83 assertFails(function() {writer.writeUint64(1, -1);});
84 assertFails(function() {writer.writeUint64(1, Infinity);});
86 assertFails(function() {writer.writeSint32(1, -Infinity);});
87 assertFails(function() {writer.writeSint32(1, Infinity);});
89 assertFails(function() {writer.writeSint64(1, -Infinity);});
90 assertFails(function() {writer.writeSint64(1, Infinity);});
92 assertFails(function() {writer.writeFixed32(1, -1);});
93 assertFails(function() {writer.writeFixed32(1, Infinity);});
95 assertFails(function() {writer.writeFixed64(1, -1);});
96 assertFails(function() {writer.writeFixed64(1, Infinity);});
98 assertFails(function() {writer.writeSfixed32(1, -Infinity);});
99 assertFails(function() {writer.writeSfixed32(1, Infinity);});
101 assertFails(function() {writer.writeSfixed64(1, -Infinity);});
102 assertFails(function() {writer.writeSfixed64(1, Infinity);});