Home
last modified time | relevance | path

Searched refs:assertFails (Results 1 – 3 of 3) sorted by relevance

/third_party/protobuf/js/compatibility_tests/v3.1.0/binary/
Dwriter_test.js49 function assertFails(func) { function
64 assertFails(function() {
70 assertFails(function() {writer.writeUint64(-1, 1);});
75 assertFails(function() {writer.writeInt32(1, -Infinity);});
76 assertFails(function() {writer.writeInt32(1, Infinity);});
78 assertFails(function() {writer.writeInt64(1, -Infinity);});
79 assertFails(function() {writer.writeInt64(1, Infinity);});
81 assertFails(function() {writer.writeUint32(1, -1);});
82 assertFails(function() {writer.writeUint32(1, Infinity);});
84 assertFails(function() {writer.writeUint64(1, -1);});
[all …]
/third_party/protobuf/js/compatibility_tests/v3.0.0/binary/
Dwriter_test.js49 function assertFails(func) { function
64 assertFails(function() {
70 assertFails(function() {writer.writeUint64(-1, 1);});
75 assertFails(function() {writer.writeInt32(1, -Infinity);});
76 assertFails(function() {writer.writeInt32(1, Infinity);});
78 assertFails(function() {writer.writeInt64(1, -Infinity);});
79 assertFails(function() {writer.writeInt64(1, Infinity);});
81 assertFails(function() {writer.writeUint32(1, -1);});
82 assertFails(function() {writer.writeUint32(1, Infinity);});
84 assertFails(function() {writer.writeUint64(1, -1);});
[all …]
/third_party/protobuf/js/binary/
Dwriter_test.js52 function assertFails(func) { function
66 assertFails(function() {
72 assertFails(function() {writer.writeUint64(-1, 1);});
77 assertFails(function() {writer.writeInt32(1, -Infinity);});
78 assertFails(function() {writer.writeInt32(1, Infinity);});
80 assertFails(function() {writer.writeInt64(1, -Infinity);});
81 assertFails(function() {writer.writeInt64(1, Infinity);});
83 assertFails(function() {writer.writeUint32(1, -1);});
84 assertFails(function() {writer.writeUint32(1, Infinity);});
86 assertFails(function() {writer.writeUint64(1, -1);});
[all …]